ok
Direktori : /usr/lib64/python2.7/idlelib/ |
Current File : //usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyo |
� `цdc @ s� d Z d d l Z d d l Z d d l Td d l Z d d l Z d e f d � � YZ e d k r� e � Z d � Z e e d d d e �j � e j � n d S( sK Dialog to specify or edit the parameters for a user configured help source.i����N( t *t GetHelpSourceDialogc B sS e Z d d d � Z d � Z d � Z d � Z d � Z d d � Z d d � Z RS( t 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( s� 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. t borderwidthi t heightt widtht WM_DELETE_WINDOWs +%d+%di s <Return>N( t Toplevelt __init__t configuret resizablet FALSEt titlet transientt grab_sett protocolt Cancelt parentt Nonet resultt CreateWidgetst menut sett patht withdrawt update_idletaskst geometryt winfo_rootxt winfo_widtht winfo_reqwidtht winfo_rootyt winfo_heightt winfo_reqheightt deiconifyt bindt Okt wait_window( t selfR R t menuItemt filePath( ( s4 /usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyR s, 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( NR i t relieft sidet expandt fillt anchort justifyt texts Menu Item:t textvariableR i s, Help File Path: Enter URL or browse for filei( t padxi t padyi t Browsei t commandt OKt defaultt rowi t columnR i ( t StringVarR R t fontSizet Framet GROOVEt frameMaint packt TOPt TRUEt BOTHt Labelt Wt LEFTt Entryt entryMenut focus_sett entryPatht Buttont browseFilet BOTTOMt Xt ACTIVER# t buttonOkt gridR t buttonCancel( R% t labelMenut labelPatht browseButtont frameButtons( ( s4 /usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyR , s<