관리-도구
편집 파일: configHelpSourceEdit.cpython-33.pyc
� ��fE c @ s� d Z d d l Z d d l Z d d l Td d l j Z d d l j Z Gd d � d e � Z e d k r� e � Z d d � Z e e d d d e �j � e j � n d S( uK Dialog to specify or edit the parameters for a user configured help source.i N( u *c B st | Ee Z d Z d d d d � Z d d � Z d d � Z d d � Z d d � Z d d d � Z d d d � Z d S( u GetHelpSourceDialogu c C sC t j | | � | j d d � | j d t d t � | j | � | j | � | j � | j d | j � | | _ d | _ | j � | j j | � | j j | � | j � | j � | j d | j � | j � d | j � d | j � | j � d | j � d f � | j � | j d | j � | j � d S( u� Get menu entry and url/ local file location for Additional Help User selects a name for the Help resource and provides a web url or a local file as its source. The user can enter a url or browse for the file. u borderwidthi u heightu widthu WM_DELETE_WINDOWu +%d+%di u <Return>N( u Toplevelu __init__u configureu resizableu FALSEu titleu transientu grab_setu protocolu Cancelu parentu Noneu resultu CreateWidgetsu menuu setu pathu withdrawu update_idletasksu geometryu winfo_rootxu winfo_widthu winfo_reqwidthu winfo_rootyu winfo_heightu winfo_reqheightu deiconifyu bindu Oku wait_window( u selfu parentu titleu menuItemu filePath( ( uA /opt/alt/python33/lib64/python3.3/idlelib/configHelpSourceEdit.pyu __init__ s, u GetHelpSourceDialog.__init__c C sm t | � | _ t | � | _ t | � | _ t | d d d t �| _ | j j d t d t d t � t | j d t d t d d �} t | j d | j d d �| _ | j j � t | j d t d t d d �} t | j d | j d d �| _ | j j � | j d t d d d d � | j j d t d d d d � | j d t d d d d � | j j d t d d d d � t | j d d d d d | j �} | j d d � t | � } | j d t d t � t | d d d d d t d | j �| _ | j j d d d d d d d d � t | d d d d d | j �| _ | j j d d d d d d d d � d S( Nu borderwidthi u reliefu sideu expandu fillu anchoru justifyu textu Menu Item:u textvariableu widthi u, Help File Path: Enter URL or browse for filei( u padxi u padyi u Browsei u commandu OKu defaultu rowi u columnu Canceli ( u StringVaru menuu pathu fontSizeu Frameu GROOVEu frameMainu packu TOPu TRUEu BOTHu Labelu Wu LEFTu Entryu entryMenuu focus_setu entryPathu Buttonu browseFileu BOTTOMu Xu ACTIVEu Oku buttonOku gridu Cancelu buttonCancel( u selfu labelMenuu labelPathu browseButtonu frameButtons( ( uA /opt/alt/python33/lib64/python3.3/idlelib/configHelpSourceEdit.pyu CreateWidgets, s<