§ \�dè,ãóÞ—ddlZddlZddlZddlTddlmZejded¬¦«dZdZd Zd Z d Z d Z d Z dZ dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd Z dZ!Gd!„d"¦«Z"Gd#„d$ej#e"¦«Z#Gd%„d&¦«Z$ej%j&e$fzej%_&Gd'„d(ej%¦«Z'Gd)„d*e'¦«Z(Gd+„d,¦«Z)Gd-„d.e'¦«Z*Gd/„d0e'¦«Z+Gd1„d2e'¦«Z,Gd3„d4e'¦«Z-Gd5„d6e'¦«Z.Gd7„d8e'¦«Z/Gd9„d:e'¦«Z0Gd;„de'¦«Z2Gd?„d@e'¦«Z3GdA„dBe'¦«Z4GdC„dDe'¦«Z5GdE„dFe'¦«Z6GdG„dHe'e7e8¦«Z9GdI„dJe'¦«Z:GdK„dLe'¦«Z;GdM„dNe'¦«Z<GdO„dPe'¦«Z=GdQ„dRe'¦«Z>GdS„dTe'¦«Z?GdU„dVe'¦«Z@GdW„dXe'¦«ZAGdY„dZe'¦«ZBGd[„d\e'¦«ZCGd]„d^e'¦«ZDGd_„d`e'¦«ZEGda„dbe'¦«ZFGdc„dde'¦«ZGGde„dfe'¦«ZHGdg„dhe'¦«ZIGdi„dje'¦«ZJGdk„dle'¦«ZKGdm„dne'¦«ZLGdo„dpe'¦«ZMGdq„dre'e7e8¦«ZNGds„dte'¦«ZOGdu„dve'¦«ZPGdw„dxeQe(¦«ZRGdy„dzeSe(¦«ZTGd{„d|eUe(¦«ZVGd}„d~eWe(¦«ZXGd„d€eYe(¦«ZZGd�„d‚e[e(¦«Z\Gdƒ„d„e]e(¦«Z^Gd…„d†e_e(¦«Z`Gd‡„dˆeae(¦«ZbGd‰„dŠece(¦«ZdGd‹„dŒeFe(¦«ZeGd�„dŽe9e(¦«ZfGd�„d�eEe(¦«ZgGd‘„d’eNe(¦«ZhGd“„d”e,e(¦«ZiGd•„d–e.e(¦«ZjGd—„d˜e0e(¦«ZkGd™„dše1e(¦«ZlGd›„dœe4e(¦«ZmGd�„dže,e(¦«ZnGdŸ„d eMe(¦«ZoGd¡„d¢e@e(¦«ZpGd£„d¤eBe(¦«Zqd¥„Zrd¦„ZsGd§„d¨e'¦«ZtGd©„dªe'e7e8¦«ZuGd«„d¬eu¦«ZvdS)­éN)Ú*)Ú _cnfmergeznThe Tix Tk extension is unmaintained, and the tkinter.tix wrapper module is deprecated in favor of tkinter.ttké)Ú stacklevelÚwindowÚtextÚstatusÚ immediateÚimageÚ imagetextÚballoonÚautoÚ acrosstopÚasciiÚcellÚcolumnÚ decreasingÚ increasingÚintegerÚmainÚmaxÚrealÚrowzs-regionzx-regionzy-regionéééé cóH—eZdZdZd„Zd„Zd d„Zd d„Zd„Zd„Z d „Z d d „Z dS) Ú tixCommanda”The 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. có:—|j dd|¦«S)a¯Tix 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. ÚtixÚ addbitmapdir©ÚtkÚcall)ÚselfÚ directorys ú..\python\lib\tkinter\tix.pyÚtix_addbitmapdirztixCommand.tix_addbitmapdirYs€ðŒw�|Š|˜E >°9Ñ=Ô=Ð=ócó:—|j dd|¦«S)z·Returns the current value of the configuration option given by option. Option may be any of the options described in the CONFIGURATION OPTIONS section. r!Úcgetr#©r&Úoptions r(Útix_cgetztixCommand.tix_cgetes€ð Œw�|Š|˜E 6¨6Ñ2Ô2Ð2r*Nc ó:—|rt||f¦«}n|rt|¦«}|€| dd¦«St|t¦«r| ddd|z¦«S|j d| |¦«z¦«S)a‘Query or modify the configuration options of the Tix application context. If no option is specified, returns a dictionary all of the available options. If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given option(s) to have the given value(s); in this case the command returns an empty string. Option may be any of the configuration options. Nr!Ú configureú-)r!r1)rÚ _getconfigureÚ isinstanceÚstrÚ_getconfigure1r$r%Ú_options©r&ÚcnfÚkws r(Ú tix_configureztixCommand.tix_configurels¢€ð ð !ݘS "˜IÑ&Ô&ˆCˆCØ ð !ݘC‘.”.ˆCØ ˆ;Ø×%Ò% e¨[Ñ9Ô9Ð 9Ý �c�3Ñ Ô ð DØ×&Ò& u¨k¸3¸s¹7ÑCÔCÐ CØŒw�|Š|Ð0°4·=²=ÀÑ3EÔ3EÑEÑFÔFÐFr*cót—|�|j dd|¦«S|j dd¦«S)añReturns the file selection dialog that may be shared among different calls from this application. This command will create a file selection dialog widget when it is called the first time. This dialog will be returned by all subsequent calls to tix_filedialog. An optional dlgclass parameter can be passed to specified what type of file selection dialog widget is desired. Possible options are tix FileSelectDialog or tixExFileSelectDialog. Nr!Ú filedialogr#)r&Údlgclasss r(Útix_filedialogztixCommand.tix_filedialog‚s8€ð Ð Ø”7—<’<  |°XÑ>Ô>Ð >à”7—<’<  |Ñ4Ô4Ð 4r*có:—|j dd|¦«S)aâLocates a bitmap file of the name name.xpm or name in one of the bitmap directories (see the tix_addbitmapdir command above). By using tix_getbitmap, you can avoid hard coding the pathnames of the bitmap files in your application. When successful, it returns the complete pathname of the bitmap file, prefixed with the character '@'. The returned value can be used to configure the -bitmap option of the TK and Tix widgets. r!Ú getbitmapr#©r&Únames r(Ú tix_getbitmapztixCommand.tix_getbitmap�s€ðŒw�|Š|˜E ;°Ñ5Ô5Ð5r*có:—|j dd|¦«S)aÅLocates an image file of the name name.xpm, name.xbm or name.ppm in one of the bitmap directories (see the addbitmapdir command above). If more than one file with the same name (but different extensions) exist, then the image type is chosen according to the depth of the X display: xbm images are chosen on monochrome displays and color images are chosen on color displays. By using tix_ getimage, you can avoid hard coding the pathnames of the image files in your application. When successful, this command returns the name of the newly created image, which can be used to configure the -image option of the Tk and Tix widgets. r!Úgetimager#rBs r(Ú tix_getimageztixCommand.tix_getimage›s€ðŒw�|Š|˜E :¨tÑ4Ô4Ð4r*có<—|j ddd|¦«S)a@Gets the options maintained by the Tix scheme mechanism. Available options include: active_bg active_fg bg bold_font dark1_bg dark1_fg dark2_bg dark2_fg disabled_fg fg fixed_font font inactive_bg inactive_fg input1_bg input2_bg italic_font light1_bg light1_fg light2_bg light2_fg menu_font output1_bg output2_bg select_bg select_fg selector r!r.Úgetr#rBs r(Útix_option_getztixCommand.tix_option_get©s€ðŒw�|Š|˜E 8¨U°DÑ9Ô9Ð9r*có|—|�|j dd|||¦«S|j dd||¦«S)aÉResets the scheme and fontset of the Tix application to newScheme and newFontSet, respectively. This affects only those widgets created after this call. Therefore, it is best to call the resetoptions command before the creation of any widgets in a Tix application. The optional parameter newScmPrio can be given to reset the priority level of the Tk options set by the Tix schemes. Because of the way Tk handles the X option database, after Tix has been has imported and inited, it is not possible to reset the color schemes and font sets using the tix config command. Instead, the tix_resetoptions command must be used. Nr!Ú resetoptionsr#)r&Ú newSchemeÚ newFontSetÚ newScmPrios r(Útix_resetoptionsztixCommand.tix_resetoptionsºs@€ð Ð !Ø”7—<’<  ~°yÀ*ÈjÑYÔYÐ Yà”7—<’<  ~°yÀ*ÑMÔMÐ Mr*©N) Ú__name__Ú __module__Ú __qualname__Ú__doc__r)r/r;r?rDrGrJrP©r*r(rrNs¯€€€€€ððð >ð >ð >ð3ð3ð3ðGðGðGðGð, 5ð 5ð 5ð 5ð 6ð 6ð 6ð 5ð 5ð 5ð:ð:ð:ð"NðNðNðNðNðNr*rcó —eZdZdZdd„Zd„ZdS)ÚTkz{Toplevel widget of Tix which represents mostly the main window of an application. It has an associated Tcl interpreter.NÚTixcóh—tj ||||¦«tj d¦«}|j d¦«|�:|j d|z¦«|j d|z¦«|j d¦«dS)NÚ TIX_LIBRARYzzForm.slaves.. s3ø€ð7ð7ð7¨!�×"Ò" 1Ñ%Ô%ð7ð7ð7r*roÚslaves©r$r€r%rqrjs`r(r�z Form.slaves s\ø€ð7ð7ð7ð7Ø”×!Ò!Ø”w—|’|Ø  (¨D¬Gñ5ô5ñ6ô6ð7ñ7ô7ð 7r*)rrrQ) rRrSrTrUrrrtrxrzr}rrˆr�rVr*r(rmrmås®€€€€€ð2ð2ð ðBðBðBðBð €Dð&ð&ð&ð9ð9ð9ð3ð3ð3ðFðFðFðFð@ð@ð@ð@ð7ð7ð7ð7ð7r*rmcó`—eZdZdZdddiifd„Zd„Zd„Zd„Zd„Zd„Z d „Z d „Z idfd „Z d „Z dS) Ú TixWidgetaQA 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. Ncó®—|rt||f¦«}nt|¦«}d}|r| d¦«ndg}t| ¦«¦«D]\}}||vr |d|z|fz}||=Œ||_| ||¦«|r|jj||jg|¢RŽ|rt  ||¦«i|_ dS)NrVÚoptionsr2) rÚappendÚlistÚitemsÚ widgetNameÚ_setupr$r%rqÚWidgetrrÚsubwidget_list) r&Úmasterr˜Ústatic_optionsr9r:ÚextraÚkÚvs r(r]zTixWidget.__init__!s€ð ð !ݘS "˜IÑ&Ô&ˆCˆCå˜C‘.”.ˆCðˆð ð )Ø × !Ò ! )Ñ ,Ô ,Ð ,Ð ,à'˜[ˆN嘟 š ™ œ Ñ$Ô$ð ð ‰CˆAˆaØ�NÐ"Ð"Ø  q¡¨!  Ñ,�ؘ�Føà$ˆŒØ � Š �F˜CÑ Ô Ð ð ð 6Ø ˆDŒGŒL˜ T¤WÐ 5¨uÐ 5Ð 5Ð 5Ð 5ð ð %Ý �MŠM˜$ Ñ $Ô $Ð $ð !ˆÔÐÐr*cóL—||jvr |j|St|¦«‚rQ)r›ÚAttributeErrorrBs r(Ú __getattr__zTixWidget.__getattr__Ns,€Ø �4Ô&Ð &Ð &ØÔ& tÔ,Ð ,ݘTÑ"Ô"Ð"r*cóH—|j d|j|¦«dS)z1Set a variable without calling its action routineÚ tixSetSilentNr{)r&rws r(Ú set_silentzTixWidget.set_silentSs"€à Œ� Š �^ T¤W¨eÑ4Ô4Ð4Ð4Ð4r*cóÒ—| |¦«}|std|zdz|jz¦«‚|t|j¦«dzd…}| |¦«S)zSReturn the named subwidget (which must have been created by the sub-class).z Subwidget z not child of éN)Ú_subwidget_nameÚTclErrorÚ_nameÚlenrqr‹)r&rCÚns r(Ú subwidgetzTixWidget.subwidgetWsn€ð × Ò  Ñ &Ô &ˆØð Pݘ<¨$Ñ.Ð1AÑAÀDÄJÑNÑOÔOÐ Oà �c�$”'‰lŒl˜1‰nˆoˆoÔ ˆØ×!Ò! !Ñ$Ô$Ð$r*cóâ—| ¦«}|sgSg}|D]Q}|t|j¦«dzd…} | | |¦«¦«ŒK#YŒOxYw|S)zReturn all subwidgets.r¨N)Ú_subwidget_namesr¬rqr•r‹)r&ÚnamesÚretlistrCs r(Úsubwidgets_allzTixWidget.subwidgets_allas‰€à×%Ò%Ñ'Ô'ˆØð ؈I؈Øð ð ˆDØ�˜DœG™ œ  Q™˜˜Ô(ˆDð Ø—’˜t×1Ò1°$Ñ7Ô7Ñ8Ô8Ð8Ð8øð à�øøøØˆs ¿(A(Á(A,cóh— |j |jd|¦«S#t$rYdSwxYw)z7Get a subwidget name (returns a String, not a Widget !)r®N)r$r%rqrªrBs r(r©zTixWidget._subwidget_namepsC€ð Ø”7—<’< ¤¨°dÑ;Ô;Ð ;øÝð ð ð Ø�4�4ð øøøs ‚ #£ 1°1cóœ— |j |jdd¦«}|j |¦«S#t$rYdSwxYw)z"Return the name of all subwidgets.Ú subwidgetsz-allN)r$r%rqr€rª)r&r„s r(r°zTixWidget._subwidget_nameswsX€ð Ø”— ’ ˜TœW l°FÑ;Ô;ˆAØ”7×$Ò$ QÑ'Ô'Ð 'øÝð ð ð Ø�4�4ð øøøs‚:=½ A Á A có—|dkrdSt|t¦«st|¦«}t|t¦«st|¦«}| ¦«}|D]"}|j |dd|z|¦«Œ#dS)z8Set configuration options for all subwidgets (and self).rgNr1r2)r4r5Úreprr°r$r%)r&r.rwr±rCs r(Ú config_allzTixWidget.config_alls™€à �RŠ<ˆ<Ø ˆFݘF¥CÑ(Ô(ð "ݘ&‘\”\ˆFݘ%¥Ñ%Ô%ð ݘ‘K”KˆEØ×%Ò%Ñ'Ô'ˆØð Að AˆDØ ŒG�LŠL˜˜{¨C°&©L¸%Ñ @Ô @Ð @Ð @ð Að Ar*c ó—|€|}|r|rt||f¦«}n|r|}d}| ¦«D]3\}}t|¦«r| |¦«}|d|z|fz}Œ4|j dd|f|z¦«S)NrVr2r Úcreate)rr—ÚcallableÚ _registerr$r%)r&Úimgtyper9rœr:r”rŸr s r(Ú image_createzTixWidget.image_create‹sª€Ø ˆ>؈FØ ð �#ð �Y¨¨R yÑ1Ô1�s�sØ Ð�r�؈ؗI’I‘K”Kð +ð +‰DˆAˆqݘ‰{Œ{ð &Ø—N’N 1Ñ%Ô%�Ø  Q¡¨  Ñ*ˆGˆGØŒy�~Š~˜w¨°'Ð;¸gÑEÑFÔFÐFr*cób— |j dd|¦«dS#t$rYdSwxYw)Nr Údelete)r$r%rª)r&Úimgnames r(Ú image_deletezTixWidget.image_delete–sG€ð Ø ŒG�LŠL˜ (¨GÑ 4Ô 4Ð 4Ð 4Ð 4øÝð ð ð à ˆDˆDð øøøs ‚   .­.)rRrSrTrUr]r£r¦r®r³r©r°r¹r¿rÃrVr*r(r’r’sÛ€€€€€ð ð ð $°Ø#¨°ð&!ð&!ð&!ð&!ðZ#ð#ð#ð 5ð5ð5ð%ð%ð%ð ð ð ððððððð Að Að Að)+°4ð Gð Gð Gð Gðððððr*r’có"—eZdZdZ dd„Zd„ZdS)Ú TixSubWidgetz¥Subwidget 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)r¨cód—|rT| |¦«} |t|j¦«dzd…}| d¦«}n #g}YnxYw|s!t ||ddd|i¦«n¯|}t t|¦«dz ¦«D]c}d |d|dz…¦«} | | ¦«} | }Œ;#t$rt|||dd¬¦«}YŒ`wxYw|r|d}t ||ddd|i¦«||_ dS)Nr¨ú.rCr)Údestroy_physicallyÚcheck_intermediateéÿÿÿÿ) r©r¬rqÚsplitr’r]ÚrangeÚjoinr‹ÚKeyErrorrÅrÈ) r&rœrCrÈrÉÚpathÚplistÚparentÚir­Úws r(r]zTixSubWidget.__init__§s~€à ð Ø×)Ò)¨$Ñ/Ô/ˆDð Ø�C ¤ ™NœN¨1Ñ,Ð-Ð-Ô.�ØŸ š  3™œ��øð Ø���øøøà!ð Jå × Ò ˜t V¨T°4¸&À4¸Ñ IÔ IÐ IÐ IðˆFÝ�3˜u™:œ:¨™>Ñ*Ô*ð @ð @�Ø—H’H˜U 4 A a¡C 4œ[Ñ)Ô)�ð@Ø×,Ò,¨QÑ/Ô/�AØ�F�FøÝð@ð@ð@å)¨&°%¸´(Ø=>Ø=>ð@ñ@ô@�F�F�Fð@øøøð ð !ؘR”y�Ý × Ò ˜t V¨T°4¸&À4¸Ñ IÔ IÐ IØ"4ˆÔÐÐs™4AÁAÂ>CÃ#C<Ã;C<cóf—t|j ¦«¦«D]}| ¦«Œ|j|jjvr|jj|j=|j|jjvr|jj|j=|jr"|j  d|j ¦«dSdS)Nri) r–ÚchildrenÚvaluesrir«rœr›rÈr$r%rq©r&Úcs r(rizTixSubWidget.destroyÇs¨€õ �d”m×*Ò*Ñ,Ô,Ñ-Ô-Ð:Ð:ˆA¨q¯yªy©{¬{¨{¨{Ø Œ:˜œÔ-Ð -Ð -Ø” Ô$ T¤ZÐ0Ø Œ:˜œÔ3Ð 3Ð 3Ø” Ô*¨4¬:Ð6Ø Ô "ð -à ŒG�LŠL˜ D¤GÑ ,Ô ,Ð ,Ð ,Ð ,ð -ð -r*N)r¨r¨rkrVr*r(rÅrÅ sG€€€€€ððð9:ð5ð5ð5ð5ð@ -ð -ð -ð -ð -r*rÅcóJ—eZdZdZifddœd„Zd„Zd„Zd„Zd„Zifd „Z d „Z dS) Ú DisplayStylezRDisplayStyle - handle configuration options shared by (multiple) Display ItemsN)rœc óØ—|€.d|vr |d}n!d|vr |d}ntjd¦«}|j|_|jjd|g| ||¦«¢RŽ|_dS)NÚ refwindowzcreate display styleÚtixDisplayStyle)r\Ú_get_default_rootr$r%r7Ú stylename)r&Úitemtyper9rœr:s r(r]zDisplayStyle.__init__Üs‰€Ø ˆ>ؘbРРؘKœ��Ø Ð#Ð#ؘ[Ô)��å Ô2Ð3IÑJÔJ�Ø”)ˆŒØ%˜œœÐ&7¸ð5Ø!Ÿ]š]¨3¨rÑ2Ô2ð5ð5ð5ˆŒˆˆr*có—|jSrQ)rßrjs r(Ú__str__zDisplayStyle.__str__ès €ØŒ~Ðr*có†—|r|rt||f¦«}n|r|}d}| ¦«D]\}}|d|z|fz}Œ|S)NrVr2)rr—)r&r9r:ÚoptsrŸr s r(r7zDisplayStyle._optionsësj€Ø ð �#ð ݘS "˜IÑ&Ô&ˆCˆCØ ð ØˆC؈ؗI’I‘K”Kð %ð %‰DˆAˆqؘ3˜q™5 !˜*Ñ$ˆDˆD؈ r*cóF—|j |jd¦«dS©NrÁ©r$r%rßrjs r(rÁzDisplayStyle.deleteõs €Ø Œ� Š �T”^ XÑ.Ô.Ð.Ð.Ð.r*cóP—|j |jdd|z|¦«dS)Nr1ú-%srçrus r(rxzDisplayStyle.__setitem__øs(€Ø Œ� Š �T”^ [°%¸±)¸UÑCÔCÐCÐCÐCr*c óR—|j|jdg| ||¦«¢RŽS)Nr1)r3rßr7r8s r(rrzDisplayStyle.configûs@€Ø!ˆtÔ!Ø ŒN˜KðAØ*.¯-ª-¸¸BÑ*?Ô*?ðAðAðAð Ar*cóJ—|j |jdd|z¦«S)Nr,rérç)r&rvs r(Ú __getitem__zDisplayStyle.__getitem__ÿs €ØŒw�|Š|˜DœN¨F°E¸#±IÑ>Ô>Ð>r*) rRrSrTrUr]râr7rÁrxrrrìrVr*r(rÚrÚØs®€€€€€ð ð ð&(ð 5°4ð 5ð 5ð 5ð 5ð 5ððððððð/ð/ð/ðDðDðDððAðAðAðAð?ð?ð?ð?ð?r*rÚcó.—eZdZdZdifd„Zifd„Zd„ZdS)ÚBalloonzBalloon help widget. Subwidget Class --------- ----- label Label message MessageNc ó´—gd¢}t ||d|||¦«t|dd¬¦«|jd<t|dd¬¦«|jd<dS)N)r”ÚinstallcolormapÚinitwaitÚ statusbarÚcursorÚ tixBalloonÚlabelr©rÈÚmessage©r’r]Ú _dummyLabelr›©r&rœr9r:Ústatics r(r]zBalloon.__init__sƒ€ðððˆå×Ò˜4 ¨°v¸sÀBÑGÔGÐGÝ'2°4¸ØFGð(Iñ(Iô(IˆÔ˜GÑ$å)4°T¸9ØHIð*Kñ*Kô*KˆÔ˜IÑ&Ð&Ð&r*c ól—|jj|jd|jg| ||¦«¢RŽdS)zkBind balloon widget to another. One balloon widget may be bound to several widgets at the same timeÚbindNrp)r&Úwidgetr9r:s r(Ú bind_widgetzBalloon.bind_widgets<€ð ˆŒŒ �T”W˜f f¤iÐI°$·-²-ÀÀRÑ2HÔ2HÐIÐIÐIÐIÐIÐIr*cóR—|j |jd|j¦«dS©NÚunbindr{©r&rþs r(Ú unbind_widgetzBalloon.unbind_widgetó$€Ø Œ� Š �T”W˜h¨¬ Ñ2Ô2Ð2Ð2Ð2r*)rRrSrTrUr]rÿrrVr*r(rîrîsi€€€€€ððð#¨ðKðKðKðKð')ðJðJðJðJð 3ð3ð3ð3ð3r*rîcó.—eZdZdZdifd„Zifd„Zd„ZdS)Ú ButtonBoxzgButtonBox - A container for pushbuttons. Subwidgets are the buttons added with the add method. Nc óH—t ||dddg||¦«dS)NÚ tixButtonBoxÚ orientationr”©r’r]©r&rœr9r:s r(r]zButtonBox.__init__&s;€Ý×Ò˜4 ¨Ø)¨9Ð5°s¸Bñ @ô @ð @ð @ð @r*c ó’—|jj|jd|g| ||¦«¢RŽ}t ||¦«|j|<|S)z$Add a button with given name to box.Úadd©r$r%rqr7Ú _dummyButtonr›)r&rCr9r:Úbtns r(rz ButtonBox.add*sO€ðˆdŒgŒl˜4œ7 E¨4ÐI°$·-²-ÀÀRÑ2HÔ2HÐIÐIÐIˆÝ$0°°tÑ$<Ô$<ˆÔ˜DÑ!؈ r*có^—||jvr#|j |jd|¦«dSdS©NÚinvoke©r›r$r%rqrBs r(rzButtonBox.invoke1ó8€Ø �4Ô&Ð &Ð &Ø ŒG�LŠL˜œ (¨DÑ 1Ô 1Ð 1Ð 1Ð 1ð 'Ð &r*©rRrSrTrUr]rrrVr*r(rr"se€€€€€ððð#¨ð@ð@ð@ð@ðððððð2ð2ð2ð2ð2r*rcó6—eZdZdZdifd„Zd„Zd„Zd„Zd„ZdS)ÚComboBoxa€ComboBox - 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 optionNc óŒ—t ||dgd¢||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<t |d¦«|jd< t |d¦«|jd<t |d¦«|jd<dS#t$rYdSwxYw) NÚ tixComboBox)ÚeditableÚdropdownÚfancyr”rõÚentryÚarrowÚslistboxÚtickÚcross)r’r]rùr›Ú _dummyEntryrÚ_dummyScrolledListBoxÚ TypeErrorr s r(r]zComboBox.__init__Csî€Ý×Ò˜4 ¨ØGÐGÐGØ ñ $ô $ð $õ(3°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý'3°D¸'Ñ'BÔ'BˆÔ˜GÑ$Ý*?ÀØ@Jñ+Lô+LˆÔ˜JÑ'ð Ý*6°t¸VÑ*DÔ*DˆDÔ  Ñ 'Ý+7¸¸gÑ+FÔ+FˆDÔ  Ñ (Ð (Ð (øÝð ð ð à ˆDˆDð øøøsÂ0B5Â5 CÃCcóH—|j |jd|¦«dS)NÚ addhistoryr{©r&r5s r(Ú add_historyzComboBox.add_historyUs"€Ø Œ� Š �T”W˜l¨CÑ0Ô0Ð0Ð0Ð0r*cóH—|j |jd|¦«dS)NÚ appendhistoryr{r)s r(Úappend_historyzComboBox.append_historyXs"€Ø Œ� Š �T”W˜o¨sÑ3Ô3Ð3Ð3Ð3r*cóJ—|j |jd||¦«dS©NÚinsertr{)r&Úindexr5s r(r0zComboBox.insert[s$€Ø Œ� Š �T”W˜h¨¨sÑ3Ô3Ð3Ð3Ð3r*cóH—|j |jd|¦«dS)NÚpickr{©r&r1s r(r3z ComboBox.pick^s"€Ø Œ� Š �T”W˜f eÑ,Ô,Ð,Ð,Ð,r*) rRrSrTrUr]r*r-r0r3rVr*r(rr5sw€€€€€ð Eð Eð $¨ððððð$1ð1ð1ð4ð4ð4ð4ð4ð4ð-ð-ð-ð-ð-r*rcó6—eZdZdZdifd„Zd„Zd„Zd„Zd„ZdS)ÚControla�Control - 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 LabelNc ó—t ||ddg||¦«t|d¦«|jd<t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚ tixControlr”ÚincrÚdecrrõr)r’r]rr›rùr$r s r(r]zControl.__init__os„€Ý×Ò˜4 ¨¸ °{ÀCÈÑLÔLÐLÝ&2°4¸Ñ&@Ô&@ˆÔ˜FÑ#Ý&2°4¸Ñ&@Ô&@ˆÔ˜FÑ#Ý'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ð$Ð$r*cóF—|j |jd¦«dS)Nr:r{rjs r(Ú decrementzControl.decrementvó €Ø Œ� Š �T”W˜fÑ%Ô%Ð%Ð%Ð%r*cóF—|j |jd¦«dS)Nr9r{rjs r(Ú incrementzControl.incrementyr=r*cóF—|j |jd¦«dSrr{rjs r(rzControl.invoke|ó €Ø Œ� Š �T”W˜hÑ'Ô'Ð'Ð'Ð'r*cóF—|j |jd¦«dS)NÚupdater{rjs r(rCzControl.updaterAr*) rRrSrTrUr]r<r?rrCrVr*r(r6r6asy€€€€€ð ð ð $¨ðBðBðBðBð&ð&ð&ð&ð&ð&ð(ð(ð(ð(ð(ð(ð(ð(r*r6có"—eZdZdZifd„Zd„ZdS)ÚDirListaRDirList - 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 Scrollbarc óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚ tixDirListr”ÚhlistÚvsbÚhsb©r’r]Ú _dummyHListr›Ú_dummyScrollbarr s r(r]zDirList.__init__Žóm€Ý×Ò˜4 ¨¸ °{ÀCÈÑLÔLÐLÝ'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*cóH—|j |jd|¦«dS©NÚchdirr{©r&Údirs r(rQz DirList.chdir”ó"€Ø Œ� Š �T”W˜g sÑ+Ô+Ð+Ð+Ð+r*N©rRrSrTrUr]rQrVr*r(rErE‚sJ€€€€€ð"ð"ð$&ðBðBðBðBð ,ð,ð,ð,ð,r*rEcó"—eZdZdZifd„Zd„ZdS)ÚDirTreea‚DirTree - 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 Scrollbarc óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚ tixDirTreer”rHrIrJrKr s r(r]zDirTree.__init__¤rNr*cóH—|j |jd|¦«dSrPr{rRs r(rQz DirTree.chdirªrTr*NrUrVr*r(rWrW—sJ€€€€€ð !ð !ð$&ðBðBðBðBð ,ð,ð,ð,ð,r*rWcó—eZdZdZifd„ZdS)Ú DirSelectBoxa¡DirSelectBox - 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 ScrolledListBoxc ó¦—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚtixDirSelectBoxr”ÚdirlistÚdircbx)r’r]Ú _dummyDirListr›Ú_dummyFileComboBoxr s r(r]zDirSelectBox.__init__»sW€Ý×Ò˜4 Ð):¸Y¸KÈÈbÑQÔQÐQÝ)6°t¸YÑ)GÔ)GˆÔ˜IÑ&Ý(:¸4ÀÑ(JÔ(JˆÔ˜HÑ%Ð%Ð%r*N©rRrSrTrUr]rVr*r(r\r\­s=€€€€€ð 'ð 'ð$&ðKðKðKðKðKðKr*r\có(—eZdZdZifd„Zd„Zd„ZdS)ÚExFileSelectBoxaŽExFileSelectBox - MS Windows style file select box. It provides a 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 ScrolledListBoxc óÆ—t ||ddg||¦«t|d¦«|jd<t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<t |d¦«|jd<t |d¦«|jd<t |d ¦«|jd <t|d ¦«|jd <dS) NÚtixExFileSelectBoxr”ÚcancelÚokÚhiddenÚtypesrSr_ÚfileÚfilelist)r’r]rr›Ú_dummyCheckbuttonÚ_dummyComboBoxrar%r s r(r]zExFileSelectBox.__init__Ïsâ€Ý×Ò˜4 Ð)=À ¸{ÈCÐQSÑTÔTÐTÝ(4°T¸8Ñ(DÔ(DˆÔ˜HÑ%Ý$0°°tÑ$<Ô$<ˆÔ˜DÑ!Ý(9¸$ÀÑ(IÔ(IˆÔ˜HÑ%Ý'5°d¸GÑ'DÔ'DˆÔ˜GÑ$Ý%3°D¸%Ñ%@Ô%@ˆÔ˜EÑ"Ý)6°t¸YÑ)GÔ)GˆÔ˜IÑ&Ý&4°T¸6Ñ&BÔ&BˆÔ˜FÑ#Ý*?ÀÀjÑ*QÔ*QˆÔ˜JÑ'Ð'Ð'r*cóF—|j |jd¦«dS©NÚfilterr{rjs r(rrzExFileSelectBox.filterÚrAr*cóF—|j |jd¦«dSrr{rjs r(rzExFileSelectBox.invokeÝrAr*N)rRrSrTrUr]rrrrVr*r(rereÀsY€€€€€ð &ð &ð$&ð Rð Rð Rð Rð(ð(ð(ð(ð(ð(ð(ð(r*recó(—eZdZdZifd„Zd„Zd„ZdS)ÚDirSelectDialoga#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 DirSelectDialogc óv—t ||ddg||¦«t|d¦«|jd<dS)NÚtixDirSelectDialogr”Údirbox)r’r]Ú_dummyDirSelectBoxr›r s r(r]zDirSelectDialog.__init__ìsG€Ý×Ò˜4 Ð)=Ø%˜;¨¨Rñ 1ô 1ð 1å(:¸4ÀÑ(JÔ(JˆÔ˜HÑ%Ð%Ð%r*cóF—|j |jd¦«dS©NÚpopupr{rjs r(r|zDirSelectDialog.popupòó €Ø Œ� Š �T”W˜gÑ&Ô&Ð&Ð&Ð&r*cóF—|j |jd¦«dS©NÚpopdownr{rjs r(r€zDirSelectDialog.popdownõó €Ø Œ� Š �T”W˜iÑ(Ô(Ð(Ð(Ð(r*N©rRrSrTrUr]r|r€rVr*r(ruruâsY€€€€€ð$ð$ð$&ðKðKðKðKð 'ð'ð'ð)ð)ð)ð)ð)r*rucó(—eZdZdZifd„Zd„Zd„ZdS)ÚExFileSelectDialogzÒExFileSelectDialog - MS Windows style file select dialog. It provides a convenient method for the user to select files. Subwidgets Class ---------- ----- fsbox ExFileSelectBoxc óv—t ||ddg||¦«t|d¦«|jd<dS)NÚtixExFileSelectDialogr”Úfsbox)r’r]Ú_dummyExFileSelectBoxr›r s r(r]zExFileSelectDialog.__init__sG€Ý×Ò˜4 Ð)@Ø%˜;¨¨Rñ 1ô 1ð 1å'<¸TÀ7Ñ'KÔ'KˆÔ˜GÑ$Ð$Ð$r*cóF—|j |jd¦«dSr{r{rjs r(r|zExFileSelectDialog.popupr}r*cóF—|j |jd¦«dSrr{rjs r(r€zExFileSelectDialog.popdown r�r*Nr‚rVr*r(r„r„úsY€€€€€ð#ð#ð$&ðLðLðLðLð 'ð'ð'ð)ð)ð)ð)ð)r*r„có(—eZdZdZifd„Zd„Zd„ZdS)Ú FileSelectBoxa¤ExFileSelectBox - 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 ScrolledListBoxc ó—t ||ddg||¦«t|d¦«|jd<t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixFileSelectBoxr”r_rmrrÚ selection)r’r]r%r›ror s r(r]zFileSelectBox.__init__s…€Ý×Ò˜4 Ð);¸i¸[È#ÈrÑRÔRÐRÝ)>¸tÀYÑ)OÔ)OˆÔ˜IÑ&Ý*?ÀÀjÑ*QÔ*QˆÔ˜JÑ'Ý(6°t¸XÑ(FÔ(FˆÔ˜HÑ%Ý+9¸$À Ñ+LÔ+LˆÔ˜KÑ(Ð(Ð(r*cóF—|j |jd¦«dSrqr{rjs r(Ú apply_filterzFileSelectBox.apply_filter#rAr*cóF—|j |jd¦«dSrr{rjs r(rzFileSelectBox.invoke&rAr*N)rRrSrTrUr]r‘rrVr*r(rŒrŒsY€€€€€ð 'ð 'ð$&ðMðMðMðMð(ð(ð(ð(ð(ð(ð(ð(r*rŒcó(—eZdZdZifd„Zd„Zd„ZdS)ÚFileSelectDialogz£FileSelectDialog - Motif style file select dialog. Subwidgets Class ---------- ----- btns StdButtonBox fsbox FileSelectBoxc ó¦—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚtixFileSelectDialogr”Úbtnsr‡)r’r]Ú_dummyStdButtonBoxr›Ú_dummyFileSelectBoxr s r(r]zFileSelectDialog.__init__3s^€Ý×Ò˜4 Ð)>Ø%˜;¨¨Rñ 1ô 1ð 1å&8¸¸vÑ&FÔ&FˆÔ˜FÑ#Ý':¸4ÀÑ'IÔ'IˆÔ˜GÑ$Ð$Ð$r*cóF—|j |jd¦«dSr{r{rjs r(r|zFileSelectDialog.popup9r}r*cóF—|j |jd¦«dSrr{rjs r(r€zFileSelectDialog.popdown<r�r*Nr‚rVr*r(r”r”*sY€€€€€ð!ð!ð$&ðJðJðJðJð 'ð'ð'ð)ð)ð)ð)ð)r*r”có(—eZdZdZifd„Zd„Zd„ZdS)Ú FileEntrya_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 Entryc ó¨—t ||dddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚ tixFileEntryÚ dialogtyper”Úbuttonr)r’r]rr›r$r s r(r]zFileEntry.__init__Ks`€Ý×Ò˜4 ¨Ø(¨)Ð4°c¸2ñ ?ô ?ð ?å(4°T¸8Ñ(DÔ(DˆÔ˜HÑ%Ý'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ð$Ð$r*cóF—|j |jd¦«dSrr{rjs r(rzFileEntry.invokeQrAr*có—dSrQrVrjs r(Ú file_dialogzFileEntry.file_dialogTs€à ˆr*N)rRrSrTrUr]rr¤rVr*r(r�r�?sY€€€€€ððð$&ðBðBðBðBð (ð(ð(ð ð ð ð ð r*r�có„—eZdZdZdifd„Zifd„Zdifd„Zd„Zd„Zd8d „Z d „Z d „Z d „Z d „Z d„Zd„Zd„Zd„Zifd„Zifd„Zd„Zd„ZeZd„Zd„Zd„Zifd„Zifd„Zd„Zd„Zd„Zd„Zd„Z d „Z!d9d!„Z"d"„Z#d#„Z$d$„Z%d%„Z&d&„Z'd'„Z(d(„Z)d)„Z*d*„Z+d+„Z,ifd,„Z-ifd-„Z.d.„Z/d/„Z0d0„Z1ifd1„Z2d2„Z3d3„Z4ifd4„Z5d5„Z6d9d6„Z7d7„Z8dS):ÚHListaHList - 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 - NoneNc óH—t ||dddg||¦«dS)NÚtixHListÚcolumnsr”r r s r(r]zHList.__init__`s6€Ý×Ò˜4 ¨Ø% yÐ1°3¸ñ <ô <ð <ð <ð ØˆF؈tŒwŒ|Ø”W˜j¨&ðKØ37·=²=ÀÀbÑ3IÔ3IðKðKðKð Kr*cóJ—|j |jdd|¦«dS©NÚanchorÚsetr{©r&rs r(Ú anchor_setzHList.anchor_setmó$€Ø Œ� Š �T”W˜h¨¨uÑ5Ô5Ð5Ð5Ð5r*cóH—|j |jdd¦«dS©Nr²Úclearr{rjs r(Ú anchor_clearzHList.anchor_clearpó"€Ø Œ� Š �T”W˜h¨Ñ0Ô0Ð0Ð0Ð0r*rcó”—|s#|j |jdd||¦«S|j |jdd|d|¦«S)NrÚwidthz-charr{)r&Úcolr½Úcharss r(Ú column_widthzHList.column_widthssO€Øð 0Ø”7—<’< ¤¨°7¸CÀÑGÔGÐ Gà”7—<’< ¤¨°7¸CØ '¨ñ0ô0ð 0r*cóH—|j |jdd¦«dS)NrÁÚallr{rjs r(Ú delete_allzHList.delete_allzs"€Ø Œ� Š �T”W˜h¨Ñ.Ô.Ð.Ð.Ð.r*cóJ—|j |jdd|¦«dS)NrÁrr{r´s r(Ú delete_entryzHList.delete_entry}s$€Ø Œ� Š �T”W˜h¨°Ñ7Ô7Ð7Ð7Ð7r*cóJ—|j |jdd|¦«dS)NrÁÚ offspringsr{r´s r(Údelete_offspringszHList.delete_offsprings€s$€Ø Œ� Š �T”W˜h¨ °eÑ<Ô<Ð<Ð<Ðô>ðFØAEð Fr*cóz—|j |jdd|¦«}|j |¦«S)NrˆrÕ©r$r%rqr€)r&rrØs r(Ú info_childrenzHList.info_childrenÌs3€Ø ŒG�LŠL˜œ &¨*°eÑ <Ô <ˆØŒw× Ò  Ñ#Ô#Ð#r*cóF—|j |jdd|¦«S)NrˆÚdatar{r´s r(Ú info_datazHList.info_dataÐó€ØŒw�|Š|˜DœG V¨V°UÑ;Ô;Ð;r*cóD—|j |jdd¦«S)NrˆrÎr{rjs r(Ú info_dragsitezHList.info_dragsiteÓó€ØŒw�|Š|˜DœG V¨ZÑ8Ô8Ð8r*cóD—|j |jdd¦«S)Nrˆr×r{rjs r(Ú info_dropsitezHList.info_dropsiteÖrr*cóF—|j |jdd|¦«S)Nrˆrür{r´s r(Ú info_existszHList.info_existsÙó€ØŒw�|Š|˜DœG V¨X°uÑ=Ô=Ð=r*cóF—|j |jdd|¦«S)Nrˆrjr{r´s r(Ú info_hiddenzHList.info_hiddenÜrr*cóF—|j |jdd|¦«S)NrˆÚnextr{r´s r(Ú info_nextzHList.info_nextßrr*cóF—|j |jdd|¦«S)NrˆrÑr{r´s r(Ú info_parentzHList.info_parentârr*cóF—|j |jdd|¦«S)NrˆÚprevr{r´s r(Ú info_prevzHList.info_prevårr*cóx—|j |jdd¦«}|j |¦«S©Nrˆr�r r×s r(Úinfo_selectionzHList.info_selectionèó1€Ø ŒG�LŠL˜œ &¨+Ñ 6Ô 6ˆØŒw× Ò  Ñ#Ô#Ð#r*cóJ—|j |jdd|||¦«S)NÚitemr,r{)r&rr¾räs r(Ú item_cgetzHList.item_cgetìs"€ØŒw�|Š|˜DœG V¨V°U¸CÀÑEÔEÐEr*c ó¦—|€| |jdd||¦«S|jj|jdd||g| ||¦«¢RŽdS)Nr)r1rá©r&rr¾r9r:s r(Úitem_configurezHList.item_configureïsn€Ø ˆ;Ø×%Ò% d¤g¨v°{ÀEÈ3ÑOÔOÐ O؈ŒŒ �T”W˜f k°5¸#ð 'Ø�}Š}˜S "Ñ%Ô%ð 'ð 'ð 'ð 'ð 'ð 'r*c óf—|jj|jdd||g| ||¦«¢RŽdS)Nr)r»rpr,s r(Ú item_createzHList.item_createõsS€ØˆŒŒ ØŒg�v˜x¨°ð NØ6:·m²mÀCÈÑ6LÔ6Lð Nð Nð Nð Nð Nð Nr*cóH—|j |jdd||¦«S)Nr)rür{©r&rr¾s r(Ú item_existszHList.item_existsùs €ØŒw�|Š|˜DœG V¨X°u¸cÑBÔBÐBr*cóL—|j |jdd||¦«dS)Nr)rÁr{r1s r(Ú item_deletezHList.item_deleteüs&€Ø Œ� Š �T”W˜f h°°sÑ;Ô;Ð;Ð;Ð;r*cóF—|j |jd||¦«S)NÚ entrycgetr{rùs r(r6zHList.entrycgetÿs€ØŒw�|Š|˜DœG [°%¸Ñ=Ô=Ð=r*c óž—|€| |jd|¦«S|jj|jd|g| ||¦«¢RŽdS©NÚentryconfigurerár¬s r(r9zHList.entryconfiguresh€Ø ˆ;Ø×%Ò% d¤gÐ/?ÀÑGÔGÐ G؈ŒŒ �T”WÐ.°ð 'Ø�}Š}˜S "Ñ%Ô%ð 'ð 'ð 'ð 'ð 'ð 'r*cóD—|j |jd|¦«S©NÚnearestr{)r&r…s r(r<z HList.nearests€ØŒw�|Š|˜DœG Y°Ñ2Ô2Ð2r*cóH—|j |jd|¦«dS©NÚseer{r´s r(r?z HList.see ó"€Ø Œ� Š �T”W˜e UÑ+Ô+Ð+Ð+Ð+r*c ób—|jj|jddg| ||¦«¢RŽdS©Nr�r¹rpr8s r(Úselection_clearzHList.selection_clearó8€ØˆŒŒ �T”W˜k¨7ÐL°T·]²]À3ÈÑ5KÔ5KÐLÐLÐLÐLÐLÐLr*cóF—|j |jdd|¦«S©Nr�Úincludesr{r´s r(Úselection_includeszHList.selection_includesó€ØŒw�|Š|˜DœG [°*¸eÑDÔDÐDr*cóL—|j |jdd||¦«dS©Nr�r³r{©r&ÚfirstÚlasts r(Ú selection_setzHList.selection_setó&€Ø Œ� Š �T”W˜k¨5°%¸Ñ>Ô>Ð>Ð>Ð>r*cóF—|j |jdd|¦«S)NÚshowrr{r´s r(Ú show_entryzHList.show_entryó€ØŒw�|Š|˜DœG V¨W°eÑ<Ô<Ðð>ð>ð>ð>ð>ð<ð<ð<ð>ð>ð>ð<ð<ð<ð$ð$ð$ðFðFðFð.0ð'ð'ð'ð'ð +-ðNðNðNðNðCðCðCð<ð<ð<ð>ð>ð>ð)+ð'ð'ð'ð'ð 3ð3ð3ð,ð,ð,ð#%ðMðMðMðMðEðEðEð?ð?ð?ð?ð=ð=ð=ð=ð=r*r¦có—eZdZdZdifd„ZdS)Ú InputOnlyz?InputOnly - Invisible widget. Unix only. Subwidgets - NoneNc óD—t ||dd||¦«dS)NÚ tixInputOnlyr r s r(r]zInputOnly.__init__s&€Ý×Ò˜4 ¨¸¸sÀBÑGÔGÐGÐGÐGr*rcrVr*r(rWrWs?€€€€€ððð# rðHðHðHðHðHðHr*rWcó—eZdZdZdifd„ZdS)Ú LabelEntryaLabelEntry - Entry field with label. Packages an entry widget and a label into one mega widget. It can be used to simplify the creation of ``entry-form'' type of interface. Subwidgets Class ---------- ----- label Label entry EntryNc ó¨—t ||dddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚ tixLabelEntryÚ labelsider”rõr)r’r]rùr›r$r s r(r]zLabelEntry.__init__,ó`€Ý×Ò˜4 ¨Ø'¨ Ð2°C¸ñ =ô =ð =å'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ð$Ð$r*rcrVr*r(r[r["s?€€€€€ððð# rðBðBðBðBðBðBr*r[có—eZdZdZdifd„ZdS)Ú LabelFrameaeLabelFrame - 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 FrameNc ó¨—t ||dddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚ tixLabelFramer^r”rõÚframe)r’r]rùr›Ú _dummyFramer s r(r]zLabelFrame.__init__=r_r*rcrVr*r(rara2s?€€€€€ððð# rðBðBðBðBðBðBr*racó8—eZdZdZifd„Zifd„Zd„Zd„Zd„ZdS)Ú ListNoteBookaA 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.c óÚ—t ||ddg||¦«t|dd¬¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixListNoteBookr”ÚpanerrörHÚshlist)r’r]Ú_dummyPanedWindowr›rLÚ_dummyScrolledHListr s r(r]zListNoteBook.__init__Ls}€Ý×Ò˜4 Ð):¸Y¸KÈÈbÑQÔQÐQå&7¸¸fØKLð'Nñ'Nô'NˆÔ˜FÑ#å'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý(;¸DÀ(Ñ(KÔ(KˆÔ˜HÑ%Ð%Ð%r*c ó¨—|jj|jd|g| ||¦«¢RŽt ||¦«|j|<|j|Sr«©r$r%rqr7rÅr›©r&rCr9r:s r(rzListNoteBook.addTóW€ØˆŒŒ �T”W˜e TÐC¨D¯MªM¸#¸rÑ,BÔ,BÐCÐCÐCÐCÝ$0°°tÑ$<Ô$<ˆÔ˜DÑ!ØÔ" 4Ô(Ð(r*có,—| |¦«SrQ©r®rBs r(ÚpagezListNoteBook.pageYó€Ø�~Š~˜dÑ#Ô#Ð#r*cóÔ—|j |j |jd¦«¦«}g}|D]*}| | |¦«¦«Œ+|S©NÚpages©r$r€r%rqr•r®©r&r±Úretr„s r(rxzListNoteBook.pages\óc€à”×!Ò! $¤'§,¢,¨t¬w¸Ñ"@Ô"@ÑAÔAˆØˆØð *ð *ˆAØ �JŠJ�t—~’~ aÑ(Ô(Ñ )Ô )Ð )Ð )؈ r*cóH—|j |jd|¦«dS©NÚraiser{rBs r(Ú raise_pagezListNoteBook.raise_pagedó"€Ø Œ� Š �T”W˜g tÑ,Ô,Ð,Ð,Ð,r*N) rRrSrTrUr]rrtrxr€rVr*r(rgrgDsƒ€€€€€ðEðEð$&ðLðLðLðLðð)ð)ð)ð)ð $ð$ð$ðððð-ð-ð-ð-ð-r*rgcó—eZdZdZdifd„ZdS)ÚMeterzuThe Meter widget can be used to show the progress of a background job which may take a long time to execute. Nc óF—t ||ddg||¦«dS)NÚtixMeterr”r r s r(r]zMeter.__init__ls3€Ý×Ò˜4 ¨Ø%˜;¨¨Rñ 1ô 1ð 1ð 1ð 1r*rcrVr*r(rƒrƒgs9€€€€€ððð#¨ð1ð1ð1ð1ð1ð1r*rƒcóF—eZdZdZdifd„Zifd„Zd„Zd„Zd„Zd„Z d „Z dS) ÚNoteBookzÞNoteBook - Multi-page container widget (tabbed notebook metaphor). Subwidgets Class ---------- ----- nbframe NoteBookFrame page widgets added dynamically with the add methodNc óz—t ||ddg||¦«t|dd¬¦«|jd<dS)NÚ tixNoteBookr”Únbframerrö)r’r]rÅr›r s r(r]zNoteBook.__init__xsN€Ý×Ò˜4  }°y°kÀ3ÈÑKÔKÐKÝ)5°d¸IØIJð*Lñ*Lô*LˆÔ˜IÑ&Ð&Ð&r*c ó¨—|jj|jd|g| ||¦«¢RŽt ||¦«|j|<|j|Sr«rorps r(rz NoteBook.add}rqr*có–—|j |jd|¦«|j| ¦«|j|=dSræ©r$r%rqr›rirBs r(rÁzNoteBook.delete‚óG€Ø Œ� Š �T”W˜h¨Ñ-Ô-Ð-Ø Ô˜DÔ!×)Ò)Ñ+Ô+Ð+Ø Ô  Ð %Ð %Ð %r*có,—| |¦«SrQrsrBs r(rtz NoteBook.page‡rur*cóÔ—|j |j |jd¦«¦«}g}|D]*}| | |¦«¦«Œ+|Srwryrzs r(rxzNoteBook.pagesŠr|r*cóH—|j |jd|¦«dSr~r{rBs r(r€zNoteBook.raise_page’r�r*cóB—|j |jd¦«S)NÚraisedr{rjs r(r“zNoteBook.raised•s€ØŒw�|Š|˜DœG XÑ.Ô.Ð.r*) rRrSrTrUr]rrÁrtrxr€r“rVr*r(r‡r‡ps£€€€€€ðHðHð# rðLðLðLðLð ð)ð)ð)ð)ð &ð&ð&ð $ð$ð$ðððð-ð-ð-ð/ð/ð/ð/ð/r*r‡có—eZdZdS)Ú NoteBookFrameN)rRrSrTrVr*r(r•r•˜s€€€€€à€Dr*r•cóB—eZdZdZifd„Zifd„Zifd„Zd„Zd„Zd„Z dS) Ú OptionMenuz›OptionMenu - creates a menu button of options. Subwidget Class --------- ----- menubutton Menubutton menu Menuc ó¦—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚ tixOptionMenur”Ú menubuttonÚmenu©r’r]Ú_dummyMenubuttonr›Ú _dummyMenur s r(r]zOptionMenu.__init__¤sV€Ý×Ò˜4 ¨¸9¸+ÀsÈBÑOÔOÐOÝ,<¸TÀ<Ñ,PÔ,PˆÔ˜LÑ)Ý&0°°vÑ&>Ô&>ˆÔ˜FÑ#Ð#Ð#r*c ód—|jj|jdd|g| ||¦«¢RŽdS)NrÚcommandrprps r(Ú add_commandzOptionMenu.add_command©s:€ØˆŒŒ �T”W˜e Y°ÐN°t·}²}ÀSÈ"Ñ7MÔ7MÐNÐNÐNÐNÐNÐNr*c ód—|jj|jdd|g| ||¦«¢RŽdS)NrÚ separatorrprps r(Ú add_separatorzOptionMenu.add_separator¬s:€ØˆŒŒ �T”W˜e [°$ÐP¸¿ºÀsÈBÑ9OÔ9OÐPÐPÐPÐPÐPÐPr*cóH—|j |jd|¦«dSrær{rBs r(rÁzOptionMenu.delete¯ó"€Ø Œ� Š �T”W˜h¨Ñ-Ô-Ð-Ð-Ð-r*cóH—|j |jd|¦«dS)NÚdisabler{rBs r(r¨zOptionMenu.disable²s"€Ø Œ� Š �T”W˜i¨Ñ.Ô.Ð.Ð.Ð.r*cóH—|j |jd|¦«dS)NÚenabler{rBs r(rªzOptionMenu.enableµr¦r*N) rRrSrTrUr]r¡r¤rÁr¨rªrVr*r(r—r—œsž€€€€€ððð$&ð?ð?ð?ð?ð %'ðOðOðOðOð')ðQðQðQðQð.ð.ð.ð/ð/ð/ð.ð.ð.ð.ð.r*r—cóH—eZdZdZifd„Zifd„Zd„Zd„Zd„Zifd„Z d„Z d S) Ú PanedWindowa’PanedWindow - 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.c óH—t ||dddg||¦«dS)NÚtixPanedWindowr r”r r s r(r]zPanedWindow.__init__Ãs.€Ý×Ò˜4 Ð)9¸MÈ9Ð;UÐWZÐ\^Ñ_Ô_Ð_Ð_Ð_r*c ó¬—|jj|jd|g| ||¦«¢RŽt ||d¬¦«|j|<|j|S)Nrr)rÉrorps r(rzPanedWindow.addÇsf€ØˆŒŒ �T”W˜e TÐC¨D¯MªM¸#¸rÑ,BÔ,BÐCÐCÐCÐCÝ$0°°tØDEð%Gñ%Gô%GˆÔ˜DÑ!àÔ" 4Ô(Ð(r*có–—|j |jd|¦«|j| ¦«|j|=dSrær�rBs r(rÁzPanedWindow.deleteÍrŽr*cóH—|j |jd|¦«dS)Nr}r{rBs r(r}zPanedWindow.forgetÒr¦r*cóF—|j |jd||¦«S)NÚpanecgetr{rùs r(r³zPanedWindow.panecgetÕs€ØŒw�|Š|˜DœG Z°¸Ñ<Ô<Ð.ßs%ø€Ð1Ð1Ð1 a�—’˜qÑ!Ô!Ð1Ð1Ð1r*r�)r&r±s` r(r·zPanedWindow.panesÝsDø€Ø”×!Ò! $¤'§,¢,¨t¬w¸Ñ"@Ô"@ÑAÔAˆØ1Ð1Ð1Ð1¨5Ð1Ñ1Ô1Ð1r*N) rRrSrTrUr]rrÁr}r³rµr·rVr*r(r¬r¬¸s¯€€€€€ðHðHð$&ð`ð`ð`ð`ðð)ð)ð)ð)ð &ð&ð&ð .ð.ð.ð=ð=ð=ð(*ðOðOðOðOð 2ð2ð2ð2ð2r*r¬có.—eZdZdZifd„Zd„Zd„Zd„ZdS)Ú PopupMenuaPopupMenu 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 Menuc ó¦—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<dS)NÚ tixPopupMenur”ršr›rœr s r(r]zPopupMenu.__init__ísV€Ý×Ò˜4 ¨¸)¸ÀcÈ2ÑNÔNÐNÝ,<¸TÀ<Ñ,PÔ,PˆÔ˜LÑ)Ý&0°°vÑ&>Ô&>ˆÔ˜FÑ#Ð#Ð#r*cóR—|j |jd|j¦«dS)Nrýr{rs r(rÿzPopupMenu.bind_widgetòó$€Ø Œ� Š �T”W˜f f¤iÑ0Ô0Ð0Ð0Ð0r*cóR—|j |jd|j¦«dSrr{rs r(rzPopupMenu.unbind_widgetõrr*cóV—|j |jd|j||¦«dS)NÚpostr{)r&rþr„r…s r(Ú post_widgetzPopupMenu.post_widgetøs(€Ø Œ� Š �T”W˜f f¤i°°AÑ6Ô6Ð6Ð6Ð6r*N)rRrSrTrUr]rÿrrÂrVr*r(rºrºásd€€€€€ððð$&ð?ð?ð?ð?ð 1ð1ð1ð3ð3ð3ð7ð7ð7ð7ð7r*rºcó4—eZdZdZifd„Zd„Zd„Zd„Zd„ZdS)Ú ResizeHandlez;Internal widget to draw resize handles on Scrolled widgets.c óL—gd¢}t ||d|||¦«dS)N) r”r ÚcursorfgÚcursorbgÚ handlesizeÚ hintcolorÚ hintwidthr„r…ÚtixResizeHandler )r&rœr9r:Úflagss r(r]zResizeHandle.__init__ýsE€ðððˆõ ×Ò˜4 Ð):Ø  # rñ +ô +ð +ð +ð +r*cóR—|j |jd|j¦«dS)NÚ attachwidgetr{rs r(Ú attach_widgetzResizeHandle.attach_widgetó$€Ø Œ� Š �T”W˜n¨f¬iÑ8Ô8Ð8Ð8Ð8r*cóR—|j |jd|j¦«dS)NÚ detachwidgetr{rs r(Ú detach_widgetzResizeHandle.detach_widget rÐr*cóR—|j |jd|j¦«dS)Nrñr{rs r(rñzResizeHandle.hide r¾r*cóR—|j |jd|j¦«dS)NrRr{rs r(rRzResizeHandle.showr¾r*N) rRrSrTrUr]rÏrÓrñrRrVr*r(rÄrÄûsm€€€€€ØEÐEØ#%ð+ð+ð+ð+ð9ð9ð9ð9ð9ð9ð1ð1ð1ð1ð1ð1ð1ð1r*rÄcó—eZdZdZifd„ZdS)Ú ScrolledHListz0ScrolledHList - HList with automatic scrollbars.c óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixScrolledHListr”rHrIrJrKr s r(r]zScrolledHList.__init__óu€Ý×Ò˜4 Ð);¸i¸[Ø ñ $ô $ð $å'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*NrcrVr*r(r×r×ó9€€€€€Ø:Ð:ð$&ðBðBðBðBðBðBr*r×có—eZdZdZifd„ZdS)ÚScrolledListBoxz4ScrolledListBox - Listbox with automatic scrollbars.c óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixScrolledListBoxr”ÚlistboxrIrJ)r’r]Ú _dummyListboxr›rMr s r(r]zScrolledListBox.__init__"so€Ý×Ò˜4 Ð)=À ¸{ÈCÐQSÑTÔTÐTÝ)6°t¸YÑ)GÔ)GˆÔ˜IÑ&Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*NrcrVr*r(rÝrÝs9€€€€€Ø>Ð>ð$&ðBðBðBðBðBðBr*rÝcó—eZdZdZifd„ZdS)Ú ScrolledTextz.ScrolledText - Text with automatic scrollbars.c óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixScrolledTextr”rrIrJ)r’r]Ú _dummyTextr›rMr s r(r]zScrolledText.__init__,sn€Ý×Ò˜4 Ð):¸Y¸KÈÈbÑQÔQÐQÝ&0°°vÑ&>Ô&>ˆÔ˜FÑ#Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*NrcrVr*r(rãrã(s9€€€€€Ø8Ð8ð$&ðBðBðBðBðBðBr*rãcó—eZdZdZifd„ZdS)Ú ScrolledTListz0ScrolledTList - TList with automatic scrollbars.c óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixScrolledTListr”ÚtlistrIrJ)r’r]Ú _dummyTListr›rMr s r(r]zScrolledTList.__init__6rÚr*NrcrVr*r(rèrè2rÛr*rècó—eZdZdZifd„ZdS)ÚScrolledWindowz2ScrolledWindow - Window with automatic scrollbars.c óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixScrolledWindowr”rrIrJ)r’r]rer›rMr s r(r]zScrolledWindow.__init__Aso€Ý×Ò˜4 Ð)<¸y¸kÈ3ÐPRÑSÔSÐSÝ(3°D¸(Ñ(CÔ(CˆÔ˜HÑ%Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*NrcrVr*r(rîrî=s9€€€€€Ø<Ð<ð$&ðBðBðBðBðBðBr*rîcó,—eZdZdZifd„Zifd„Zd„ZdS)ÚSelectzÊSelect - 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 óx—t ||dgd¢||¦«t|d¦«|jd<dS)NÚ tixSelect)Ú allowzeroÚradior r^r”rõrør s r(r]zSelect.__init__NsS€Ý×Ò˜4 ¨ð'ð'ð'à ñ $ô $ð $õ(3°4¸Ñ'AÔ'AˆÔ˜GÑ$Ð$Ð$r*c ó¨—|jj|jd|g| ||¦«¢RŽt ||¦«|j|<|j|Sr«rrps r(rz Select.addUrqr*cóH—|j |jd|¦«dSrr{rBs r(rz Select.invokeZr¦r*NrrVr*r(ròròGse€€€€€ðFðFð $&ðBðBðBðBðð)ð)ð)ð)ð .ð.ð.ð.ð.r*ròcó—eZdZdZdifd„ZdS)ÚShellz'Toplevel window. Subwidgets - NoneNc óH—t ||dddg||¦«dS)NÚtixShellr”Útitler r s r(r]zShell.__init__bs,€Ý×Ò˜4 ¨°iÀÐ5IÈ3ÐPRÑSÔSÐSÐSÐSr*rcrVr*r(rúrú]s?€€€€€ððð# rðTðTðTðTðTðTr*rúcó0—eZdZdZdifd„Zd„Zd„Zd„ZdS)Ú DialogShellzöToplevel 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 - NoneNc óH—t ||dgd¢||¦«dS)NÚtixDialogShell)r”rýÚmappedÚ minheightÚminwidthrÑÚ transientr r s r(r]zDialogShell.__init__ns?€Ý×Ò˜4 Ø+ð3ð3ð3à47¸ñ  =ô =ð =ð =ð =r*cóF—|j |jd¦«dSrr{rjs r(r€zDialogShell.popdownur�r*cóF—|j |jd¦«dSr{r{rjs r(r|zDialogShell.popupxr}r*cóF—|j |jd¦«dS)NÚcenterr{rjs r(r zDialogShell.center{rAr*)rRrSrTrUr]r€r|r rVr*r(rÿrÿesf€€€€€ððð# rð=ð=ð=ð=ð)ð)ð)ð'ð'ð'ð(ð(ð(ð(ð(r*rÿcó$—eZdZdZdifd„Zd„ZdS)Ú StdButtonBoxz@StdButtonBox - Standard Button Box (OK, Apply, Cancel and Help) Nc ó—t ||dddg||¦«t|d¦«|jd<t|d¦«|jd<t|d¦«|jd<t|d¦«|jd<dS)NÚtixStdButtonBoxr r”riÚapplyrhÚhelp)r’r]rr›r s r(r]zStdButtonBox.__init__�s’€Ý×Ò˜4 Ð):Ø)¨9Ð5°s¸Bñ @ô @ð @å$0°°tÑ$<Ô$<ˆÔ˜DÑ!Ý'3°D¸'Ñ'BÔ'BˆÔ˜GÑ$Ý(4°T¸8Ñ(DÔ(DˆÔ˜HÑ%Ý&2°4¸Ñ&@Ô&@ˆÔ˜FÑ#Ð#Ð#r*có^—||jvr#|j |jd|¦«dSdSrrrBs r(rzStdButtonBox.invoke‰rr*)rRrSrTrUr]rrVr*r(r r ~sF€€€€€ØJÐJà"¨ðAðAðAðAð2ð2ð2ð2ð2r*r có´—eZdZdZdifd„Zd„Zd„Zd„Zd„Zdd„Z d „Z d „Z d „Z d „Z ifd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zifd„Zd„Zdd„ZdS)ÚTLista¡TList - 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 - NoneNc óF—t ||ddg||¦«dS)NÚtixTListr”r r s r(r]zTList.__init__—s(€Ý×Ò˜4 ¨°i°[À#ÀrÑJÔJÐJÐJÐJr*cóJ—|j |jdd|¦«dS)NÚactiver³r{r4s r(Ú active_setzTList.active_setšr¶r*cóH—|j |jdd¦«dS)Nrr¹r{rjs r(Ú active_clearzTList.active_clear�r»r*cóJ—|j |jdd|¦«dSr±r{r4s r(rµzTList.anchor_set r¶r*cóH—|j |jdd¦«dSr¸r{rjs r(rºzTList.anchor_clear£r»r*cóJ—|j |jd||¦«dSrær{©r&Úfrom_Útos r(rÁz TList.delete¦s$€Ø Œ� Š �T”W˜h¨¨rÑ2Ô2Ð2Ð2Ð2r*cóJ—|j |jdd|¦«dSrÍr{r4s r(rÏzTList.dragsite_set©rÐr*cóH—|j |jdd¦«dSrÒr{rjs r(rÓzTList.dragsite_clear¬rÔr*cóJ—|j |jdd|¦«dSrÖr{r4s r(rØzTList.dropsite_set¯rÐr*cóH—|j |jdd¦«dSrÚr{rjs r(rÛzTList.dropsite_clear²rÔr*c ób—|jj|jd|g| ||¦«¢RŽdSr/rp)r&r1r9r:s r(r0z TList.insertµs8€ØˆŒŒ �T”W˜h¨ÐG°· ² ¸cÀ2Ñ0FÔ0FÐGÐGÐGÐGÐGÐGr*cóD—|j |jdd¦«S)Nrˆrr{rjs r(Ú info_activezTList.info_active¸rr*cóD—|j |jdd¦«Srr{rjs r(rzTList.info_anchor»rr*cóF—|j |jdd|¦«S)NrˆÚdownr{r4s r(Ú info_downzTList.info_down¾rr*cóF—|j |jdd|¦«S)NrˆÚleftr{r4s r(Ú info_leftzTList.info_leftÁrr*cóF—|j |jdd|¦«S)NrˆÚrightr{r4s r(Ú info_rightzTList.info_rightÄrTr*cóx—|j |jdd¦«}|j |¦«Sr%r r×s r(r&zTList.info_selectionÇr'r*cóD—|j |jdd¦«S)Nrˆrîr{rjs r(Ú info_sizezTList.info_sizeËs€ØŒw�|Š|˜DœG V¨VÑ4Ô4Ð4r*cóF—|j |jdd|¦«S)NrˆÚupr{r4s r(Úinfo_upz TList.info_upÎs€ØŒw�|Š|˜DœG V¨T°5Ñ9Ô9Ð9r*cóF—|j |jd||¦«Sr;r{©r&r„r…s r(r<z TList.nearestÑs€ØŒw�|Š|˜DœG Y°°1Ñ5Ô5Ð5r*cóH—|j |jd|¦«dSr>r{r4s r(r?z TList.seeÔr@r*c ób—|jj|jddg| ||¦«¢RŽdSrBrpr8s r(rCzTList.selection_clear×rDr*cóF—|j |jdd|¦«SrFr{r4s r(rHzTList.selection_includesÚrIr*cóL—|j |jdd||¦«dSrKr{rLs r(rOzTList.selection_setÝrPr*rQ)rRrSrTrUr]rrrµrºrÁrÏrÓrØrÛr0r&rr*r-r0r&r3r6r<r?rCrHrOrVr*r(rr�s¿€€€€€ððð# rðKðKðKðKð6ð6ð6ð1ð1ð1ð6ð6ð6ð1ð1ð1ð3ð3ð3ð3ð8ð8ð8ð3ð3ð3ð8ð8ð8ð3ð3ð3ð!#ðHðHðHðHð7ð7ð7ð7ð7ð7ð<ð<ð<ð<ð<ð<ð=ð=ð=ð$ð$ð$ð5ð5ð5ð:ð:ð:ð6ð6ð6ð,ð,ð,ð#%ðMðMðMðMðEðEðEð?ð?ð?ð?ð?ð?r*rcó>—eZdZdZdifd„Zd„Zd„Zd„Zd„Zd d „Z dS) ÚTreez¬Tree - 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.Nc óÖ—t ||ddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚtixTreer”rHrIrJrKr s r(r]z Tree.__init__æst€Ý×Ò˜4 ¨Ø%˜;¨¨Rñ 1ô 1ð 1å'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*cóF—|j |jd¦«dS©a This command calls the setmode method for all the entries in this Tree widget: if an entry has no child entries, its mode is set to none. Otherwise, if the entry has any hidden child entries, its mode is set to open; otherwise its mode is set to close.Ú autosetmodeNr{rjs r(rCzTree.autosetmodeíó"€ð Œ� Š �T”W˜mÑ,Ô,Ð,Ð,Ð,r*cóH—|j |jd|¦«dS©z8Close the entry given by entryPath if its mode is close.ÚcloseNr{©r&Ú entrypaths r(rGz Tree.closeôó"€à Œ� Š �T”W˜g yÑ1Ô1Ð1Ð1Ð1r*cóD—|j |jd|¦«S©z9Returns the current mode of the entry given by entryPath.Úgetmoder{rHs r(rMz Tree.getmodeøó€àŒw�|Š|˜DœG Y° Ñ:Ô:Ð:r*cóH—|j |jd|¦«dS©z6Open the entry given by entryPath if its mode is open.ÚopenNr{rHs r(rQz Tree.openüó"€à Œ� Š �T”W˜f iÑ0Ô0Ð0Ð0Ð0r*ÚnonecóJ—|j |jd||¦«dS)a‡This command is used to indicate whether the entry given by entryPath has children entries and whether the children are visible. mode must be one of open, close or none. If mode is set to open, a (+) indicator is drawn next the entry. If mode is set to close, a (-) indicator is drawn next the entry. If mode is set to none, no indicators will be drawn for this entry. The default mode is none. The open mode indicates the entry has hidden children and this entry can be opened by the user. The close mode indicates that all the children of the entry are now visible and the entry can be closed by the user.ÚsetmodeNr{©r&rIÚmodes r(rUz Tree.setmodes&€ð Œ� Š �T”W˜i¨°DÑ9Ô9Ð9Ð9Ð9r*)rS) rRrSrTrUr]rCrGrMrQrUrVr*r(r>r>às�€€€€€ðEðEð #¨ðBðBðBðBð-ð-ð-ð2ð2ð2ð;ð;ð;ð1ð1ð1ð :ð :ð :ð :ð :ð :r*r>cóL—eZdZdZdifd„Zd„Zd„Zd„Zd„Zd d „Z d „Z d d „Z dS) Ú CheckListzõThe CheckList widget displays a list of items to be selected by the user. CheckList acts similarly to the Tk checkbutton or radiobutton widgets, except it is capable of handling many more items than checkbuttons or radiobuttons. Nc óØ—t ||dddg||¦«t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)NÚ tixCheckListr”rörHrIrJrKr s r(r]zCheckList.__init__sw€Ý×Ò˜4 ¨Ø% wÐ/°°bñ :ô :ð :å'2°4¸Ñ'AÔ'AˆÔ˜GÑ$Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ý%4°T¸5Ñ%AÔ%AˆÔ˜EÑ"Ð"Ð"r*cóF—|j |jd¦«dSrBr{rjs r(rCzCheckList.autosetmoderDr*cóH—|j |jd|¦«dSrFr{rHs r(rGzCheckList.close#rJr*cóD—|j |jd|¦«SrLr{rHs r(rMzCheckList.getmode'rNr*cóH—|j |jd|¦«dSrPr{rHs r(rQzCheckList.open+rRr*Úoncót—|j |j |jd|¦«¦«S)z®Returns a list of items whose status matches status. If status is not specified, the list of items in the "on" status will be returned. Mode can be on, off, defaultÚ getselectionr�)r&rWs r(rbzCheckList.getselection/s.€ðŒw× Ò  ¤§¢¨d¬g°~ÀtÑ!LÔ!LÑMÔMÐMr*cóD—|j |jd|¦«S)z(Returns the current status of entryPath.Ú getstatusr{rHs r(rdzCheckList.getstatus5s€àŒw�|Š|˜DœG [°)Ñ<Ô<иtÀYÑ)OÔ)OˆÔ˜IÑ&Ý&4°T¸6Ñ&BÔ&BˆÔ˜FÑ#Ý*?ÀÀjÑ*QÔ*QˆÔ˜JÑ'Ð'Ð'r*NrlrmrVr*r(rˆrˆ s.€€€€€ð Rð Rð Rð Rð Rð Rr*rˆcó—eZdZdd„ZdS)r™r¨có—t ||||¦«t|d¦«|jd<t|d¦«|jd<t |d¦«|jd<t |d¦«|jd<dS)Nr_rmrrr�)rÅr]r%r›rorjs r(r]z_dummyFileSelectBox.__init__­s€Ý×Ò˜d F¨DÐ2DÑEÔEÐEÝ)>¸tÀYÑ)OÔ)OˆÔ˜IÑ&Ý*?ÀÀjÑ*QÔ*QˆÔ˜JÑ'Ý(6°t¸XÑ(FÔ(FˆÔ˜HÑ%Ý+9¸$À Ñ+LÔ+LˆÔ˜KÑ(Ð(Ð(r*NrlrmrVr*r(r™r™¬s.€€€€€ðMðMðMðMðMðMr*r™có—eZdZdd„ZdS)rbr¨cóp—t ||||¦«t|d¦«|jd<dS)Nr`)rÅr]ror›rjs r(r]z_dummyFileComboBox.__init__µs:€Ý×Ò˜d F¨DÐ2DÑEÔEÐEÝ(6°t¸XÑ(FÔ(FˆÔ˜HÑ%Ð%Ð%r*NrlrmrVr*r(rbrb´s.€€€€€ðGðGðGðGðGðGr*rbcó—eZdZdd„ZdS)r˜r¨có—t ||||¦«t|d¦«|jd<t|d¦«|jd<t|d¦«|jd<t|d¦«|jd<dS)Nrirrhr)rÅr]rr›rjs r(r]z_dummyStdButtonBox.__init__ºs€Ý×Ò˜d F¨DÐ2DÑEÔEÐEÝ$0°°tÑ$<Ô$<ˆÔ˜DÑ!Ý'3°D¸'Ñ'BÔ'BˆÔ˜GÑ$Ý(4°T¸8Ñ(DÔ(DˆÔ˜HÑ%Ý&2°4¸Ñ&@Ô&@ˆÔ˜FÑ#Ð#Ð#r*NrlrmrVr*r(r˜r˜¹s.€€€€€ðAðAðAðAðAðAr*r˜có—eZdZdd„ZdS)Ú_dummyNoteBookFramercó@—t ||||¦«dSrQrirjs r(r]z_dummyNoteBookFrame.__init__Ârkr*N)rrmrVr*r(rœrœÁrnr*rœcó—eZdZdd„ZdS)rlr¨có@—t ||||¦«dSrQrirjs r(r]z_dummyPanedWindow.__init__Ærkr*NrlrmrVr*r(rlrlÅrnr*rlcóB—|j d|j¦«S)zzReturns the qualified path name for the widget. Normally used to set default options for subwidgets. See tixwidgets.pyÚ tixOptionNamer{)rþs r(Ú OptionNamer¢Ïs€ð Œ9�>Š>˜/¨6¬9Ñ 5Ô 5Ð5r*cór—d}| ¦«D]}|dz|zdz|zdz||zdz}Œ |S)Nrgz{{z} {z - z}} )Úkeys)ÚdictÚsÚtypes r(Ú FileTypeListr¨ÙsQ€Ø €AØ— ’ ‘ ” ðHðHˆØ �‰H�t‰O˜eÑ # dÑ *¨UÑ 2°T¸$´ZÑ ?À%Ñ GˆˆØ €Hr*có—eZdZdZdS)ÚCObjViewaBThis file implements the Canvas Object View widget. This is a base class of IconView. It implements automatic placement/adjustment of the scrollbars according to the canvas objects inside the canvas subwidget. The scrollbars are adjusted so that the canvas is just large enough to see all the objects. N)rRrSrTrUrVr*r(rªrªás€€€€€ððð €Dr*rªcó’—eZdZdZdifd„Zd„Zd„Zd„Zdd„Zdd„Z d „Z d „Z d „Z dd „Z d „Zd„Zd„Zd„Zd„Zdd„Zd„Zd„Zd„ZdS)ÚGrida}The Tix Grid command creates a new window and makes it into a tixGrid widget. Additional options, may be specified on the command line or in the option database to configure aspects such as its cursor and relief. A Grid widget displays its contents in a two dimensional grid of cells. Each cell may contain one Tix display item, which may be in text, graphics or other formats. See the DisplayStyle class for more information about Tix display items. Individual cells, or groups of cells, can be formatted with a wide range of attributes, such as its color, relief and border. Subwidgets - NoneNc óV—g}||_t ||d|||¦«dS)NÚtixGrid©r9r’r]rús r(r]z Grid.__init__þs2€ØˆØˆŒÝ×Ò˜4 ¨°F¸CÀÑDÔDÐDÐDÐDr*có>—|j |dd¦«dS)zRemoves the selection anchor.r²r¹Nr#rjs r(rºzGrid.anchor_clears €à Œ� Š �T˜8 WÑ-Ô-Ð-Ð-Ð-r*có`—| |j |dd¦«¦«S)z3Get the (x,y) coordinate of the current anchor cellr²rI©r r$r%rjs r(Ú anchor_getzGrid.anchor_get s&€à�}Š}˜TœWŸ\š\¨$°¸%Ñ@Ô@ÑAÔAÐAr*cóB—|j |dd||¦«dS)z/Set the selection anchor to the cell at (x, y).r²r³Nr#r8s r(rµzGrid.anchor_sets$€à Œ� Š �T˜8 U¨A¨qÑ1Ô1Ð1Ð1Ð1r*có„—|€|j |dd|¦«dS|j |dd||¦«dS)zdDelete rows between from_ and to inclusive. If to is not provided, delete only row at from_NrÁrr#rs r(Ú delete_rowzGrid.delete_rowsK€ð ˆ:Ø ŒG�LŠL˜˜x¨°Ñ 6Ô 6Ð 6Ð 6Ð 6à ŒG�LŠL˜˜x¨°°rÑ :Ô :Ð :Ð :Ð :r*có„—|€|j |dd|¦«dS|j |dd||¦«dS)zjDelete columns between from_ and to inclusive. If to is not provided, delete only column at from_NrÁrr#rs r(Ú delete_columnzGrid.delete_columnsK€ð ˆ:Ø ŒG�LŠL˜˜x¨°5Ñ 9Ô 9Ð 9Ð 9Ð 9à ŒG�LŠL˜˜x¨°5¸"Ñ =Ô =Ð =Ð =Ð =r*có>—|j |dd¦«dS)zUIf any cell is being edited, de-highlight the cell and applies the changes.ÚeditrNr#rjs r(Ú edit_applyzGrid.edit_apply#s"€ð Œ� Š �T˜6 7Ñ+Ô+Ð+Ð+Ð+r*cóB—|j |dd||¦«dS)zmHighlights the cell at (x, y) for editing, if the -editnotify command returns True for this cell.rºr³Nr#r8s r(Úedit_setz Grid.edit_set(s&€ð Œ� Š �T˜6 5¨!¨QÑ/Ô/Ð/Ð/Ð/r*cód—|r|ddkrd|z}|j |d|||¦«S)z&Get the option value for cell at (x,y)rr2r6r#)r&r„r…r.s r(r6zGrid.entrycget-s=€à ð "�f˜Q”i 3Ò&Ð&ؘ6‘\ˆFØŒw�|Š|˜D +¨q°!°VÑ<Ô<З|j |dd||¦«Srr#r8s r(r zGrid.info_bbox=s€àŒw�|Š|˜D &¨&°!°QÑ7Ô7Ð7r*cóD—|j |dd|||¦«dS)z¹Moves the range of columns from position FROM through TO by the distance indicated by OFFSET. For example, move_column(2, 4, 1) moves the columns 2,3,4 to columns 3,4,5.ÚmoverNr#©r&rrÚoffsets r(Ú move_columnzGrid.move_columnAs(€ð Œ� Š �T˜6 8¨U°B¸Ñ?Ô?Ð?Ð?Ð?r*cóD—|j |dd|||¦«dS)z­Moves the range of rows from position FROM through TO by the distance indicated by OFFSET. For example, move_row(2, 4, 1) moves the rows 2,3,4 to rows 3,4,5.rÅrNr#rÆs r(Úmove_rowz Grid.move_rowGs(€ð Œ� Š �T˜6 5¨%°°VÑ<Ô<Ð<Ð<Ðð>ð>ð>ð,ð,ð,ð 0ð0ð0ð =ð=ð=ð BðBðBðBð LðLðLð8ð8ð8ð@ð@ð@ð =ð=ð=ð BðBðBð/ð/ð/ð/ð 6ð6ð6ð4IðIðIð2-ð-ð-ð-ð-r*r¬có—eZdZdZdifd„ZdS)Ú ScrolledGridzScrolled Grid widgetsNc óV—g}||_t ||d|||¦«dS)NÚtixScrolledGridr¯rús r(r]zScrolledGrid.__init__™s3€ØˆØˆŒÝ×Ò˜4 Ð):¸FÀCÈÑLÔLÐLÐLÐLr*rcrVr*r(rÖrÖ•s;€€€€€ØÐð#¨ðMðMðMðMðMðMr*rÖ)wr^Úwarningsr\rÚwarnÚDeprecationWarningÚWINDOWÚTEXTÚSTATUSÚ IMMEDIATEÚIMAGEÚ IMAGETEXTÚBALLOONÚAUTOÚ ACROSSTOPÚASCIIÚCELLÚCOLUMNÚ DECREASINGÚ INCREASINGÚINTEGERÚMAINÚMAXÚREALÚROWÚS_REGIONÚX_REGIONÚY_REGIONÚ TCL_DONT_WAITÚTCL_WINDOW_EVENTSÚTCL_FILE_EVENTSÚTCL_TIMER_EVENTSÚTCL_IDLE_EVENTSÚTCL_ALL_EVENTSrrXrmršÚ __bases__r’rÅrÚrîrrr6rErWr\rerur„rŒr”r�ÚXViewÚYViewr¦rWr[rargrƒr‡r•r—r¬rºrÄr×rÝrãrèrîròrúrÿr rr>rYÚButtonrÚ CheckbuttonrnÚEntryr$ÚFramereÚLabelrùÚListboxráÚMenuržÚ Menubuttonr�Ú ScrollbarrMÚTextrær%rLrmrìroraryrˆr™rbr˜rœrlr¢r¨rªr¬rÖrVr*r(úrsðð4 € € € Ø€€€Ø€€€ØÐÐÐØÐÐÐÐÐà €„ ð-àØð ñôðð €Ø €Ø €Ø € Ø€Ø € Ø €Ø €Ø € ð €Ø €Ø €Ø € Ø € Ø €Ø €Ø €Ø €Ø €Ø €Ø €Ø €ð€ ØÐØ€ØÐ؀؀ð~Nð~Nð~Nð~Nð~Nñ~Nô~Nð~Nð@!ð!ð!ð!ð!ˆŒ�Zñ!ô!ð!ð.)7ð)7ð)7ð)7ð)7ñ)7ô)7ð)7ðZ#œ>Ô3°t°gÑ=€„ÔðGðGðGðGðG�”ñGôGðGðX3-ð3-ð3-ð3-ð3-�9ñ3-ô3-ð3-ðp(?ð(?ð(?ð(?ð(?ñ(?ô(?ð(?ð^3ð3ð3ð3ð3ˆiñ3ô3ð3ð62ð2ð2ð2ð2� ñ2ô2ð2ð&*-ð*-ð*-ð*-ð*-ˆyñ*-ô*-ð*-ðX(ð(ð(ð(ð(ˆiñ(ô(ð(ðB,ð,ð,ð,ð,ˆiñ,ô,ð,ð*,ð,ð,ð,ð,ˆiñ,ô,ð,ð,KðKðKðKðK�9ñKôKðKð&(ð(ð(ð(ð(�iñ(ô(ð(ðD)ð)ð)ð)ð)�iñ)ô)ð)ð0)ð)ð)ð)ð)˜ñ)ô)ð)ð((ð(ð(ð(ð(�Iñ(ô(ð(ð8)ð)ð)ð)ð)�yñ)ô)ð)ð* ð ð ð ð � ñ ô ð ð2@=ð@=ð@=ð@=ð@=ˆI�u˜eñ@=ô@=ð@=ðDHðHðHðHðH� ñHôHðHðBðBðBðBðB�ñBôBðBð BðBðBðBðB�ñBôBðBð$!-ð!-ð!-ð!-ð!-�9ñ!-ô!-ð!-ðF1ð1ð1ð1ð1ˆIñ1ô1ð1ð&/ð&/ð&/ð&/ð&/ˆyñ&/ô&/ð&/ðP ð ð ð ð �Iñ ô ð ð.ð.ð.ð.ð.�ñ.ô.ð.ð8'2ð'2ð'2ð'2ð'2�)ñ'2ô'2ð'2ðR7ð7ð7ð7ð7� ñ7ô7ð7ð41ð1ð1ð1ð1�9ñ1ô1ð1ð0 Bð Bð Bð Bð B�Iñ Bô Bð BðBðBðBðBðB�iñBôBðBðBðBðBðBðB�9ñBôBðBð Bð Bð Bð Bð B�Iñ Bô Bð BðBðBðBðBðB�YñBôBðBð.ð.ð.ð.ð.ˆYñ.ô.ð.ð,TðTðTðTðTˆIñTôTðTð(ð(ð(ð(ð(�)ñ(ô(ð(ð2 2ð 2ð 2ð 2ð 2�9ñ 2ô 2ð 2ðQ?ðQ?ðQ?ðQ?ðQ?ˆI�u˜eñQ?ôQ?ðQ?ðf*:ð*:ð*:ð*:ð*:ˆ9ñ*:ô*:ð*:ð\.<ð.<ð.<ð.<ð.<� ñ.<ô.<ð.<ðlFðFðFðFðF�6˜<ñFôFðFðFðFðFðFðF˜  \ñFôFðFðFðFðFðFðF�%˜ñFôFðFðFðFðFðFðF�%˜ñFôFðFðFðFðFðFðF�%˜ñFôFðFðFðFðFðFðF�G˜\ñFôFðFðFðFðFðFðF��|ñFôFðFðFðFðFðFðF�z <ñFôFðFðFðFðFðFðF�i ñFôFðFðFðFðFðFðF��|ñFôFðFðBðBðBðBðB˜O¨\ñBôBðBðFðFðFðFðF�%˜ñFôFðFðBðBðBðBðB˜-¨ñBôBðBðFðFðFðFðF�%˜ñFôFðFððððð�X˜|ñôðð"BðBðBðBðB�G˜\ñBôBðBðKðKðKðKðK˜ |ñKôKðKð Rð Rð Rð Rð R˜O¨\ñ Rô Rð RðMðMðMðMðM˜-¨ñMôMðMðGðGðGðGðG˜ <ñGôGðGð AðAðAðAðA˜ |ñAôAðAðFðFðFðFðF˜-¨ñFôFðFðFðFðFðFðF˜  \ñFôFðFð6ð6ð6ð ð ð ð ð ð ð ð ˆyñ ô ð ðf-ðf-ðf-ðf-ðf-ˆ9�e˜Uñf-ôf-ðf-ðRMðMðMðMðM�4ñMôMðMðMðMr*