%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/idlelib/ |
Current File : //usr/local/lib/python2.7/idlelib/configHelpSourceEdit.pyc |
ó Pêáac @ 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 d d l m Z e e ƒ n d S( sK Dialog to specify or edit the parameters for a user configured help source.iÿÿÿÿN( t *t GetHelpSourceDialogc B sV e Z d d e d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z d d „ Z RS( t c C sO 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 ƒ | s| j ƒ d | j ƒ d n d f ƒ | j ƒ | j d | j ƒ | j ƒ d S( s2 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. _htest - bool, change box location when running htest t borderwidthi t heightt widtht WM_DELETE_WINDOWs +%d+%di i– 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 filePatht _htest( ( s8 /usr/local/lib/python2.7/idlelib/configHelpSourceEdit.pyR s. 0 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( ( s8 /usr/local/lib/python2.7/idlelib/configHelpSourceEdit.pyR / s<