ó zfc@sýdZdZddlZejdkr6ddlZnddlZeZejZddlTddl Tddl Z dZ e ej ƒZe ejƒZejZejZejZy ejWnek r×ee_nXy ejWnek rÿee_nXe jdƒZe jdƒZd „Zd „Zd „Zy ejZWnek rYnXd „Zy ejZWnek rƒnXeed „Z dfd„ƒYZ!da"ea#d„Z$d„Z%dd„Z&da'dfd„ƒYZ(de(fd„ƒYZ)de(fd„ƒYZ*de(fd„ƒYZ+de(fd„ƒYZ,dd„Z-e.Z/e Z0d„Z1d fd!„ƒYZ2d"fd#„ƒYZ3d$fd%„ƒYZ4d&fd'„ƒYZ5d(fd)„ƒYZ6d*e2e6fd+„ƒYZ7eed*dd,„Z8d-fd.„ƒYZ9d/fd0„ƒYZ:d1fd2„ƒYZ;d3e2fd4„ƒYZ<d5e<e9e:e;fd6„ƒYZ=d7e<e6fd8„ƒYZ>d9e=fd:„ƒYZ?d;„Z@d<„ZAd=„ZBd>„ZCed?„ZDd@e=e4e5fdA„ƒYZEdBe=fdC„ƒYZFdDe=e4fdE„ƒYZGdFe=fdG„ƒYZHdHe=fdI„ƒYZIdJe=e4e5fdK„ƒYZJdLe=fdM„ƒYZKdNe=fdO„ƒYZLdPe=fdQ„ƒYZMdRe=fdS„ƒYZNdTe=fdU„ƒYZOdVe=fdW„ƒYZPdXe=e4e5fdY„ƒYZQdZfd[„ƒYZRd\eLfd]„ƒYZSd^fd_„ƒYZTd`eTfda„ƒYZUdbeTfdc„ƒYZVdd„ZWde„ZXdfe=e4fdg„ƒYZYdhe=fdi„ƒYZZdje=fdk„ƒYZ[dle?fdm„ƒYZ\dne?fdo„ƒYZ]dp„Z^e_dqkrùe^ƒndS(rs2Wrapper 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 Tkconstants 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() s$Revision: 81008 $iÿÿÿÿNtwin32(t*is([\\{}])s([\s])cCsdjtt|ƒƒS(sInternal function.t (tjointmapt _stringify(tvalue((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt_joinAscCsLt|ttfƒrit|ƒdkrVt|dƒ}tj|ƒrfd|}qfqHdt|ƒ}nßt|tƒrŠt |dƒ}nt|t ƒs¨t|ƒ}n|s·d}n‘tj|ƒrtj d|ƒ}|j ddƒ}t j d|ƒ}|dd krHd |}qHn,|dd ks;t j|ƒrHd|}n|S( sInternal function.iis{%s}sutf-8s{}s\\\1s s\nt"s\( t isinstancetlistttupletlenRt _magic_retsearchRtstrtunicodetsubtreplacet _space_re(R((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyREs*  cCsbd}xU|D]M}t|ƒttfkr>|t|ƒ}q |dk r ||f}q q W|S(sInternal function.(N(ttypet TupleTypetListTypet_flattentNone(R trestitem((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR`s  cCs´t|ƒtkr|St|ƒttfkr2|Si}xqt|ƒD]c}y|j|ƒWqEttfk r§}dG|GHx(|jƒD]\}}|||scCs(|jj|jjko'|j|jkS(s•Comparison for equality (==). Note: if the Variable's master matters to behavior also compare self._master == other._master (t __class__R7RK(RRtother((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt__eq__BsN(R7R8R9RQRRWRURYRZRNR]RjR^RpRlRt(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRDàs      t StringVarcBs/eZdZdZdddd„Zd„ZRS(s#Value holder for strings variables.REcCstj||||ƒdS(s6Construct 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(RDRU(RRRSRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUNs cCs2|jj|jƒ}t|tƒr(|St|ƒS(s#Return value of variable as string.(RJR\RKR t basestringR(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]ZsN(R7R8R9RQRRUR](((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRuKs tIntVarcBs8eZdZdZdddd„Zd„Zd„ZRS(s#Value holder for integer variables.icCstj||||ƒdS(s7Construct 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. N(RDRU(RRRSRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUds cCs.t|tƒrt|ƒ}ntj||ƒS(s;Set the variable to value, converting booleans to integers.(R tboolR?RDRN(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRNpscCst|jj|jƒƒS(s/Return the value of the variable as an integer.(tgetintRJR\RK(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]vsN(R7R8R9RQRRURNR](((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRwas  t DoubleVarcBs/eZdZdZdddd„Zd„ZRS(s!Value holder for float variables.gcCstj||||ƒdS(s6Construct 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. N(RDRU(RRRSRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU}s cCst|jj|jƒƒS(s,Return the value of the variable as a float.(t getdoubleRJR\RK(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]‰sN(R7R8R9RQRRUR](((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRzzs t BooleanVarcBs8eZdZeZdddd„Zd„Zd„ZRS(s#Value holder for boolean variables.cCstj||||ƒdS(s: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. N(RDRU(RRRSRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU�s cCs"|jj|j|jj|ƒƒS(sSet the variable to VALUE.(RJR[RKRO(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRNœscCs|jj|jj|jƒƒS(s+Return the value of the variable as a bool.(RJROR\RK(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR] sN( R7R8R9tFalseRQRRURNR](((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR|�s  cCstjj|ƒdS(sRun the main loop of Tcl.N(R;R.tmainloop(tn((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR~¤scCstjj|ƒS(s1Convert true and false to integer values 1 and 0.(R;R.RO(ts((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRO¬stMisccBsDeZdZd¬Zd„Zd„Zd¬d„Zd„Zd„Z d„Z dd„Z e Z d¬d „Z d¬d „Zdd d „Zdd „ZeZeZd„Zd„ZeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd¬d„Zd„Z d„Z!dd„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)„Z0d*„Z1d+„Z2d,„Z3d-„Z4d¬d.„Z5d¬d/„Z6e6Z7d¬d0„Z8dd1„Z9dd2„Z:d3„Z;d4„Z<d5„Z=d6„Z>dd7„Z?d8„Z@d9„ZAd:„ZBd;„ZCd<„ZDd=„ZEdd>„ZFd?„ZGd@„ZHdA„ZIdB„ZJddC„ZKdD„ZLdE„ZMdF„ZNdG„ZOdH„ZPdI„ZQdJ„ZRdK„ZSdL„ZTdM„ZUdN„ZVdO„ZWdP„ZXdQ„ZYdR„ZZdS„Z[dT„Z\dU„Z]dV„Z^dW„Z_dX„Z`dY„ZaddZ„Zbd[„Zcd\„Zdd]„Zed^„Zfd_„Zgd`„Zhda„Zidb„Zjdc„Zkdd„Zlde„Zmd¬df„Zndgdh„Zod¬d¬d¬di„Zpd¬dj„Zqd¬d¬d¬dk„Zrdl„Zsd¬d¬d¬dm„Ztdn„Zuddo„Zvdp„Zwdq„Zxdr„Zyds„Zzdt„Z{e|du„ƒZ}d¬dv„Z~dw„ZeZ€d¬dgdx„Z�e�Z‚dy„Zƒd­Z„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”dš„Z•e•Z–d›„Z—e—Z˜dœ„Z™d¬d¬d¬d¬d�„ZšešZ›dž„ZœdŸ„Z�id „ZžežZŸd¡„Z e”d¢„Z¡id£„Z¢e¢Z£d¤„Z¤e¤Z¥d¬d¬d¥„Z¦d¦„Z§d§„Z¨d¨„Z©d¬d©„Zªdª„Z«d«„Z¬RS(®sRInternal class. Base class which defines methods common for interior widgets.cCsC|jdk r?x!|jD]}|jj|ƒqWd|_ndS(skInternal function. Delete all Tcl commands created for this widget in the Tcl interpreter.N(RWRR.RX(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytdestroy¸scCs<|jj|ƒy|jj|ƒWntk r7nXdS(sDInternal function. Delete the Tcl command provided in NAME.N(R.RXRWRmR@(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRXÂs  cCs"|jj|jjdd|ƒƒS(sß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.RNttk_strictMotif(R.RORP(RRtboolean((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRƒÌscCs|jjdƒdS(sDChange the color scheme to light brown as used in Tk 3.6 and before.t tk_bisqueN(R.RP(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR…ÕscOs.|jjdt|ƒt|jƒƒƒdS(s 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.t tk_setPaletteN(R†(R.RPRR!(RRtargstkw((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR†Øs cGs&ddl}|jdtddƒdS(s)Do not use. Needed in Tk 3.6 and earlier.iÿÿÿÿNs4tk_menuBar() does nothing and will be removed in 3.6t stackleveli(twarningstwarntDeprecationWarning(RRR‡RŠ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tk_menuBarås  RFcCs|jjdd|ƒdS(sƒWait until the variable is modified. A parameter of type IntVar, StringVar, DoubleVar or BooleanVar must be given.ttkwaitR_N(R.RP(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wait_variableëscCs2|dkr|}n|jjdd|jƒdS(sQWait until a WIDGET is destroyed. If no parameter is given self is used.RŽtwindowN(RR.RPt_w(RRR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wait_windowòs  cCs2|dkr|}n|jjdd|jƒdS(sxWait until the visibility of a WIDGET changes (e.g. it appears). If no parameter is given self is used.RŽt visibilityN(RR.RPR‘(RRR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwait_visibilityùs  t1cCs|jj||ƒdS(sSet Tcl variable NAME to VALUE.N(R.tsetvar(RRRTR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR–scCs|jj|ƒS(s"Return value of Tcl variable NAME.(R.tgetvar(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR—scCs|jj|ƒS(sPReturn a boolean value for Tcl boolean values true and false given as parameter.(R.RO(RRR€((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRO scCs|jjd|jƒdS(sÍ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.tfocusN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt focus_set scCs|jjdd|jƒdS(stDirect input focus to this widget even if the application does not have the focus. Use with caution!R˜s-forceN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt focus_forcescCs6|jjdƒ}|dks%| r)dS|j|ƒS(sÔ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˜tnoneN(R.RPRt _nametowidget(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt focus_getscCs?|jjdd|jƒ}|dks.| r2dS|j|ƒS(s¥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˜s -displayofR›N(R.RPR‘RRœ(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytfocus_displayof#scCs?|jjdd|jƒ}|dks.| r2dS|j|ƒS(syReturn the widget which would have the focus if top level for this widget gets the focus from the window manager.R˜s-lastforR›N(R.RPR‘RRœ(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt focus_lastfor+scCs|jjdƒdS(sXThe widget under mouse will get automatically focus. Can not be disabled easily.ttk_focusFollowsMouseN(R.RP(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR 1scCs/|jjd|jƒ}|s"dS|j|ƒS(snReturn 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.t tk_focusNextN(R.RPR‘RRœ(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¡5s cCs/|jjd|jƒ}|s"dS|j|ƒS(sHReturn previous widget in the focus order. See tk_focusNext for details.t tk_focusPrevN(R.RPR‘RRœ(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¢Ascsjˆsˆjjd|ƒdS‡‡‡‡fd†}ˆj|_ˆj|ƒ‰ˆjjd|ˆƒSdS(sCall 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.taftercs;zˆˆŒWdyˆjˆƒWntk r5nXXdS(N(RXtTclError((R‡tfuncRTRR(s&/usr/lib64/python2.7/lib-tk/Tkinter.pytcallitRs  N(R.RPRR7t _register(RRtmsR¥R‡R¦((R‡R¥RTRRs&/usr/lib64/python2.7/lib-tk/Tkinter.pyR£Fs cGs|jd||ŒS(s–Call FUNC once if the Tcl main loop has no event to process. Return an identifier to cancel the scheduling with after_cancel.tidle(R£(RRR¥R‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt after_idle]scCs‚|stdƒ‚ny?|jjdd|ƒ}|jj|ƒd}|j|ƒWntk rgnX|jjdd|ƒdS(s˜Cancel scheduling of function identified with ID. Identifier returned by after or after_idle must be given as first parameter. s?id must be a valid identifier returned from after or after_idleR£RGitcancelN(R@R.RPR*RXR¤(RRRbtdatatscript((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt after_cancelds icCs!|jjd|j|ƒƒdS(sRing a display's bell.tbellN(R¯(R.RPt _displayof(RRt displayof((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¯tscKs�d|krd|jdkrdy+d|d<|jjd|j|ƒƒSWqdtk r`|d=qdXn|jjd|j|ƒƒS(sïRetrieve data from the clipboard on window's display. The window keyword defaults to the root window of the Tkinter application. The type keyword specifies the form in which the data is to be returned and should be an atom name such as STRING or FILE_NAME. Type defaults to STRING, except on X11, where the default is to try UTF8_STRING and fall back to STRING. This command is equivalent to: selection_get(CLIPBOARD) Rtx11t UTF8_STRINGt clipboardR](R´R](R´R](t_windowingsystemR.RPt_optionsR¤(RRRˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt clipboard_getys ! cKs=d|kr|j|d 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.tbind(R[R‘(RRRXR¥RÆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR\(s'cCs6|jjd|j|dƒ|r2|j|ƒndS(sWUnbind for this widget for event SEQUENCE the function identified with FUNCID.R\REN(R.RPR‘RX(RRRXRZ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytunbindPscCs|jd|||dƒS(sBind 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\talli(R\R^(R[(RRRXR¥RÆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytbind_allVscCs|jjdd|dƒdS(s8Unbind for all widgets for event SEQUENCE all functions.R\R^REN(R.RP(RRRX((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt unbind_all\scCs|jd|f|||dƒS(s=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\i(R[(RRRËRXR¥RÆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt bind_class_s cCs|jjd||dƒdS(sWUnbind for all widgets with bindtag CLASSNAME for event SEQUENCE all functions.R\REN(R.RP(RRRËRX((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt unbind_classiscCs|jj|ƒdS(sCall the mainloop of Tk.N(R.R~(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR~mscCs|jjƒdS(s8Quit the Tcl interpreter. All widgets will be destroyed.N(R.tquit(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRcpscCs)|r%ttt|jj|ƒƒƒSdS(sInternal function.N(R RRyR.R*(RRRº((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRsscCs)|r%ttt|jj|ƒƒƒSdS(sInternal function.N(R RR{R.R*(RRRº((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt _getdoubleswscCs|r|jj|ƒSdS(sInternal function.N(R.RO(RRRº((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt _getboolean{scCs-|rd|fS|dkr)d|jfSdS(sInternal function.s -displayofN((RR‘(RRR±((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR°s    cCsLy|jƒjSWn4tk rG|jjddƒ}|jƒ_|SXdS(sInternal function.R.twindowingsystemN(RIt_windowingsystem_cachedRR.RP(RRtws((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRµ†s  "cCsE|rt||fƒ}n t|ƒ}d}x|jƒD]\}}|dk r:|ddkro|d }nt|dƒr�|j|ƒ}n–t|ttfƒr&g}xx|D]^}t|tt t fƒsÔPq²t|t t fƒrý|j d|ƒq²|j t |ƒƒq²Wdj |ƒ}n|d||f}q:q:W|S( sInternal function.iÿÿÿÿt_Ras%dRR)(N(R(R!RthasattrR§R R R RvR?tlongReRR(RRR#RˆRR&R'tnvR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¶�s*    cCsjt|ƒjdƒ}|}|ds>|jƒ}|d}nx%|D]}|sUPn|j|}qEW|S(sPReturn the Tkinter instance of a widget identified by its Tcl name NAME.t.ii(RR<RIRé(RRRTtwR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt nametowidget©s    cCs¸t|||ƒj}tt|ƒƒ}y |j}Wntk rGnXy||j}Wntk rlnX|jj||ƒ|r´|j dkr¡g|_ n|j j |ƒn|S(sÏReturn a newly created Tcl function. If this function is called, the Python function FUNC will be executed. An optional function SUBST can be given which will be executed before FUNC.N( R`RaRLRbRcRR7R.RdRWRRe(RRR¥tsubstRYRhRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR§ºs     cCs#|}x|jr|j}q W|S(sInternal function.(RS(RRRn((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRIÐs s%#s%bs%fs%hs%ks%ss%ts%ws%xs%ys%As%Es%Ks%Ns%Ws%Ts%Xs%Ys%DRcGs t|ƒt|jƒkr|S|jj}t}d„}|\}}}}} } } } } }}}}}}}}}}tƒ}||ƒ|_||ƒ|_y||ƒ|_Wnt k rÆnX||ƒ|_ || ƒ|_ || ƒ|_ || ƒ|_ || ƒ|_|| ƒ|_||ƒ|_||_y||ƒ|_Wnt k r_nX||_||ƒ|_||_y|j|ƒ|_Wntk r³||_nX||ƒ|_||ƒ|_y||ƒ|_Wntk rd|_nX|fS(sInternal function.cSs'yt|ƒSWntk r"|SXdS(s?Tk changed behavior in 8.4.2, returning "??" rather more often.N(R?R@(R€((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt getint_eventßs i(R t _subst_formatR.ROR?R6tserialtnumR˜R¤RþtkeycodetstatettimeRKRARNtchart send_eventtkeysymt keysym_numRRœtwidgetRêtx_rootty_roottdeltaR@(RRR‡RORyRqtnsigntbRhthR&R€R1RnRARNtAtEtKtNtWtTtXtYtDte((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUÙsN  ?          cCsLddl}|j|j|j}}}|jƒ}|j|||ƒdS(sInternal function.iÿÿÿÿN(tsystexc_typet exc_valuet exc_tracebackRItreport_callback_exception(RRR�texctvalttbtroot((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt_report_exceptions  cGsji}x]|jj|jj|ŒƒD]=}|jj|ƒ}|ddf|d||ddscCstdƒ‚dS(Ns)Tkinter objects don't support 'in' tests.(R (RRR4((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt __contains__@scCsI|jj}g||jj|jdƒƒD]}||ƒdd^q+S(s3Return a list of all resource names of this widget.Ršii(R.R*RPR‘(RRR*RA((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytkeysBs cCs|jS(s+Return the window path name of this widget.(R‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRZGst_noarg_cCsQ|tjkr1|j|jjdd|jƒƒS|jjdd|j|ƒdS(sSet 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. tpackt propagateN(R�RŸReR.RPR‘(RRtflag((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytpack_propagateLscCs1t|j|jj|jjdd|jƒƒƒS(sHReturn a list of all slaves of this widget in its packing order.R tslaves(RRœR.R*RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt pack_slavesYs  cCs1t|j|jj|jjdd|jƒƒƒS(sHReturn a list of all slaves of this widget in its packing order.tplaceR¤(RRœR.R*RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt place_slavesas   cCs‡dd|jf}|dk r=|dk r=|||f}n|dk rh|dk rh|||f}n|j|jj|Œƒp†dS(sÓ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. tgridtbboxN(R‘RRR.RP(RRtcolumntrowtcol2trow2R‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt grid_bboxis cCsmt|ttjfƒriy:t|ƒ}|s1dSd|krGt|ƒSt|ƒSWqitk reqiXn|S(NRm(R Rt_tkintertTcl_ObjRR{RyR@(RRRtsvalue((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt_gridconvvalue~s    cCsðt|ƒtkr_| r_|ddkr6|d }n|d dkrSd|}n|f}n|j||ƒ}|s¨t|j|jjd||j|ƒd|jƒS|jjd||j|f|ƒ}t|ƒdkrì|j|ƒSdS(sInternal function.iÿÿÿÿRiiR)R¨R0N( RRR¶R5R.RPR‘R²R (RRRÔtindexR#RˆtoptionsR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt_grid_configureŒs"      cKs|jd|||ƒS(sã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).tcolumnconfigure(Rµ(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytgrid_columnconfigure¡scCs.|j|jjdd|j||ƒƒp-dS(s”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¨tlocationN(RR.RPR‘R(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt grid_location©s cCsQ|tjkr1|j|jjdd|jƒƒS|jjdd|j|ƒdS(sSet 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. R¨R¡N(R�RŸReR.RPR‘(RRR¢((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytgrid_propagate°scKs|jd|||ƒS(sÚConfigure row INDEX of a grid. Valid resources are minsize (minimum size of the row), weight (how much does additional space propagate to this row) and pad (how much space to let additionally).t rowconfigure(Rµ(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytgrid_rowconfigure¼scCs(|j|jjdd|jƒƒp'dS(s<Return a tuple of the number of column and rows in the grid.R¨tsizeN(RR.RPR‘R(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt grid_sizeÄscCs|d}|dk r%|d|f}n|dk rD|d|f}nt|j|jj|jjdd|jf|ƒƒƒS(sHReturn a list of all slaves of this widget in its packing order.s-rows-columnR¨R¤(N(RRRœR.R*RPR‘(RRR«RªR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt grid_slavesÉs   cGs'dd|f|}|jj|ƒdS(s›Bind a virtual event VIRTUAL (of the form <>) to an event SEQUENCE such that the virtual event is triggered whenever SEQUENCE occurs.teventRÆN(R.RP(RRtvirtualt sequencesR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt event_addØscGs'dd|f|}|jj|ƒdS(s-Unbind a virtual event VIRTUAL from SEQUENCE.RÀtdeleteN(R.RP(RRRÁRÂR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt event_deleteßscKs`dd|j|f}x4|jƒD]&\}}|d|t|ƒf}q"W|jj|ƒdS(s‚Generate an event SEQUENCE. Additional keyword arguments specify parameter of the event (e.g. x, y, rootx, rooty).RÀtgenerates-%sN(R‘R!RR.RP(RRRXRˆR‡R&R'((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytevent_generateäscCs"|jj|jjdd|ƒƒS(suReturn a list of all virtual events or the information about the SEQUENCE bound to the virtual event VIRTUAL.RÀRG(R.R*RP(RRRÁ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt event_infoís cCs|jj|jjddƒƒS(s*Return a list of all existing image names.timagetnames(R.R*RP(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt image_namesõscCs|jj|jjddƒƒS(s?Return a list of all available image types (e.g. photo bitmap).RÉttypes(R.R*RP(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt image_typesùsN(s%#s%bs%fs%hs%ks%ss%ts%ws%xs%ys%As%Es%Ks%Ns%Ws%Ts%Xs%Ys%D(­R7R8R9RRWR‚RXRƒR…R†R�R�twaitvarR’R”R–R—R?RytfloatR{ROR™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àtliftRáRäRæRèRíRïRñRõR÷RøRûRýRÿRRRRRR R R RRRRRRRRR!R#R%R'R)R+R-R/R1R3R5R7R9R>R=R?RDRFRHRJRLRMRORRQRRR[R\R]R_R`RaRbR~RcRRdReR°tpropertyRµR¶RoRœR§tregisterRIRrRRVRUR–R—R˜R™RštconfigR›t __getitem__RœR�RžRZRŸR£R¡R¥R¤R§R®R©R²RµR·R¶R¹RºR¼R»R¾R½R¿RÃRÅRÇRÈRËRÍ(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR�±sP                                                                                        (             9                       R`cBs eZdZd„Zd„ZRS(swInternal class. Stores function to call when some user defined Tcl function is called e.g. after an event occurred.cCs||_||_||_dS(s(Store FUNC, SUBST and WIDGET as members.N(R¥RpR|(RRR¥RpR|((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUs  cGsby,|jr|j|Œ}n|j|ŒSWn/tk rJ}t|‚n|jjƒnXdS(s3Apply first function SUBST to arguments, than FUNC.N(RpR¥RAR|R–(RRR‡R%((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRas  (R7R8R9RURa(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR`þs tXViewcBs)eZdZd„Zd„Zd„ZRS(sXMix-in class for querying and changing the horizontal position of a widget's window.cGs2|jj|jd|Œ}|s.|j|ƒSdS(s5Query and change the horizontal position of the view.txviewN(R.RPR‘Rd(RRR‡R((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÖscCs |jj|jdd|ƒdS(ssAdjusts the view in the window so that FRACTION of the total width of the canvas is off-screen to the left.RÖtmovetoN(R.RPR‘(RRtfraction((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt xview_movetoscCs#|jj|jdd||ƒdS(s\Shift the x-view according to NUMBER which is measured in "units" or "pages" (WHAT).RÖtscrollN(R.RPR‘(RRRúRW((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt xview_scroll!s(R7R8R9RÖRÙRÛ(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÕs  tYViewcBs)eZdZd„Zd„Zd„ZRS(sVMix-in class for querying and changing the vertical position of a widget's window.cGs2|jj|jd|Œ}|s.|j|ƒSdS(s3Query and change the vertical position of the view.tyviewN(R.RPR‘Rd(RRR‡R((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÝ+scCs |jj|jdd|ƒdS(ssAdjusts the view in the window so that FRACTION of the total height of the canvas is off-screen to the top.RÝR×N(R.RPR‘(RRRØ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt yview_moveto1scCs#|jj|jdd||ƒdS(s\Shift the y-view according to NUMBER which is measured in "units" or "pages" (WHAT).RÝRÚN(R.RPR‘(RRRúRW((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt yview_scroll6s(R7R8R9RÝRÞRß(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÜ's  tWmcBseZdZddddd„ZeZd„ZeZdd„ZeZ d„Z e Z dd„Z e Z d„ZeZdd„ZeZd„ZeZdd „ZeZddddd „ZeZdd „ZeZddd „ZeZd „ZeZdd„ZeZdd„Z e Z!ddd„Z"e"Z#dd„Z$e$Z%ddd„Z&e&Z'ddd„Z(e(Z)dd„Z*e*Z+dd„Z,e,Z-ddd„Z.e.Z/ddd„Z0e0Z1dd„Z2e2Z3dd„Z4e4Z5dd„Z6e6Z7dd„Z8e8Z9d„Z:e:Z;RS(sAProvides functions for the communication with the window manager.c Cs.|j|jjdd|j||||ƒƒS(sÕ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.twmtaspect(RR.RPR‘(RRtminNumertminDenomtmaxNumertmaxDenom((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_aspect?scGs&dd|jf|}|jj|ƒS(sÅ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át attributes(R‘R.RP(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_attributesKscCs|jjdd|j|ƒS(sVStore NAME in WM_CLIENT_MACHINE property of this widget. Return current value.Rátclient(R.RPR‘(RRRT((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_clientascGsyt|ƒdkr|f}ndd|jf|}|rM|jj|ƒn(t|j|jj|jj|ƒƒƒSdS(sÛ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.iRátcolormapwindowsN(R R‘R.RPRRœR*(RRtwlistR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_colormapwindowsfs  cCs|jjdd|j|ƒS(s�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Ô(R.RPR‘(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_commandrscCs|jjdd|jƒS(sˆDeiconify this widget. If it was never mapped it will not be mapped. On Windows it will raise this widget and give it the focus.Rát deiconify(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_deiconifyxscCs|jjdd|j|ƒS(sÑSet focus model to MODEL. "active" means that this widget will claim the focus itself, "passive" means that the window manager shall give the focus. Return current focus model if MODEL is None.Rát focusmodel(R.RPR‘(RRtmodel((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_focusmodel}scCs|jjdd|jƒS(sAReturn identifier for decorative frame of this widget if present.Rátframe(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_frameƒscCs|jjdd|j|ƒS(siSet geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return current value if None is given.RáRü(R.RPR‘(RRt newGeometry((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_geometry‡sc Cs.|j|jjdd|j||||ƒƒS(sInstruct 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¨(RR.RPR‘(RRt baseWidtht baseHeighttwidthInct heightInc((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_gridŒs cCs|jjdd|j|ƒS(s~Set the group leader widgets for related widgets to PATHNAME. Return the group leader of this widget if None is given.Rátgroup(R.RPR‘(RRtpathName((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_group—scCsE|r%|jjdd|jd|ƒS|jjdd|j|ƒSdS(sŸ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 descendents 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át iconbitmaps-defaultN(R.RPR‘(RRtbitmaptdefault((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_iconbitmapœs cCs|jjdd|jƒS(sDisplay widget as icon.Ráticonify(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_iconifyªscCs|jjdd|j|ƒS(sVSet mask for the icon bitmap of this widget. Return the mask if None is given.Ráticonmask(R.RPR‘(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_iconmask®scCs|jjdd|j|ƒS(sSSet the name of the icon for this widget. Return the name if None is given.Ráticonname(R.RPR‘(RRtnewName((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_iconname³scCs(|j|jjdd|j||ƒƒS(s�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át iconposition(RR.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_iconposition¸scCs|jjdd|j|ƒS(sgSet widget PATHNAME to be displayed instead of icon. Return the current value if None is given.Rát iconwindow(R.RPR‘(RRRÿ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_iconwindow¾scCs(|j|jjdd|j||ƒƒS(s¢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átmaxsize(RR.RPR‘(RRRKRþ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_maxsizeÃscCs(|j|jjdd|j||ƒƒS(s¢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átminsize(RR.RPR‘(RRRKRþ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_minsizeÊscCs%|j|jjdd|j|ƒƒS(sˆInstruct the window manager to ignore this widget if BOOLEAN is given with 1. Return the current value if None is given.Rátoverrideredirect(ReR.RPR‘(RRR„((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_overrideredirectÑscCs|jjdd|j|ƒS(s¦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át positionfrom(R.RPR‘(RRtwho((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_positionfromØscCsFt|dƒr!|j|ƒ}n|}|jjdd|j||ƒS(s´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".RaRátprotocol(RjR§R.RPR‘(RRRTR¥RÔ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_protocolÞs  cCs|jjdd|j||ƒS(syInstruct the window manager whether this width can be resized in WIDTH or HEIGHT. Both values are boolean values.Rát resizable(R.RPR‘(RRRKRþ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_resizableéscCs|jjdd|j|ƒS(s¢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átsizefrom(R.RPR‘(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_sizefromîscCs|jjdd|j|ƒS(s†Query or set the state of this widget as one of normal, icon, iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).RáRv(R.RPR‘(RRtnewstate((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_stateôscCs|jjdd|j|ƒS(sSet the title of this widget.Ráttitle(R.RPR‘(RRRº((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwm_titleùscCs|jjdd|j|ƒS(s_Instruct the window manager that this widget is transient with regard to widget MASTER.Rát transient(R.RPR‘(RRRS((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_transientýscCs|jjdd|jƒS(sˆWithdraw this widget from the screen such that it is unmapped and forgotten by the window manager. Re-draw it with wm_deiconify.Rátwithdraw(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt wm_withdrawsN(<R7R8R9RRçRâRéRèRëRêRîRìRïRÔRñRðRôRòRöRõRøRüRýR¨RRþRRRRRRR R R R RRRRRRRRRRRRRRRRR RvR"R!R$R#R&R%(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRà<sv                      tTkcBseeZdZdZd d dddd d„Zd„Zd„Zd„Zd „Z d „Z d „Z RS( szToplevel widget of Tk which represents mostly the main window of an application. It has an associated Tcl interpreter.RmR'iic Csìd|_i|_d|_d|_|dkr‰ddl}|jjtj dƒ}|jj |ƒ\}}|dkr‰||}q‰nd} t j |||| t |||ƒ|_|rÉ|jƒntjjsè|j||ƒndS(s@Return a new Toplevel 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.iiÿÿÿÿNs.pys.pycs.pyo(s.pys.pycs.pyo(RRSRét _tkloadedR.tostpathtbasenameR�targvtsplitextR¯tcreatet wantobjectst_loadtktflagstignore_environmentt readprofile( RRt screenNametbaseNameRËtuseTktsynctuseR)textt interactive((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU s        '  cCs'|js#|jjƒ|jƒndS(N(R(R.tloadtkR0(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR;'s  cCs3d|_|jjdƒ}|tjkrCtdtj|f‚nt|jjdƒƒ}|tjkrƒtdtj|f‚ntdkr¥tdttƒ‚n|j dkrÀg|_ n|jj dt ƒ|jj d t ƒ|j jdƒ|j jd ƒtrt r|an|jd |jƒdS( Nit tk_versions4tk.h version (%s) doesn't match libtk.a version (%s)t tcl_versions6tcl.h version (%s) doesn't match libtcl.a version (%s)g@s)Tk 4.0 or higher is required; found Tk %sttkerrortexittWM_DELETE_WINDOW(R(R.R—R¯t TK_VERSIONR+Rt TCL_VERSIONt TkVersionRWRRdR>RCReR:R;RR‚(RRR<R=((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR0+s0     cCsfx!|jjƒD]}|jƒqW|jjd|jƒtj|ƒtrbt|krbdandS(shDestroy this and all descendants widgets. This will end the application of this Tcl interpreter.R‚N( RétvaluesR‚R.RPR‘R�R:R;R(RRR$((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR‚Js  c BsEddl}d|jkr+|jd}n |j}|jj|d|ƒ}|jj|d|ƒ}|jj|d|ƒ}|jj|d|ƒ}i|d6} d| U|jj|ƒrÕ|jjd|ƒn|jj|ƒr÷e|| ƒn|jj|ƒr|jjd|ƒn|jj|ƒrAe|| ƒndS( sÃInternal function. It reads BASENAME.tcl and CLASSNAME.tcl into the Tcl Interpreter and calls execfile on BASENAME.py and CLASSNAME.py if such a file exists in the home directory.iÿÿÿÿNtHOMEs.%s.tcls.%s.pyRRsfrom Tkinter import *tsource( R)tenvirontcurdirR*RtisfileR.RPtexecfile( RRR5RËR)thomet class_tcltclass_pytbase_tcltbase_pytdir((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR3Ss$   cCsWddl}ddl}|jdIJ||_||_||_|j|||ƒdS(s—Report callback exception on sys.stderr. Applications may want to override this internal function, and should when sys.stderr is None.iÿÿÿÿNsException in Tkinter callback(t tracebackR�tstderrt last_typet last_valuetlast_tracebacktprint_exception(RRR’R“R”RQR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR‘hs     cCst|j|ƒS(s3Delegate attribute access to the interpreter object(tgetattrR.(RRtattr((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt __getattr__ssN( R7R8R9R‘RRUR;R0R‚R3R‘RY(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR' s     cCst||||ƒS(N(R'(R4R5RËR6((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytTcl†stPackcBs`eZdZid„ZeZZZd„ZeZd„Z e Z e j Z Z e jZZRS(sQGeometry manager Pack. Base class to use the methods pack_* in every widget.cKs0|jjdd|jf|j||ƒƒdS(s(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. R RšN(R.RPR‘R¶(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytpack_configure�s cCs|jjdd|jƒdS(s:Unmap this widget and do not use it for the packing order.R tforgetN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt pack_forget¡scCsQt|j|jjdd|jƒƒ}d|krM|j|dƒ|deZdZd„Ziidd„Zd„Zdd„ZRS(sInternal class.cCs tr*|s*tstƒant}q*n||_|j|_d}d|kre|d}|d=n|s€tt|ƒƒ}n||_|j dkr¨d||_ n|j d||_ i|_ |j|jj krô|jj |jj ƒn||jj |jd9„Z?RS(;s?Canvas widget to display graphical elements like lines or text.cKstj||d||ƒdS(sConstruct 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.tcanvasN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU·s cGs!|jj|jdf|ƒdS(sInternal function.taddtagN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRŒÂscCs|j|d|ƒdS(s*Add tag NEWTAG to all items above TAGORID.taboveN(RŒ(RRtnewtagttagOrId((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt addtag_aboveÅscCs|j|dƒdS(sAdd tag NEWTAG to all items.R^N(RŒ(RRRŽ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt addtag_allÈscCs|j|d|ƒdS(s*Add tag NEWTAG to all items below TAGORID.tbelowN(RŒ(RRRŽR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt addtag_belowËscCs |j|d||||ƒdS(s÷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 closests). If START is specified the next below this tag is taken.tclosestN(RŒ(RRRŽRARNthalotstart((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytaddtag_closestÎscCs |j|d||||ƒdS(sLAdd tag NEWTAG to all items in the rectangle defined by X1,Y1,X2,Y2.tenclosedN(RŒ(RRRŽtx1ty1tx2ty2((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytaddtag_enclosedÔscCs |j|d||||ƒdS(sWAdd tag NEWTAG to all items which overlap the rectangle defined by X1,Y1,X2,Y2.t overlappingN(RŒ(RRRŽR™RšR›Rœ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytaddtag_overlappingØscCs|j|d|ƒdS(s)Add tag NEWTAG to all items with TAGORID.twithtagN(RŒ(RRRŽR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytaddtag_withtagÜscGs,|j|jj|jdf|ƒƒp+dS(s|Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle which encloses all items with tags specified as arguments.R©N(RR.RPR‘R(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR©ßscCs9|jj|jd||dƒ|r5|j|ƒndS(sbUnbind for all items with TAGORID for event SEQUENCE the function identified with FUNCID.R\REN(R.RPR‘RX(RRR�RXRZ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_unbindäscCs"|j|jd|f|||ƒS(s&Bind to all items with TAGORID at 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\(R[R‘(RRR�RXR¥RÆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyttag_bindêscCs"t|jj|jd||ƒƒS(srReturn the canvas x coordinate of pixel position SCREENX rounded to nearest multiple of GRIDSPACING units.tcanvasx(R{R.RPR‘(RRtscreenxt gridspacing((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¤òs cCs"t|jj|jd||ƒƒS(srReturn the canvas y coordinate of pixel position SCREENY rounded to nearest multiple of GRIDSPACING units.tcanvasy(R{R.RPR‘(RRtscreenyR¦((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR§÷s cGs2tt|jj|jj|jdf|ƒƒƒS(s8Return a list of coordinates for the item given in ARGS.tcoords(RR{R.R*RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR©üs c Csst|ƒ}|d}t|ƒttfkr;|d }ni}t|jj|jd|||j||ƒŒƒS(sInternal function.iÿÿÿÿR.( RRRRRyR.RPR‘R¶(RRtitemTypeR‡RˆR#((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt_create s     cOs|jd||ƒS(s6Create arc shaped region with coordinates x1,y1,x2,y2.tarc(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_arc scOs|jd||ƒS(s%Create bitmap with coordinates x1,y1.R(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_bitmap scOs|jd||ƒS(s)Create image item with coordinates x1,y1.RÉ(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_image scOs|jd||ƒS(s-Create line with coordinates x1,y1,...,xn,yn.tline(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_line scOs|jd||ƒS(s)Create oval with coordinates x1,y1,x2,y2.toval(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_oval scOs|jd||ƒS(s0Create polygon with coordinates x1,y1,...,xn,yn.tpolygon(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytcreate_polygon scOs|jd||ƒS(s.Create rectangle with coordinates x1,y1,x2,y2.t rectangle(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytcreate_rectangle scOs|jd||ƒS(s#Create text with coordinates x1,y1.ttext(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_text" scOs|jd||ƒS(s+Create window with coordinates x1,y1,x2,y2.R�(R«(RRR‡Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt create_window% scGs!|jj|jdf|ƒdS(sŠDelete characters of text items identified by tag or id in ARGS (possibly several times) from FIRST to LAST character (including).tdcharsN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR»( scGs!|jj|jdf|ƒdS(s<Delete items identified by all tag or ids contained in ARGS.RÄN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÄ, scGs!|jj|jdf|ƒdS(siDelete tag or id given as last arguments in ARGS from items identified by first argument in ARGS.tdtagN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¼/ scGs,|j|jj|jdf|ƒƒp+dS(sInternal function.tfind((RR.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR½3 scCs|jd|ƒS(sReturn items above TAGORID.R�(R½(RRR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt find_above7 scCs |jdƒS(sReturn all items.R^(R½(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytfind_all: scCs|jd|ƒS(sReturn all items below TAGORID.R’(R½(RRR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt find_below= scCs|jd||||ƒS(sëReturn 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.R”(R½(RRRARNR•R–((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt find_closest@ scCs|jd||||ƒS(s=Return all items in rectangle defined by X1,Y1,X2,Y2.R˜(R½(RRR™RšR›Rœ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt find_enclosedF scCs|jd||||ƒS(sLReturn all items which overlap the rectangle defined by X1,Y1,X2,Y2.Rž(R½(RRR™RšR›Rœ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytfind_overlappingJ scCs|jd|ƒS(sReturn all items with TAGORID.R (R½(RRR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt find_withtagN scGs|jj|jdf|ƒS(s.Set focus to the first item specified in ARGS.R˜(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR˜Q scGs)|jj|jj|jdf|ƒƒS(s=Return tags associated with the first item specified in ARGS.tgettags(R.R*RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÅT s cGs!|jj|jdf|ƒdS(sdSet cursor at position POS in the item identified by TAGORID. In ARGS TAGORID must be first.ticursorN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÆX scGs#t|jj|jdf|ƒƒS(s?Return position of cursor as integer in item specified in ARGS.R³(RyR.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR³\ scGs!|jj|jdf|ƒdS(sSInsert TEXT in item TAGORID at position POS. ARGS must be TAGORID POS TEXT.R„N(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR„_ scCs'|jj|jdf|d|fƒS(s9Return the resource value for an OPTION for item TAGORID.titemcgetR)(R.RPR‘(RRR�RÅ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÇc s cKs|jd|f||ƒS(sàConfigure resources of an item TAGORID. The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method without arguments. t itemconfigure(R™(RRR�R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÈg scGs!|jj|jdf|ƒdS(sJLower an item TAGORID given in ARGS (optional below another item).RÜN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_lowert scGs!|jj|jdf|ƒdS(s#Move an item TAGORID given in ARGS.tmoveN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÊy scKs)|jj|jdf|j||ƒƒS(sÏPrint the contents of the canvas to a postscript file. Valid options: colormap, colormode, file, fontmap, height, pageanchor, pageheight, pagewidth, pagex, pagey, rotate, width, x, y.t postscript(R.RPR‘R¶(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRË| scGs!|jj|jdf|ƒdS(sJRaise an item TAGORID given in ARGS (optional above another item).RÞN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_raiseƒ scGs!|jj|jdf|ƒdS(s9Scale item TAGORID with XORIGIN, YORIGIN, XSCALE, YSCALE.tscaleN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR͈ scCs#|jj|jdd||ƒdS(s&Remember the current X, Y coordinates.tscantmarkN(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt scan_mark‹ si cCs&|jj|jdd|||ƒdS(s‚Adjust the view of the canvas to GAIN times the difference between X and Y and the coordinates given in scan_mark.RÎtdragtoN(R.RPR‘(RRRARNtgain((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt scan_dragtoŽ scCs#|jj|jdd||ƒdS(sLAdjust the end of the selection near the cursor of an item TAGORID to index.tselecttadjustN(R.RPR‘(RRR�R³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt select_adjust“ scCs|jj|jddƒdS(s,Clear the selection if it is in this widget.RÔR¸N(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt select_clear– scCs#|jj|jdd||ƒdS(s:Set the fixed end of a selection in item TAGORID to INDEX.RÔtfromN(R.RPR‘(RRR�R³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt select_from™ scCs|jj|jddƒpdS(s(Return the item which has the selection.RÔRN(R.RPR‘R(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt select_itemœ scCs#|jj|jdd||ƒdS(s=Set the variable end of a selection in item TAGORID to INDEX.RÔttoN(R.RPR‘(RRR�R³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt select_toŸ scCs|jj|jd|ƒpdS(s$Return the type of the item TAGORID.RN(R.RPR‘R(RRR�((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¢ sN(@R7R8R9RRURŒ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Èt itemconfigRÉRÜRÊRËRÌRÐRàRÍRÐRÓRÖR×RÙRÚRÜR(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRеsx                                                   t CheckbuttoncBsJeZdZdid„Zd„Zd„Zd„Zd„Zd„Z RS(s7Checkbutton widget which is either in on- or off-state.cKstj||d||ƒdS(sConstruct 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.t checkbuttonN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU¨ s cCs|jj|jdƒdS(sPut the button in off-state.tdeselectN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRà³ scCs|jj|jdƒdS(sFlash the button.R€N(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR€¶ scCs|jj|jdƒS(s<Toggle the button and invoke a command if given as resource.R�(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR�¹ scCs|jj|jdƒdS(sPut the button in on-state.RÔN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÔ¼ scCs|jj|jdƒdS(sToggle the button.ttoggleN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRá¿ sN( R7R8R9RRURàR€R�RÔRá(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÞ¦ s    tEntrycBs¹eZdZdid„Zdd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z e Z d „ZeZd „ZeZd „ZeZd „ZeZd„ZeZRS(s1Entry widget which allows displaying simple text.cKstj||d||ƒdS(sConstruct 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.tentryN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUÅ s cCs |jj|jd||ƒdS(s.Delete text from FIRST to LAST (not included).RÄN(R.RPR‘(RRtfirsttlast((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÄÑ scCs|jj|jdƒS(sReturn the text.R](R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]Ô scCs|jj|jd|ƒdS(sInsert cursor at INDEX.RÆN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÆ× scCst|jj|jd|ƒƒS(sReturn position of cursor.R³(RyR.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR³Ú s cCs |jj|jd||ƒdS(sInsert STRING at INDEX.R„N(R.RPR‘(RRR³Rº((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR„Þ scCs |jj|jdd|ƒdS(s&Remember the current X, Y coordinates.RÎRÏN(R.RPR‘(RRRA((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÐá scCs |jj|jdd|ƒdS(s€Adjust the view of the canvas to 10 times the difference between X and Y and the coordinates given in scan_mark.RÎRÑN(R.RPR‘(RRRA((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÓä scCs |jj|jdd|ƒdS(s9Adjust the end of the selection near the cursor to INDEX.RÐRÕN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytselection_adjusté scCs|jj|jddƒdS(s,Clear the selection if it is in this widget.RÐR¸N(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÑí scCs |jj|jdd|ƒdS(s*Set the fixed end of a selection to INDEX.RÐRØN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytselection_fromñ scCs%|jj|jj|jddƒƒS(sSReturn True if there are characters selected in the entry, False otherwise.RÐtpresent(R.RORPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytselection_presentõ s cCs#|jj|jdd||ƒdS(s3Set the selection from START to END (not included).RÐtrangeN(R.RPR‘(RRR–R‚((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytselection_rangeû scCs |jj|jdd|ƒdS(s-Set the variable end of a selection to INDEX.RÐRÛN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt selection_toÿ sN(R7R8R9RRURÄR]RÆR³R„RÐRÓRæRÖRÑR×RçRÙRétselect_presentRët select_rangeRìRÜ(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRâà s*             tFramecBseZdZdid„ZRS(sFFrame widget which may contain other widgets and can have a 3D border.cKs„t||fƒ}d}d|kr>d|df}|d=n&d|krdd|df}|d=ntj||d|i|ƒdS(sConstruct 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.Rts-classRîRõN((R(RrRU(RRRSR#RˆRo((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU s    N(R7R8R9RRU(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRï stLabelcBseZdZdid„ZRS(s0Label widget which can display text and bitmaps.cKstj||d||ƒdS(sù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 tlabelN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU sN(R7R8R9RRU(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRð stListboxcBsìeZdZdid„Zd„Zd„Zd„Zdd„Zdd„Z d„Z d„Z d „Z d „Z d „Zd „Zd „ZeZdd„ZeZd„ZeZdd„ZeZd„Zd„Zdd„ZeZRS(s3Listbox widget which can display a list of strings.cKstj||d||ƒdS(s–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.tlistboxN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU. scCs|jj|jd|ƒdS(s"Activate item identified by INDEX.tactivateN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRô7 scCs(|j|jj|jd|ƒƒp'dS(sxReturn a tuple of X1,Y1,X2,Y2 coordinates for a rectangle which encloses the item identified by the given index.R©N(RR.RPR‘R(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR©: scCs%|j|jj|jdƒƒp$dS(s.Return the indices of currently selected item.t curselection((RR.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRõ> scCs |jj|jd||ƒdS(s+Delete items from FIRST to LAST (included).RÄN(R.RPR‘(RRRäRå((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÄA scCsQ|dk r4|jj|jj|jd||ƒƒS|jj|jd|ƒSdS(s0Get list of items from FIRST to LAST (included).R]N(RR.R*RPR‘(RRRäRå((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]D s cCs5|jj|jd|ƒ}|dkr+dSt|ƒS(s+Return index of item identified with INDEX.R³R›N(R.RPR‘RRy(RRR³ti((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR³K s cGs$|jj|jd|f|ƒdS(sInsert ELEMENTS at INDEX.R„N(R.RPR‘(RRR³telements((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR„P scCst|jj|jd|ƒƒS(s5Get index of item which is nearest to y coordinate Y.tnearest(RyR.RPR‘(RRRN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRøS s cCs#|jj|jdd||ƒdS(s&Remember the current X, Y coordinates.RÎRÏN(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÐW scCs#|jj|jdd||ƒdS(s�Adjust the view of the listbox to 10 times the difference between X and Y and the coordinates given in scan_mark.RÎRÑN(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÓZ scCs|jj|jd|ƒdS(s"Scroll such that INDEX is visible.tseeN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRù_ scCs |jj|jdd|ƒdS(s-Set the fixed end oft the selection to INDEX.RÐtanchorN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytselection_anchorb scCs#|jj|jdd||ƒdS(s2Clear the selection from FIRST to LAST (included).RÐR¸N(R.RPR‘(RRRäRå((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÑf scCs(|jj|jj|jdd|ƒƒS(s+Return 1 if INDEX is part of the selection.RÐtincludes(R.RORPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytselection_includesk scCs#|jj|jdd||ƒdS(siSet the selection from FIRST to LAST (included) without changing the currently selected elements.RÐRNN(R.RPR‘(RRRäRå((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt selection_setp scCst|jj|jdƒƒS(s-Return the number of elements in the listbox.R½(RyR.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR½u scCs'|jj|jdf|d|fƒS(s4Return the resource value for an ITEM and an OPTION.RÇR)(R.RPR‘(RRR³RÅ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÇx s cKs|jd|f||ƒS(s9Configure resources of an ITEM. The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method without arguments. Valid resource names: background, bg, foreground, fg, selectbackground, selectforeground.RÈ(R™(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÈ| sN(R7R8R9RRURôR©RõRÄR]R³R„RøRÐRÓRùRût select_anchorRÑR×Rýtselect_includesRþt select_setR½RÇRÈRÝ(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRò, s2                  tMenucBs‚eZdZd%id„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d „Z d „Zd „Zd d„Zd„Zid„Zid„Zid„Zid„Zid„Zid„Zid„Zid„Zid„Zid„Zid„Zid„Zd%d„Zd„Zd%d„Z e Z!d„Z"d „Z#d!„Z$d"„Z%d#„Z&d$„Z'RS(&sPMenu widget which allows displaying menu bars, pull-down menus and pop-up menus.cKstj||d||ƒdS(sAConstruct menu widget with the parent MASTER. Valid resource names: activebackground, activeborderwidth, activeforeground, background, bd, bg, borderwidth, cursor, disabledforeground, fg, font, foreground, postcommand, relief, selectcolor, takefocus, tearoff, tearoffcommand, title, type.tmenuN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU‰ scCs&ddl}|jdtddƒdS(Niÿÿÿÿs=tk_bindForTraversal() does nothing and will be removed in 3.6R‰i(RŠR‹RŒ(RRRŠ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyttk_bindForTraversal‘ s  cCs|jjd|jƒdS(Nt tk_mbPost(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR— scCs|jjdƒdS(Nt tk_mbUnpost(R.RP(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR™ scCs|jjd|j|ƒdS(Nttk_traverseToMenu(R.RPR‘(RRRx((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR› scCs|jjd|j|ƒdS(Nttk_traverseWithinMenu(R.RPR‘(RRRx((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR� scCs|jjd|jƒS(Nttk_getMenuButtons(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR Ÿ scCs|jjd|ƒdS(Nt tk_nextMenu(R.RP(RRtcount((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR ¡ scCs|jjd|ƒdS(Nttk_nextMenuEntry(R.RP(RRR ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR £ scCs|jjd|jƒdS(Nt tk_invokeMenu(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR ¥ scCs|jjd|jƒdS(Nt tk_firstMenu(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR§ scCs|jjd|jƒdS(Nttk_mbButtonDown(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR© sREcCs#|jjd|j|||ƒdS(s/Post the menu at position X,Y with entry ENTRY.ttk_popupN(R.RPR‘(RRRARNRã((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR« scCs|jj|jd|ƒdS(sActivate entry at INDEX.RôN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRô® scKs0|jj|jd|f|j||ƒƒdS(sInternal function.RÆN(R.RPR‘R¶(RRRªR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRƱ scKs|jd|p|ƒdS(sAdd hierarchical menu item.tcascadeN(RÆ(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt add_cascadeµ scKs|jd|p|ƒdS(sAdd checkbutton menu item.RßN(RÆ(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytadd_checkbutton¸ scKs|jd|p|ƒdS(sAdd command menu item.RÔN(RÆ(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt add_command» scKs|jd|p|ƒdS(sAddd radio menu item.t radiobuttonN(RÆ(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytadd_radiobutton¾ scKs|jd|p|ƒdS(sAdd separator.t separatorN(RÆ(RRR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt add_separatorÁ scKs3|jj|jd||f|j||ƒƒdS(sInternal function.R„N(R.RPR‘R¶(RRR³RªR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR„Ä scKs|j|d|p|ƒdS(s$Add hierarchical menu item at INDEX.RN(R„(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytinsert_cascadeÈ scKs|j|d|p|ƒdS(s#Add checkbutton menu item at INDEX.RßN(R„(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytinsert_checkbuttonË scKs|j|d|p|ƒdS(sAdd command menu item at INDEX.RÔN(R„(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytinsert_commandÎ scKs|j|d|p|ƒdS(sAddd radio menu item at INDEX.RN(R„(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytinsert_radiobuttonÑ scKs|j|d|p|ƒdS(sAdd separator at INDEX.RN(R„(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytinsert_separatorÔ scCsß|dkr|}n|j|ƒ|j|ƒ}}|dksL|dkr[d\}}nxat||dƒD]L}d|j|ƒkrot|j|dƒƒ}|r»|j|ƒq»qoqoW|jj|j d||ƒdS(s7Delete menu items between INDEX1 and INDEX2 (included).iiÿÿÿÿiRÔRÄN(iiÿÿÿÿ( RR³Rêt entryconfigRt entrycgetRXR.RPR‘(RRtindex1tindex2t num_index1t num_index2RöR$((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÄ× s  cCs |jj|jd|d|ƒS(s=Return the resource value of a menu item for OPTION at INDEX.RR)(R.RPR‘(RRR³RÅ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRæ scKs|jd|f||ƒS(sConfigure a menu item at INDEX.tentryconfigure(R™(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR$é scCs5|jj|jd|ƒ}|dkr+dSt|ƒS(s4Return the index of a menu item identified by INDEX.R³R›N(R.RPR‘RRy(RRR³Rö((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR³í s cCs|jj|jd|ƒS(sRInvoke a menu item identified by INDEX and execute the associated command.R�(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR�ò scCs |jj|jd||ƒdS(sDisplay a menu at position X,Y.tpostN(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR%ö scCs|jj|jd|ƒS(s*Return the type of the menu item at INDEX.R(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRù scCs|jj|jdƒdS(s Unmap a menu.tunpostN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR&ü scCst|jj|jd|ƒƒS(sEReturn the y-position of the topmost pixel of the menu item at INDEX.t yposition(RyR.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR'ÿ s N((R7R8R9RRURRRRRR R R R RRRRôRÆRRRRRR„RRRRRRÄRR$RR³R�R%RR&R'(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR‡ sJ                                 t MenubuttoncBseZdZdid„ZRS(s(Menubutton widget, obsolete since Tk8.0.cKstj||d||ƒdS(Nt menubutton(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU sN(R7R8R9RRU(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR( stMessagecBseZdZdid„ZRS(sKMessage widget to display multiline text. Obsolete since Label does it too.cKstj||d||ƒdS(Ntmessage(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU sN(R7R8R9RRU(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR* st RadiobuttoncBsAeZdZdid„Zd„Zd„Zd„Zd„ZRS(sGRadiobutton widget which shows only one of several buttons in on-state.cKstj||d||ƒdS(söConstruct a radiobutton 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, padx, pady, relief, selectcolor, selectimage, state, takefocus, text, textvariable, underline, value, variable, width, wraplength.RN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU s cCs|jj|jdƒdS(sPut the button in off-state.RàN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRà scCs|jj|jdƒdS(sFlash the button.R€N(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR€ scCs|jj|jdƒS(s<Toggle the button and invoke a command if given as resource.R�(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR�" scCs|jj|jdƒdS(sPut the button in on-state.RÔN(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÔ% sN( R7R8R9RRURàR€R�RÔ(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR, s    tScalecBsDeZdZdid„Zd„Zd„Zdd„Zd„ZRS(s1Scale widget which can display a numerical scale.cKstj||d||ƒdS(s×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.RÍN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU+ s cCsE|jj|jdƒ}yt|ƒSWntk r@t|ƒSXdS(s*Get the current value as integer or float.R]N(R.RPR‘RyR@R{(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]5 s  cCs|jj|jd|ƒdS(sSet the value to VALUE.RNN(R.RPR‘(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRN< scCs"|j|jj|jd|ƒƒS(s•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©(RR.RPR‘(RRR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR©? scCs|jj|jd||ƒS(scReturn where the point X,Y lies. Valid return values are "slider", "though1" and "though2".tidentify(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR.E sN( R7R8R9RRUR]RNR©R.(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR-) s    t ScrollbarcBsSeZdZdid„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( s?Scrollbar widget which displays a slider at a certain position.cKstj||d||ƒdS(slConstruct 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.t scrollbarN(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUL s cCs|jj|jd|ƒdS(sxDisplay the element at INDEX with activebackground and activerelief. INDEX can be "arrow1","slider" or "arrow2".RôN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRôV scCs"t|jj|jd||ƒƒS(snReturn the fractional change of the scrollbar setting if it would be moved by DELTAX or DELTAY pixels.R(R{R.RPR‘(RRtdeltaxtdeltay((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRZ scCs"t|jj|jd||ƒƒS(sRReturn the fractional value which corresponds to a slider position of X,Y.RØ(R{R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRØ_ scCs|jj|jd||ƒS(sYReturn the element under position X,Y as one of "arrow1","slider","arrow2" or "".R.(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR.c scCs|j|jj|jdƒƒS(sZReturn the current fractional values (upper and lower end) of the slider position.R](RdR.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR]g scGs!|jj|jdf|ƒdS(siSet the fractional values of the slider position (upper and lower ends as value between 0 and 1).RNN(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRNk sN( R7R8R9RRURôRRØR.R]RN(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR/J s     tTextc BsHeZdZd5id„Zd„Zd„Zd„Zd„Zd„Z d„Z d5d„Z d5d „Z d „Z d5d5d „Zd „Zd5d „Zd„Zd„Zd„Zd„Zd5d„Zd„Zd5d„Zid„Zd„Zd„Zd„Zd5d„Zd„Zd„Zd„Zd„Z d„Z!d„Z"d „Z#d5d5d5d5d5d5d5d5d!„Z$d"„Z%d#„Z&d5d$„Z'd5d%„Z(d&„Z)d5d'„Z*e*Z+d(„Z,d5d)„Z-d5d*„Z.d5d+„Z/d5d,„Z0d5d-„Z1d.„Z2d5d/„Z3d0„Z4d5d1„Z5e5Z6id2„Z7d3„Z8d4„Z9RS(6s4Text widget which can display text in various forms.cKstj||d||ƒdS(s¼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¸N(RrRU(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUt scGs,|j|jj|jdf|ƒƒp+dS(s„Return a tuple of (x,y,width,height) which gives the bounding box of the visible part of the character at the index in ARGS.R©N(RR.RPR‘R(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR©Œ scCs|jjd|j|ƒdS(Nttk_textSelectTo(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR4‘ scCs|jjd|jƒdS(Nttk_textBackspace(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR5“ scCs#|jjd|j|||ƒdS(Nttk_textIndexCloser(R.RPR‘(RRR…R�R$((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR6• scCs|jjd|j|ƒdS(Nttk_textResetAnchor(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR7— scCs+|jj|jj|jd|||ƒƒS(s€Return whether between index INDEX1 and index INDEX2 the relation OP is satisfied. OP is one of <, <=, ==, >=, >, or !=.tcompare(R.RORPR‘(RRR topR!((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR8™ scCsK|dkr.|jj|jj|jdƒƒS|jj|jd|ƒdS(sjTurn on the internal consistency checks of the B-Tree inside the text widget according to BOOLEAN.tdebugN(RR.RORPR‘(RRR„((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR:ž s "cCs |jj|jd||ƒdS(s?Delete the characters between INDEX1 and INDEX2 (not included).RÄN(R.RPR‘(RRR R!((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRĤ scCs"|j|jj|jd|ƒƒS(s©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.t dlineinfo(RR.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR;§ sc Ksùg}d}d}|s3g}|d„}|}nz¨t|tƒs[|j|ƒ}}n|d|g7}x,|D]$} || rr|jd| ƒqrqrW|j|ƒ|r½|j|ƒn|jj|jd|Œ|SWd|rô|j|ƒnXdS(sŽ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.cSs|j|||fƒdS(N(Re(R4RR³Rë((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt append_tripleÁ ss-commandR)tdumpN( RR RR§ReR.RPR‘RX( RRR R!RÔRˆR‡t func_nameRëR<R4((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR=¬ s*      cGs|jj|jd|ŒS(srInternal 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 tedit(R.RPR‘(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR?Ô s cCs|jd|ƒS(s;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. tmodified(R?(RRtarg((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt edit_modifiedã s cCs |jdƒS(s 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. tredo(R?(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt edit_redoî scCs |jdƒS(s(Clears the undo and redo stacks treset(R?(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt edit_resetø scCs |jdƒS(snInserts a separator (boundary) on the undo stack. Does nothing when the undo option is false R(R?(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytedit_separatorý scCs |jdƒS(sDUndoes 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 tundo(R?(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt edit_undo s cCs|jj|jd||ƒS(s5Return the text from INDEX1 to INDEX2 (not included).R](R.RPR‘(RRR R!((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR] scCsY|d dkrd|}n|ddkr:|d }n|jj|jdd||ƒS(s9Return the value of OPTION of an embedded image at INDEX.iR)iÿÿÿÿRiRÉR›(R.RPR‘(RRR³RÅ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt image_cget s   cKs|jdd|f||ƒS(s%Configure an embedded image at INDEX.RÉRš(R™(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytimage_configure scKs+|jj|jdd||j||ƒŒS(s"Create an embedded image at INDEX.RÉR.(R.RPR‘R¶(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt image_create s cCs|jj|jddƒS(s3Return all names of embedded images in this widget.RÉRÊ(R.RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRË" scCst|jj|jd|ƒƒS(s1Return the index in the form line.char for INDEX.R³(RR.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR³% scGs'|jj|jd||f|ƒdS(sŠInsert CHARS before the characters at INDEX. An additional tag can be given in ARGS. Additional CHARS and tags can follow in ARGS.R„N(R.RPR‘(RRR³tcharsR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR„( scCs"|jj|jdd||fƒS(s„Change the gravity of a mark MARKNAME to DIRECTION (LEFT or RIGHT). Return the current value if None is given for DIRECTION.RÏtgravity(R.RPR‘(RRtmarkNamet direction((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt mark_gravity, s cCs%|jj|jj|jddƒƒS(sReturn all mark names.RÏRÊ(R.R*RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt mark_names1 scCs#|jj|jdd||ƒdS(s0Set mark MARKNAME before the character at INDEX.RÏRNN(R.RPR‘(RRROR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytmark_set5 scGs$|jj|jddf|ƒdS(sDelete all marks in MARKNAMES.RÏtunsetN(R.RPR‘(RRt markNames((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt mark_unset8 scCs"|jj|jdd|ƒp!dS(s-Return the name of the next mark after INDEX.RÏtnextN(R.RPR‘R(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt mark_next; scCs"|jj|jdd|ƒp!dS(s2Return the name of the previous mark before INDEX.RÏtpreviousN(R.RPR‘R(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt mark_previous> scCs#|jj|jdd||ƒdS(s&Remember the current X, Y coordinates.RÎRÏN(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÐA scCs#|jj|jdd||ƒdS(s~Adjust the view of the text to 10 times the difference between X and Y and the coordinates given in scan_mark.RÎRÑN(R.RPR‘(RRRARN((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÓD sc Cs(|jdg} |r%| jdƒn|r;| jdƒn|rQ| jdƒn|rg| jdƒn|r}| jdƒn| r“| jdƒn| r¶| jdƒ| j| ƒn|rÜ|d d krÜ| jd ƒn| j|ƒ| j|ƒ|r | j|ƒnt|jjt| ƒƒƒS( s‹Search PATTERN beginning from INDEX until STOPINDEX. Return the index of the first character of a match or an empty string.Rs -forwardss -backwardss-exacts-regexps-nocases-elides-countiR)s--(R‘ReRR.RPR ( RRRÇR³t stopindextforwardst backwardstexacttregexptnocaseR telideR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRI s.   cCs|jj|jd|ƒdS(s3Scroll such that the character at INDEX is visible.RùN(R.RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRù\ scGs*|jj|jdd||f|ƒdS(s|Add tag TAGNAME to all characters between INDEX1 and index2 in ARGS. Additional pairs of indices may follow in ARGS.ttagRÆN(R.RPR‘(RRttagNameR R‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyttag_add_ s cCs<|jj|jdd||dƒ|r8|j|ƒndS(sgUnbind for all characters with TAGNAME for event SEQUENCE the function identified with FUNCID.RbR\REN(R.RPR‘RX(RRRcRXRZ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR¢d s"cCs%|j|jdd|f|||ƒS(s+Bind to all characters with TAGNAME at 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.RbR\(R[R‘(RRRcRXR¥RÆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR£j scCsY|d dkrd|}n|ddkr:|d }n|jj|jdd||ƒS(s+Return the value of OPTION for tag TAGNAME.iR)iÿÿÿÿRiRbR›(R.RPR‘(RRRcRÅ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyttag_cgetr s   cKs|jdd|f||ƒS(sConfigure a tag TAGNAME.RbRš(R™(RRRcR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_configurey scGs$|jj|jddf|ƒdS(sDelete all tags in TAGNAMES.RbRÄN(R.RPR‘(RRttagNames((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_delete} scCs#|jj|jdd||ƒdS(s`Change the priority of tag TAGNAME such that it is lower than the priority of BELOWTHIS.RbRÜN(R.RPR‘(RRRcRÝ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÉ€ scCs(|jj|jj|jdd|ƒƒS(sReturn a list of all tag names.RbRÊ(R.R*RPR‘(RRR³((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_names„ s cCs.|jj|jj|jdd|||ƒƒS(s¹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 forward from INDEX1.Rbt nextrange(R.R*RPR‘(RRRcR R!((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_nextrangeˆ scCs.|jj|jj|jdd|||ƒƒS(s»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.Rbt prevrange(R.R*RPR‘(RRRcR R!((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_prevrangeŽ scCs#|jj|jdd||ƒdS(saChange the priority of tag TAGNAME such that it is higher than the priority of ABOVETHIS.RbRÞN(R.RPR‘(RRRcRß((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRÌ” s cCs(|jj|jj|jdd|ƒƒS(s7Return a list of ranges of text which have tag TAGNAME.Rbtranges(R.R*RPR‘(RRRc((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_ranges™ scCs&|jj|jdd|||ƒdS(sARemove tag TAGNAME from all characters between INDEX1 and INDEX2.RbRmN(R.RPR‘(RRRcR R!((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt tag_remove� s cCsY|d dkrd|}n|ddkr:|d }n|jj|jdd||ƒS(s:Return the value of OPTION of an embedded window at INDEX.iR)iÿÿÿÿRiR�R›(R.RPR‘(RRR³RÅ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt window_cget¡ s   cKs|jdd|f||ƒS(s&Configure an embedded window at INDEX.R�Rš(R™(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytwindow_configure¨ scKs3|jj|jdd|f|j||ƒƒdS(sCreate a window at INDEX.R�R.N(R.RPR‘R¶(RRR³R#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt window_create¬ s cCs%|jj|jj|jddƒƒS(s4Return all names of embedded windows in this widget.R�RÊ(R.R*RPR‘(RR((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt window_names± s cGs$|jj|jddf|ƒdS(sObsolete function, use see.RÝs -pickplaceN(R.RPR‘(RRRW((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytyview_pickplaceµ sN(:R7R8R9RRUR©R4R5R6R7R8R:RÄR;R=R?RBRDRFRGRIR]RJRKRLRËR³R„RQRRRSRVRXRZRÐRÓRRùRdR¢R£ReRft tag_configRhRÉRiRkRmRÌRoRpRqRrt window_configRsRtRu(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR3r sr         (                                     t_setitcBs#eZdZdd„Zd„ZRS(s>Internal class. It wraps the command in the widget OptionMenu.cCs||_||_||_dS(N(t _setit__valuet _setit__vart_setit__callback(RRtvarRRg((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRU¼ s  cGs6|jj|jƒ|jr2|j|j|ŒndS(N(RzRNRyR{(RRR‡((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRaÀ s N(R7R8R9RRURa(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRxº s t OptionMenucBs)eZdZd„Zd„Zd„ZRS(s?OptionMenu which allows the user to select a value from a menu.c Os"idd6|d6dd6td6dd6dd 6}tj||d |ƒd |_t|d d ddƒ}|_|j|_|jdƒ}d|krŸ|d=n|r¿t d|j ƒd‚n|j d|dt |||ƒƒx0|D](} |j d| dt || |ƒƒqèW||d s s<1>s(RrRUR\RzR|R}R~(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUís N(R7R8RRU(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR°ìst TributtoncBseZdid„ZRS(cKs…tj||d||ƒ|jd|jƒ|jd|jƒ|jd|jƒ|jd|jƒ|d|d<|d|ds s<1>stbgtfgtactivebackground(RrRUR\RzR|R}R~(RRRSR#Rˆ((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyRUõsN(R7R8RRU(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyR²ôscCsëtƒ}dt}tdkrMy|tddƒ}WqMtk rIqMXnt|d|ƒ}|jƒt|ddd|d„ƒ}|jƒ||_t|dd d|jƒ}|jƒ|j ƒ|j ƒ|j ƒ|j ƒdS( NsThis is Tcl/Tk version %sg333333 @s This should be a cedilla: çs iso-8859-1R¸s Click me!RÔcSs|jjdd|jdƒS(NR¸s[%s](ttestRš(R•((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt s tQUIT( R't TclVersionRt NameErrorRðR RxR·R‚RRRðR~(R•R¸RñR·Rc((s&/usr/lib64/python2.7/lib-tk/Tkinter.pyt_tests(            t__main__(`R9t __version__R�tplatformtFixTkR¯ttkinterR¤RÌt TkconstantstreR/RÏRARCRBRºtREADABLEtWRITABLEt EXCEPTIONtcreatefilehandlerRRtdeletefilehandlertcompileR RRRRR(tTrueR5R6R:R;R<R>RCRMRDRuRwRzR|R~R?RyR{ROR�R`RÕRÜRàR'RZR[RbRfRkRrRsRxRƒR†R‡RˆR‰RŠRÞRâRïRðRòRR(R*R,R-R/R3RxR}R‰RŽRšRËRÍR›RŸR¡R°R²R¼R7(((s&/usr/lib64/python2.7/lib-tk/Tkinter.pytsÖ                     ,  k  ÿÿÿÿQÍ}',/8>     ñA[}!(ÿI %@@  ž¿