AlkantarClanX12
Current Path : /opt/alt/python33/lib64/python3.3/idlelib/__pycache__/ |
Current File : //opt/alt/python33/lib64/python3.3/idlelib/__pycache__/configSectionNameDialog.cpython-33.pyc |
� ��f� c @ s� d Z d d l Td d l j Z Gd d � d e � Z e d k r� d d l Z e j d d d d d �e � Z d d � Z e e d d �j � e e d d d e �j � e j � n d S( u Dialog that allows user to specify a new config file section name. Used to get new highlight theme and keybinding set names. The 'return value' for the dialog, used two placed in configDialog.py, is the .result attribute set in the Ok and Cancel methods. i ( u *Nc B sV | Ee Z d Z d d � Z d d � Z d d � Z d d d � Z d d d � Z d S( u GetCfgSectionNameDialogc C s5 t j | | � | j d d � | j d t d t � | j | � | j | � | j � | j d | j � | | _ | | _ | | _ | j � | j � | j � | j j d | j j � � | j d | j � | j � d | j � d | j � | j � d | j � d f � | j � | j � d S( u� message - string, informational message to display used_names - string collection, names already in use for validity check u borderwidthi u heightu widthu WM_DELETE_WINDOWu +%d+%di N( u Toplevelu __init__u configureu resizableu FALSEu titleu transientu grab_setu protocolu Cancelu parentu messageu used_namesu create_widgetsu withdrawu update_idletasksu messageInfou configu frameMainu winfo_reqwidthu geometryu winfo_rootxu winfo_widthu winfo_rootyu winfo_heightu winfo_reqheightu deiconifyu wait_window( u selfu parentu titleu messageu used_names( ( uD /opt/alt/python33/lib64/python3.3/idlelib/configSectionNameDialog.pyu __init__ s, $ u GetCfgSectionNameDialog.__init__c C s� t | j � | _ t | j � | _ t | d d d t �| _ | j j d t d t d t � t | j d t d t d d d d d | j �| _ t | j d | j d d �} | j � | j j d d d d � | j d d d d � t | d d �} | j d t � t | d d d d d | j �| _ | j j d t d d � t | d d d d d | j �| _ | j j d t d d � d S( Nu borderwidthi u reliefu sideu expandu fillu anchoru justifyu padxi u padyu textu textvariableu widthi u Oki u commandu Cancel( u StringVaru parentu nameu fontSizeu Frameu SUNKENu frameMainu packu TOPu TRUEu BOTHu Messageu Wu LEFTu messageu messageInfou Entryu focus_setu BOTTOMu Buttonu Oku buttonOku Cancelu buttonCancelu RIGHT( u selfu entryNameu frameButtons( ( uD /opt/alt/python33/lib64/python3.3/idlelib/configSectionNameDialog.pyu create_widgets) s$ u&