nfc@sddlTddlmZmZmZedkr>ednddlZdZdZdZ d Z d Z d Z d Z d ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d!Z"ddlZddl#Z#d"dd#YZ$d$ej%e$fd%YZ%d&dd'YZ&ej'j(e&fej'_(d(ej'fd)YZ)d*e)fd+YZ*d,Z+d-dd.YZ,d/e)fd0YZ-d1e)fd2YZ.d3e)fd4YZ/d5e)fd6YZ0d7e)fd8YZ1d9e)fd:YZ2d;e)fd<YZ3d=e)fd>YZ4d?e)fd@YZ5dAe)fdBYZ6dCe)fdDYZ7dEe)fdFYZ8dGe)fdHYZ9dIe)e:e;fdJYZ<dKe)fdLYZ=dMe)fdNYZ>dOe)fdPYZ?dQe)fdRYZ@dSe)fdTYZAdUe)fdVYZBdWe)fdXYZCdYe)fdZYZDd[e)fd\YZEd]e)fd^YZFd_e)fd`YZGdae)fdbYZHdce)fddYZIdee)fdfYZJdge)fdhYZKdie)fdjYZLdke)fdlYZMdme)fdnYZNdoe)fdpYZOdqe)fdrYZPdse)e:e;fdtYZQdue)fdvYZRdwe)fdxYZSdyeTe*fdzYZUd{eVe*fd|YZWd}eXe*fd~YZYdeZe*fdYZ[de\e*fdYZ]de^e*fdYZ_de`e*fdYZadebe*fdYZcdede*fdYZedefe*fdYZgdeIe*fdYZhde<e*fdYZideHe*fdYZjdeQe*fdYZkde/e*fdYZlde1e*fdYZmde3e*fdYZnde4e*fdYZode7e*fdYZpde/e*fdYZqdePe*fdYZrdeCe*fdYZsdeEe*fdYZtdZudZvde)fdYZwde)e:e;fdYZxdexfdYZydS(i(t*(t_flattent _cnfmerget _default_rootgˡE@s0This version of Tix.py requires Tk 4.0 or higherNtwindowttexttstatust immediatetimaget imagetexttballoontautot acrosstoptasciitcelltcolumnt decreasingt increasingtintegertmaintmaxtrealtrowss-regionsx-regionsy-regioniiiiiit tixCommandcBs_eZdZdZdZd dZd dZdZdZ dZ d dZ RS( sThe tix commands provide access to miscellaneous elements of Tix's internal state and the Tix application context. Most of the information manipulated by these commands pertains to the application as a whole, or to a screen or display, rather than to a particular window. This is a mixin class, assumed to be mixed to Tkinter.Tk that supports the self.tk.call method. cCs|jjdd|S(sTix maintains a list of directories under which the tix_getimage and tix_getbitmap commands will search for image files. The standard bitmap directory is $TIX_LIBRARY/bitmaps. The addbitmapdir command adds directory into this list. By using this command, the image files of an applications can also be located using the tix_getimage or tix_getbitmap command. ttixt addbitmapdir(ttktcall(tselft directory((s"/usr/lib64/python2.7/lib-tk/Tix.pyttix_addbitmapdirYs cCs|jjdd|S(sReturns the current value of the configuration option given by option. Option may be any of the options described in the CONFIGURATION OPTIONS section. Rtcget(RR(Rtoption((s"/usr/lib64/python2.7/lib-tk/Tix.pyttix_cgetescKs|rt||f}n|r0t|}n|dkri}xN|jj|jjddD]+}|ddf|d||ddR$RCRN(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR?stFormcBs_eZdZidZeZdZdZdZdddZd dZ dZ RS( sThe Tix Form geometry manager Widgets can be arranged by specifying attachments to other widgets. See Tix documentation for complete detailscKs)|jjd|j|j||dS(NttixForm(RRt_wR((RR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pytconfigscCstj|i||6dS(N(ROtform(Rtkeytvalue((s"/usr/lib64/python2.7/lib-tk/Tix.pyt __setitem__scCs|jjdd|jS(NRPtcheck(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRWscCs|jjdd|jdS(NRPtforget(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRXsicCs| ro| ro|jjdd|j}|jj|}d}x'|D]}||jj|f}qHW|S|jjdd|j||S(NRPtgrid((RRRQt splitlisttgetint(RtxsizetysizeR+tytz((s"/usr/lib64/python2.7/lib-tk/Tix.pyRYs cCsX|s|jjdd|jS|ddkr<d|}n|jjdd|j|S(NRPtinfoiR#(RRRQ(RR ((s"/usr/lib64/python2.7/lib-tk/Tix.pyR`s  cCs1t|j|jj|jjdd|jS(NRPtslaves(tmapt _nametowidgetRRZRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRas   N( R<R=R>RRRSRVRWRXRYR$R`Ra(((s"/usr/lib64/python2.7/lib-tk/Tix.pyROs     t TixWidgetcBs}eZdZd d d iidZdZdZdZdZdZ dZ dZ id d Z d Z RS( sQA TixWidget class is used to package all (or most) Tix widgets. Widget initialization is extended in two ways: 1) It is possible to give a list of options which must be part of the creation command (so called Tix 'static' options). These cannot be given as a 'config' command later. 2) It is possible to give the name of an existing TK widget. These are child widgets created automatically by a Tix mega-widget. The Tk call to create these widgets is therefore bypassed in TixWidget.__init__ Both options are for use by subclasses only. c Cs|rt||f}n t|}d}|rC|jdn dg}xE|jD]6\}}||krZ|d||f}||=qZqZW||_tj||||r|jj||j|n|rtj ||ni|_ dS(NtoptionsR#(( Rtappendtitemst widgetNametWidgett_setupRRRQRRtsubwidget_list( RtmasterRhtstatic_optionsR)R*textratktv((s"/usr/lib64/python2.7/lib-tk/Tix.pyRC%s$    cCs'||jkr|j|St|dS(N(RktAttributeError(RR1((s"/usr/lib64/python2.7/lib-tk/Tix.pyt __getattr__Rs cCs|jjd|j|dS(s1Set a variable without calling its action routinet tixSetSilentN(RRRQ(RRU((s"/usr/lib64/python2.7/lib-tk/Tix.pyt set_silentWscCsT|j|}|s0td|d|jn|t|jd}|j|S(sSReturn the named subwidget (which must have been created by the sub-class).s Subwidget s not child of i(t_subwidget_nametTclErrort_nametlenRQRc(RR1tn((s"/usr/lib64/python2.7/lib-tk/Tix.pyt subwidget[s cCsl|j}|sgSg}xI|D]A}|t|jd}y|j|j|Wq#q#Xq#W|S(sReturn all subwidgets.i(t_subwidget_namesRxRQRfRc(RtnamestretlistR1((s"/usr/lib64/python2.7/lib-tk/Tix.pytsubwidgets_alles  cCs6y|jj|jd|SWntk r1dSXdS(s7Get a subwidget name (returns a String, not a Widget !)RzN(RRRQRvR$(RR1((s"/usr/lib64/python2.7/lib-tk/Tix.pyRuts cCsHy/|jj|jdd}|jj|SWntk rCdSXdS(s"Return the name of all subwidgets.t subwidgetss-allN(RRRQR%RvR$(RR+((s"/usr/lib64/python2.7/lib-tk/Tix.pyR{{s  cCs|dkrdSt|ts.t|}nt|tsLt|}n|j}x+|D]#}|jj|dd||q_WdS(s8Set configuration options for all subwidgets (and self).RLNR"R#(R&R'treprR{RR(RR RUR|R1((s"/usr/lib64/python2.7/lib-tk/Tix.pyt config_alls   cKs|s$tj}|s$tdq$n|rE|rEt||f}n|rT|}nd}xO|jD]A\}}t|dr|j|}n|d||f}qgW|jjdd|f|S(NsToo early to create imaget__call__R#Rtcreate(( RBRt RuntimeErrorRRgthasattrt _registerRR(RtimgtypeR)RlR*ReRoRp((s"/usr/lib64/python2.7/lib-tk/Tix.pyt image_creates   cCs2y|jjdd|Wntk r-nXdS(NRtdelete(RRRv(Rtimgname((s"/usr/lib64/python2.7/lib-tk/Tix.pyt image_deletes N(R<R=R>R$RCRrRtRzR~RuR{RRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRds ,       t TixSubWidgetcBs&eZdZdddZdZRS(sSubwidget class. This is used to mirror child widgets automatically created by Tix/Tk as part of a mega-widget in Python (which is not informed of this)ic CsE|rR|j|}y*|t|jd}|jd}WqRg}qRXn|s{tj||ddi|d6n|}xtt|dD]i}dj||d } y|j | } | }Wqt k rt |||dddd}qXqW|r|d}ntj||ddi|d6||_ dS(Nit.R1tdestroy_physicallyitcheck_intermediatei( RuRxRQR%RdRCR$trangetjoinRctKeyErrorRR( RRlR1RRtpathtplisttparenttiRytw((s"/usr/lib64/python2.7/lib-tk/Tix.pyRCs. #    cCsx!|jjD]}|jqW|j|jjkrL|jj|j=n|j|jjkrt|jj|j=n|jr|jjd|j ndS(NRN( tchildrentvaluesRNRwRlRkRRRRQ(Rtc((s"/usr/lib64/python2.7/lib-tk/Tix.pyRNs (R<R=R>RCRN(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs@i}x3|D]+}|ddf|d||ddRCRR(RRVRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs    tBallooncBs2eZdZdidZidZdZRS(sBalloon help widget. Subwidget Class --------- ----- label Label message MessagecKsmdddddg}tj||d|||t|ddd |jdR$RCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs t ButtonBoxcBs2eZdZdidZidZdZRS(sgButtonBox - A container for pushbuttons. Subwidgets are the buttons added with the add method. cKs&tj||dddg||dS(Nt tixButtonBoxt orientationRe(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRC2scKsD|jj|jd||j||}t|||j|<|S(s$Add a button with given name to box.tadd(RRRQR(t _dummyButtonRk(RR1R)R*tbtn((s"/usr/lib64/python2.7/lib-tk/Tix.pyR6s*cCs/||jkr+|jj|jd|ndS(Ntinvoke(RkRRRQ(RR1((s"/usr/lib64/python2.7/lib-tk/Tix.pyR=sN(R<R=R>R$RCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR.s tComboBoxcBsAeZdZdidZdZdZdZdZRS(sComboBox - an Entry field with a dropdown menu. The user can select a choice by either typing in the entry subwidget or selecting from the listbox subwidget. Subwidget Class --------- ----- entry Entry arrow Button slistbox ScrolledListBox tick Button cross Button : present if created with the fancy optioncKstj||dddddg||t|d|jdR$RCRRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRAs     tControlcBsAeZdZdidZdZdZdZdZRS(sControl - An entry field with value change arrows. The user can adjust the value by pressing the two arrow buttons or by entering the value directly into the entry. The new value will be checked against the user-defined upper and lower limits. Subwidget Class --------- ----- incr Button decr Button entry Entry label LabelcKs{tj||ddg||t|d|jdR$RCRRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRms     tDirListcBs#eZdZidZdZRS(sRDirList - displays a list view of a directory, its previous directories and its sub-directories. The user can choose one of the directories displayed in the list or change to another directory. Subwidget Class --------- ----- hlist HList hsb Scrollbar vsb ScrollbarcKsetj||ddg||t|d|jdRCR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs  tDirTreecBs#eZdZidZdZRS(sDirTree - Directory Listing in a hierarchical view. Displays a tree view of a directory, its previous directories and its sub-directories. The user can choose one of the directories displayed in the list or change to another directory. Subwidget Class --------- ----- hlist HList hsb Scrollbar vsb ScrollbarcKsetj||ddg||t|d|jdRCR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs  t DirSelectBoxcBseZdZidZRS(sDirSelectBox - Motif style file select box. It is generally used for the user to choose a file. FileSelectBox stores the files mostly recently selected into a ComboBox widget so that they can be quickly selected again. Subwidget Class --------- ----- selection ComboBox filter ComboBox dirlist ScrolledListBox filelist ScrolledListBoxcKsOtj||ddg||t|d|jdRC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs tExFileSelectBoxcBs,eZdZidZdZdZRS(sExFileSelectBox - MS Windows style file select box. It provides an convenient method for the user to select files. Subwidget Class --------- ----- cancel Button ok Button hidden Checkbutton types ComboBox dir ComboBox file ComboBox dirlist ScrolledListBox filelist ScrolledListBoxcKstj||ddg||t|d|jdRCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs  tDirSelectDialogcBs,eZdZidZdZdZRS(s#The DirSelectDialog widget presents the directories in the file system in a dialog window. The user can use this dialog window to navigate through the file system to select the desired directory. Subwidgets Class ---------- ----- dirbox DirSelectDialogcKs9tj||ddg||t|d|jdRCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs  tExFileSelectDialogcBs,eZdZidZdZdZRS(sExFileSelectDialog - MS Windows style file select dialog. It provides an convenient method for the user to select files. Subwidgets Class ---------- ----- fsbox ExFileSelectBoxcKs9tj||ddg||t|d|jdRCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs  t FileSelectBoxcBs,eZdZidZdZdZRS(sExFileSelectBox - Motif style file select box. It is generally used for the user to choose a file. FileSelectBox stores the files mostly recently selected into a ComboBox widget so that they can be quickly selected again. Subwidget Class --------- ----- selection ComboBox filter ComboBox dirlist ScrolledListBox filelist ScrolledListBoxcKs{tj||ddg||t|d|jdRCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs   tFileSelectDialogcBs,eZdZidZdZdZRS(sFileSelectDialog - Motif style file select dialog. Subwidgets Class ---------- ----- btns StdButtonBox fsbox FileSelectBoxcKsOtj||ddg||t|d|jdRCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR6s  t FileEntrycBs,eZdZidZdZdZRS(s_FileEntry - Entry field with button that invokes a FileSelectDialog. The user can type in the filename manually. Alternatively, the user can press the button widget that sits next to the entry, which will bring up a file selection dialog. Subwidgets Class ---------- ----- button Button entry EntrycKsRtj||dddg||t|d|jdRCRR (((s"/usr/lib64/python2.7/lib-tk/Tix.pyRKs   tHListcBseZdZd6idZidZd6idZdZdZdd6d6dZ dZ d Z d Z d Z d Zd ZdZdZidZidZdZdZdZdZdZidZidZdZdZdZdZdZdZ d6dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+id*Z,id+Z-d,Z.d-Z/d.Z0id/Z1d0Z2d1Z3id2Z4d3Z5d6d4Z6d5Z7RS(7sHList - Hierarchy display widget can be used to display any data that have a hierarchical structure, for example, file system directory trees. The list entries are indented and connected by branch lines according to their places in the hierarchy. Subwidgets - NonecKs&tj||dddg||dS(NttixHListtcolumnsRe(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRClscKs(|jj|jd||j||S(NR(RRRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRpscKs7|sd}n|jj|jd||j||S(NRLtaddchild(RRRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyt add_childss  cCs |jj|jdd|dS(Ntanchortset(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt anchor_setyscCs|jj|jdddS(NRtclear(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt anchor_clear|sicCsK|s%|jj|jdd||S|jj|jdd|d|SdS(NRtwidths-char(RRRQ(RtcolRtchars((s"/usr/lib64/python2.7/lib-tk/Tix.pyt column_widthscCs|jj|jdddS(NRtall(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt delete_allscCs |jj|jdd|dS(NRR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt delete_entryscCs |jj|jdd|dS(NRt offsprings(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytdelete_offspringsscCs |jj|jdd|dS(NRtsiblings(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytdelete_siblingsscCs |jj|jdd|dS(NtdragsiteR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt dragsite_setscCs|jj|jdddS(NR!R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pytdragsite_clearscCs |jj|jdd|dS(NtdropsiteR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt dropsite_setscCs|jj|jdddS(NR$R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pytdropsite_clearscKs/|jj|jdd||j||dS(NtheaderR(RRRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyt header_createscKsi|dkr:t|jj|jj|jdd|S|jj|jdd||j||dS(NR'R"(R$RRR%RRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pytheader_configures   "cCs|jj|jdd||S(NR'R(RRRQ(RRtopt((s"/usr/lib64/python2.7/lib-tk/Tix.pyt header_cgetscCs|jj|jdd|S(NR'texists(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt header_existsscCs |jj|jdd|dS(NR'R(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt header_deletescCs|jj|jdd|S(NR'tsize(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt header_sizescCs |jj|jdd|dS(NthideR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt hide_entryscKs/|jj|jdd||j||dS(Nt indicatorR(RRRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pytindicator_creates cKsi|dkr:t|jj|jj|jdd|S|jj|jdd||j||dS(NR3R"(R$RRR%RRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pytindicator_configures   " cCs|jj|jdd||S(NR3R(RRRQ(RRR*((s"/usr/lib64/python2.7/lib-tk/Tix.pytindicator_cgetscCs|jj|jdd|S(NR3R,(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytindicator_existsscCs |jj|jdd|dS(NR3R(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytindicator_deletescCs|jj|jdd|S(NR3R/(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytindicator_sizescCs|jj|jddS(NR`R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_anchorscCs+|j|jj|jdd|p*dS(NR`tbbox(t_getintsRRRQR$(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_bboxscCs.|jj|jdd|}|jj|S(NR`R(RRRQRZ(RRR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_childrenscCs|jj|jdd|S(NR`tdata(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_datascCs|jj|jddS(NR`R!(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_dragsitescCs|jj|jddS(NR`R$(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_dropsitescCs|jj|jdd|S(NR`R,(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_existsscCs|jj|jdd|S(NR`R(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_hiddenscCs|jj|jdd|S(NR`tnext(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_nextscCs|jj|jdd|S(NR`R(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_parentscCs|jj|jdd|S(NR`tprev(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_prevscCs+|jj|jdd}|jj|S(NR`R(RRRQRZ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytinfo_selectionscCs"|jj|jdd|||S(NtitemR(RRRQ(RRRR*((s"/usr/lib64/python2.7/lib-tk/Tix.pyt item_cgetsc Kso|dkr=t|jj|jj|jdd||S|jj|jdd|||j||dS(NRKR"(R$RRR%RRQR((RRRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pytitem_configures   %c Ks2|jj|jdd|||j||dS(NRKR(RRRQR((RRRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyt item_creates cCs|jj|jdd||S(NRKR,(RRRQ(RRR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt item_existsscCs#|jj|jdd||dS(NRKR(RRRQ(RRR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt item_delete scCs|jj|jd||S(Nt entrycget(RRRQ(RRR*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRQ scKsc|dkr7t|jj|jj|jd|S|jj|jd||j||dS(Ntentryconfigure(R$RRR%RRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRRs   cCs|jj|jd|S(Ntnearest(RRRQ(RR^((s"/usr/lib64/python2.7/lib-tk/Tix.pyRSscCs|jj|jd|dS(Ntsee(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyRTscKs,|jj|jdd|j||dS(NRR(RRRQR((RR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pytselection_clearscCs|jj|jdd|S(NRtincludes(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytselection_includes scCs#|jj|jdd||dS(NRR(RRRQ(Rtfirsttlast((s"/usr/lib64/python2.7/lib-tk/Tix.pyt selection_set#scCs|jj|jdd|S(NtshowR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt show_entry&sN(8R<R=R>R$RCRRRRRRRRR R"R#R%R&R(R)R+R-R.R0R2R4R5R6R7R8R9R:R=R>R@RARBRCRDRFRGRIRJRLRMRNRORPRQRRRSRTRURWRZR\(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR dsj                                                t InputOnlycBseZdZdidZRS(s?InputOnly - Invisible widget. Unix only. Subwidgets - NonecKs tj||dd||dS(Nt tixInputOnly(RdRCR$(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRC.sN(R<R=R>R$RC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR])st LabelEntrycBseZdZdidZRS(sLabelEntry - Entry field with label. Packages an entry widget and a label into one mega widget. It can beused be used to simplify the creation of ``entry-form'' type of interface. Subwidgets Class ---------- ----- label Label entry EntrycKsRtj||dddg||t|d|jdR$RC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR_1st LabelFramecBseZdZdidZRS(seLabelFrame - Labelled Frame container. Packages a frame widget and a label into one mega widget. To create widgets inside a LabelFrame widget, one creates the new widgets relative to the frame subwidget and manage them inside the frame subwidget. Subwidgets Class ---------- ----- label Label frame FramecKsRtj||dddg||t|d|jdR$RC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRbAs t ListNoteBookcBsAeZdZidZidZdZdZdZRS(sA ListNoteBook widget is very similar to the TixNoteBook widget: it can be used to display many windows in a limited space using a notebook metaphor. The notebook is divided into a stack of pages (windows). At one time only one of these pages can be shown. The user can navigate through these pages by choosing the name of the desired page in the hlist subwidget.cKsktj||ddg||t|ddd|jdRCRRlRmRp(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRfSs     tMetercBseZdZdidZRS(suThe Meter widget can be used to show the progress of a background job which may take a long time to execute. cKs#tj||ddg||dS(NttixMeterRe(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRC{sN(R<R=R>R$RC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRqvstNoteBookcBsVeZdZdidZidZdZdZdZdZ dZ RS( sNoteBook - Multi-page container widget (tabbed notebook metaphor). Subwidgets Class ---------- ----- nbframe NoteBookFrame page widgets added dynamically with the add methodcKs?tj||ddg||t|ddd|jdR$RCRRRlRmRpRv(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRss     t NoteBookFramecBseZRS((R<R=(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRwst OptionMenucBsMeZdZidZidZidZdZdZdZRS(sOptionMenu - creates a menu button of options. Subwidget Class --------- ----- menubutton Menubutton menu MenucKsRtj||dddg||t|d|jdRCRRRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRxs     t PanedWindowcBsVeZdZidZidZdZdZdZidZdZ RS(sPanedWindow - Multi-pane container widget allows the user to interactively manipulate the sizes of several panes. The panes can be arranged either vertically or horizontally.The user changes the sizes of the panes by dragging the resize handle between two panes. Subwidgets Class ---------- ----- g/p widgets added dynamically with the add method.cKs&tj||dddg||dS(NttixPanedWindowRRe(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRCscKsO|jj|jd||j||t||dd|j|<|j|S(NRRi(RRRQR(RRk(RR1R)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs( cCs8|jj|jd||j|j|j|=dS(NR(RRRQRkRN(RR1((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs|jj|jd|dS(NRX(RRRQ(RR1((s"/usr/lib64/python2.7/lib-tk/Tix.pyRXscCs|jj|jd||S(Ntpanecget(RRRQ(RRR*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscKsc|dkr7t|jj|jj|jd|S|jj|jd||j||dS(Nt paneconfigure(R$RRR%RRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs   cCsD|jj|jj|jd}g|D]}|j|^q+S(Ntpanes(RRZRRQRz(RR|R+((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs$( R<R=R>RCRRRXRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs       t PopupMenucBs5eZdZidZdZdZdZRS(sPopupMenu widget can be used as a replacement of the tk_popup command. The advantage of the Tix PopupMenu widget is it requires less application code to manipulate. Subwidgets Class ---------- ----- menubutton Menubutton menu MenucKsOtj||ddg||t|d|jdRCRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs     t ResizeHandlecBs>eZdZidZdZdZdZdZRS(s;Internal widget to draw resize handles on Scrolled widgets.c KsAddddddddd g }tj||d |||dS( NReR~tcursorfgtcursorbgt handlesizet hintcolort hintwidthR+R^ttixResizeHandle(RdRC(RRlR)R*tflags((s"/usr/lib64/python2.7/lib-tk/Tix.pyRCs    cCs |jj|jd|jdS(Nt attachwidget(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt attach_widgetscCs |jj|jd|jdS(Nt detachwidget(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt detach_widgetscCs |jj|jd|jdS(NR1(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyR1scCs |jj|jd|jdS(NR[(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyR["s(R<R=R>RCRRR1R[(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR s    t ScrolledHListcBseZdZidZRS(s0ScrolledHList - HList with automatic scrollbars.cKsetj||ddg||t|d|jdRC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR%stScrolledListBoxcBseZdZidZRS(s4ScrolledListBox - Listbox with automatic scrollbars.cKsetj||ddg||t|d|jdRC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR0st ScrolledTextcBseZdZidZRS(s.ScrolledText - Text with automatic scrollbars.cKsetj||ddg||t|d|jds(R<R=R>RC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyR:st ScrolledTListcBseZdZidZRS(s0ScrolledTList - TList with automatic scrollbars.cKsetj||ddg||t|d|jdRC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRDstScrolledWindowcBseZdZidZRS(s2ScrolledWindow - Window with automatic scrollbars.cKsetj||ddg||t|d|jdRC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyROstSelectcBs/eZdZidZidZdZRS(sSelect - Container of button subwidgets. It can be used to provide radio-box or check-box style of selection options for the user. Subwidgets are buttons added dynamically using the add method.c KsEtj||ddddddg||t|d|jdRCRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRYs  tShellcBseZdZdidZRS(s'Toplevel window. Subwidgets - NonecKs&tj||dddg||dS(NttixShellRettitle(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRCtsN(R<R=R>R$RC(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRost DialogShellcBs8eZdZdidZdZdZdZRS(sToplevel window, with popup popdown and center methods. It tells the window manager that it is a dialog window and should be treated specially. The exact treatment depends on the treatment of the window manager. Subwidgets - Nonec Ks5tj||ddddddddg||dS( NttixDialogShellReRtmappedt minheighttminwidthRt transient(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRCs   cCs|jj|jddS(NR(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs|jj|jddS(NR(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs|jj|jddS(Ntcenter(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRsN(R<R=R>R$RCRRR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRws   t StdButtonBoxcBs&eZdZdidZdZRS(s@StdButtonBox - Standard Button Box (OK, Apply, Cancel and Help) cKs~tj||dddg||t|d|jdR$RCR(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRstTListcBseZdZdidZdZdZdZdZddZ dZ dZ d Z d Z id Zd Zd ZdZdZdZdZdZdZdZdZidZdZddZRS(sTList - Hierarchy display widget which can be used to display data in a tabular format. The list entries of a TList widget are similar to the entries in the Tk listbox widget. The main differences are (1) the TList widget can display the list entries in a two dimensional format and (2) you can use graphical images as well as multiple colors and fonts for the list entries. Subwidgets - NonecKs#tj||ddg||dS(NttixTListRe(RdRC(RRlR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRCscCs |jj|jdd|dS(NtactiveR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt active_setscCs|jj|jdddS(NRR(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt active_clearscCs |jj|jdd|dS(NRR(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs|jj|jdddS(NRR(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs |jj|jd||dS(NR(RRRQ(Rtfrom_tto((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs |jj|jdd|dS(NR!R(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyR"scCs|jj|jdddS(NR!R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyR#scCs |jj|jdd|dS(NR$R(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyR%scCs|jj|jdddS(NR$R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyR&scKs,|jj|jd||j||dS(NR(RRRQR((RRR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRscCs|jj|jddS(NR`R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_activescCs|jj|jddS(NR`R(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyR:scCs|jj|jdd|S(NR`tdown(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_downscCs|jj|jdd|S(NR`tleft(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_leftscCs|jj|jdd|S(NR`tright(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_rightscCs+|jj|jdd}|jj|S(NR`R(RRRQRZ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyRJscCs|jj|jddS(NR`R/(RRRQ(R((s"/usr/lib64/python2.7/lib-tk/Tix.pyt info_sizescCs|jj|jdd|S(NR`tup(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pytinfo_upscCs|jj|jd||S(NRS(RRRQ(RR+R^((s"/usr/lib64/python2.7/lib-tk/Tix.pyRSscCs|jj|jd|dS(NRT(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyRTscKs,|jj|jdd|j||dS(NRR(RRRQR((RR)R*((s"/usr/lib64/python2.7/lib-tk/Tix.pyRUscCs|jj|jdd|S(NRRV(RRRQ(RR((s"/usr/lib64/python2.7/lib-tk/Tix.pyRWscCs#|jj|jdd||dS(NRR(RRRQ(RRXRY((s"/usr/lib64/python2.7/lib-tk/Tix.pyRZsN(R<R=R>R$RCRRRRRR"R#R%R&RRR:RRRRJRRRSRTRURWRZ(((s"/usr/lib64/python2.7/lib-tk/Tix.pyRs2                      tTreecBsMeZdZdidZdZdZdZdZddZ RS( sTree - The tixTree widget can be used to display hierarchical data in a tree form. The user can adjust the view of the tree by opening or closing parts of the tree.cKsetj||ddg||t|d|jd