Your IP : 216.73.216.213


Current Path : /opt/alt/python33/lib64/python3.3/tkinter/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/tkinter/__pycache__/__init__.cpython-33.pyo

�
��f�}c@s�dZddlZejdkr4ddlmZnddlZddlZejZddlTddl	Z	dZ
eej�Z
eej�ZejZejZejZe	jd�Ze	jde	j�Zd	d
�Zdd�Zd
d�Zy
ejZWnek
rYnXdd�Zy
ejZWnek
rAYnXGdd�d�Zdaeadd�Z dd�Z!ddd�Z"da#Gdd�d�Z$Gdd�de$�Z%Gdd�de$�Z&Gdd �d e$�Z'Gd!d"�d"e$�Z(dd#d$�Z)e*Z+eZ,d%d&�Z-Gd'd(�d(�Z.Gd)d*�d*�Z/Gd+d,�d,�Z0Gd-d.�d.�Z1Gd/d0�d0�Z2Gd1d2�d2e.e2�Z3eed2dd3d4�Z4Gd5d6�d6�Z5Gd7d8�d8�Z6Gd9d:�d:�Z7Gd;d<�d<e.�Z8Gd=d>�d>e8e5e6e7�Z9Gd?d@�d@e8e2�Z:GdAdB�dBe9�Z;dCdD�Z<dEdF�Z=dGdH�Z>dIdJ�Z?edKdL�Z@GdMdN�dNe9e0e1�ZAGdOdP�dPe9�ZBGdQdR�dRe9e0�ZCGdSdT�dTe9�ZDGdUdV�dVe9�ZEGdWdX�dXe9e0e1�ZFGdYdZ�dZe9�ZGGd[d\�d\e9�ZHGd]d^�d^e9�ZIGd_d`�d`e9�ZJGdadb�dbe9�ZKGdcdd�dde9�ZLGdedf�dfe9e0e1�ZMGdgdh�dh�ZNGdidj�djeH�ZOGdkdl�dl�ZPGdmdn�dneP�ZQGdodp�dpeP�ZRdqdr�ZSdsdt�ZTGdudv�dve9e0�ZUGdwdx�dxe9�ZVGdydz�dze9�ZWGd{d|�d|e;�ZXGd}d~�d~e;�ZYdd��ZZe[d�kr�eZ�ndS(�u8Wrapper 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()
iNuwin32(u_fix(u*iu([\\{}])u([\s])cCsdjtt|��S(uInternal function.u (ujoinumapu
_stringify(uvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_join;su_joincCs�t|ttf�rjt|�dkrWt|d�}|ddkrgd|}qgq�dt|�}n}t|�}|s�d}nbtj|�r�tj	d|�}t
j	d|�}n,|ddks�t
j|�r�d|}n|S(uInternal function.iiu{u{%s}u{}u\\\1u"(u
isinstanceulistutupleulenu
_stringifyu_joinustru	_magic_reusearchusubu	_space_re(uvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
_stringify?s	
u
_stringifycCs_f}xR|D]J}t|ttf�r;|t|�}q
|dk	r
||f}q
q
W|S(uInternal function.N(u
isinstanceutupleulistu_flattenuNone(usequresuitem((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_flattenTs
u_flattencCs�t|t�r|St|td�tf�r2|Si}x�t|�D]y}y|j|�WqEttfk
r�}z9t	d|�x$|j
�D]\}}|||<q�WWYdd}~XqEXqEW|SdS(uInternal function.u_cnfmerge: fallback due to:N(u
isinstanceudictutypeuNoneustru_flattenuupdateuAttributeErroru	TypeErroruprintuitems(ucnfsucnfucumsgukuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	_cnfmergeas
%u	_cnfmergecBs|EeZdZdZdS(uEventu�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)
    N(u__name__u
__module__u__qualname__u__doc__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuEventus)uEventcCsdadabdS(u�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.
    iN(u_support_default_rootuNoneu
_default_root(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
NoDefaultRoot�su
NoDefaultRootcCsdS(uInternal function.N((uerr((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_tkerror�su_tkerrorcCs5yt|�}Wntk
r$YnXt|��dS(uBInternal function. Calling it will raise the exception SystemExit.N(uintu
ValueErroru
SystemExit(ucode((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_exit�s

u_exitcBs�|EeZdZdZdZdZddddd�Zdd�Zdd�Z	d	d
�Z
e
Zdd�Zd
d�Z
e
Zdd�Zdd�Zdd�ZdS(uVariableu�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().ucCs�|dk	r+t|t�r+td��n|s:t}n||_|j|_|ra||_ndt	t
�|_t
d7a
|dk	r�|j|�n:|jj|jj
dd|j��s�|j|j�ndS(u.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.
        uname must be a stringuPY_VARiuinfouexistsN(uNoneu
isinstanceustru	TypeErroru
_default_rootu_masterutku_tku_nameurepru_varnumu
initializeu
getbooleanucallu_default(uselfumasteruvalueuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�s
		
'uVariable.__init__cCsP|jdk	rL|jj|jjdd|j��rL|jj|j�ndS(uUnset the variable in Tcl.uinfouexistsN(u_tkuNoneu
getbooleanucallu_nameuglobalunsetvar(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__del__�s'uVariable.__del__cCs|jS(u'Return the name of the variable in Tcl.(u_name(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__str__�suVariable.__str__cCs|jj|j|�S(uSet the variable to VALUE.(u_tkuglobalsetvaru_name(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuset�suVariable.setcCs|jj|j�S(uReturn value of variable.(u_tkuglobalgetvaru_name(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget�suVariable.getcCs5|jj|�}|jjdd|j||�|S(u
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.
        utraceuvariable(u_masteru	_registeru_tkucallu_name(uselfumodeucallbackucbname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutrace_variable�s	uVariable.trace_variablecCs3|jjdd|j||�|jj|�dS(u�Delete 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.
        utraceuvdeleteN(u_tkucallu_nameu_masteru
deletecommand(uselfumodeucbname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
trace_vdelete�suVariable.trace_vdeletecs8�fdd��jj�jjdd�j��D�S(u&Return all trace callback information.cs"g|]}�jj|��qS((u_tkusplit(u.0ux(uself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>s	u(Variable.trace_vinfo.<locals>.<listcomp>utraceuvinfo(u_tku	splitlistucallu_name(uself((uselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutrace_vinfosuVariable.trace_vinfocCs(|jj|jjko'|j|jkS(u�Comparison for equality (==).

        Note: if the Variable's master matters to behavior
        also compare self._master == other._master
        (u	__class__u__name__u_name(uselfuother((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__eq__	suVariable.__eq__N(u__name__u
__module__u__qualname__u__doc__u_defaultuNoneu_tku__init__u__del__u__str__usetu
initializeugetutrace_variableutraceu
trace_vdeleteutrace_vinfou__eq__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuVariable�suVariablecBsA|EeZdZdZdZddddd�Zdd�ZdS(u	StringVaru#Value holder for strings variables.ucCstj||||�dS(u6Construct 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(uVariableu__init__(uselfumasteruvalueuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__s
uStringVar.__init__cCs2|jj|j�}t|t�r(|St|�S(u#Return value of variable as string.(u_tkuglobalgetvaru_nameu
isinstanceustr(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget!su
StringVar.getN(u__name__u
__module__u__qualname__u__doc__u_defaultuNoneu__init__uget(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	StringVarsu	StringVarcBsA|EeZdZdZdZddddd�Zdd�ZdS(uIntVaru#Value holder for integer variables.icCstj||||�dS(u7Construct 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(uVariableu__init__(uselfumasteruvalueuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__+s
uIntVar.__init__cCst|jj|j��S(u/Return the value of the variable as an integer.(ugetintu_tkuglobalgetvaru_name(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget7su
IntVar.getN(u__name__u
__module__u__qualname__u__doc__u_defaultuNoneu__init__uget(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuIntVar(suIntVarcBsA|EeZdZdZdZddddd�Zdd�ZdS(u	DoubleVaru!Value holder for float variables.gcCstj||||�dS(u6Construct 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(uVariableu__init__(uselfumasteruvalueuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__>s
uDoubleVar.__init__cCst|jj|j��S(u,Return the value of the variable as a float.(u	getdoubleu_tkuglobalgetvaru_name(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugetJsu
DoubleVar.getN(u__name__u
__module__u__qualname__u__doc__u_defaultuNoneu__init__uget(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	DoubleVar;su	DoubleVarcBsA|EeZdZdZdZddddd�Zdd�ZdS(u
BooleanVaru#Value holder for boolean variables.cCstj||||�dS(u: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(uVariableu__init__(uselfumasteruvalueuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__Qs
uBooleanVar.__init__cCsHy#|jj|jj|j��SWntk
rCtd��YnXdS(u+Return the value of the variable as a bool.u invalid literal for getboolean()N(u_tku
getbooleanuglobalgetvaru_nameuTclErroru
ValueError(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget]s#
uBooleanVar.getNF(	u__name__u
__module__u__qualname__u__doc__uFalseu_defaultuNoneu__init__uget(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
BooleanVarNsu
BooleanVarcCstjj|�dS(uRun the main loop of Tcl.N(u
_default_rootutkumainloop(un((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyumainloopdsumainloopcCs9ytjj|�SWntk
r4td��YnXdS(u1Convert true and false to integer values 1 and 0.u invalid literal for getboolean()N(u
_default_rootutku
getbooleanuTclErroru
ValueError(us((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
getbooleanls
u
getbooleancBs|EeZdZdZd?Zdd�Zdd�Zd?dd�Zdd	�Z	d
d�Z
dd
�Zddd�ZeZ
d?dd�Zd?dd�Zdddd�Zddd�ZeZeZdd�Zdd�ZeZdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd?d,d-�Z d.d/�Z!d0d1�Z"d2d3d4�Z#d5d6�Z$d7d8�Z%d9d:�Z&d;d<�Z'd=d>�Z(d?d@�Z)dAdB�Z*dCdD�Z+d?dEdF�Z,dGdH�Z-dIdJ�Z.d?dKdL�Z/dMdN�Z0dOdP�Z1dQdR�Z2dSdT�Z3dUdV�Z4dWdX�Z5d?dYdZ�Z6d?d[d\�Z7e7Z8d?d]d^�Z9d2d_d`�Z:d2dadb�Z;dcdd�Z<dedf�Z=dgdh�Z>didj�Z?d2dkdl�Z@dmdn�ZAdodp�ZBdqdr�ZCdsdt�ZDdudv�ZEdwdx�ZFd2dydz�ZGd{d|�ZHd}d~�ZIdd��ZJd�d��ZKd2d�d��ZLd�d��ZMd�d��ZNd�d��ZOd�d��ZPd�d��ZQd�d��ZRd�d��ZSd�d��ZTd�d��ZUd�d��ZVd�d��ZWd�d��ZXd�d��ZYd�d��ZZd�d��Z[d�d��Z\d�d��Z]d�d��Z^d�d��Z_d�d��Z`d�d��Zad�d��Zbd2d�d��Zcd�d��Zdd�d��Zed�d��Zfd�d��Zgd�d��Zhd�d��Zid�d��Zjd�d��Zkd�d��Zld�d��Zmd�d��Znd?d�d��Zod�d�d��Zpd?d?d?d�d��Zqd?d�d��Zrd?d?d?d�d��Zsd�d��Ztd?d?d?d�d��Zud�d��Zvd2d�d��Zwd�d��Zxd�d��Zyd�d��Zzd�d��Z{d�d��Z|e}d�d���Z~d?d�d��Zd�d��Z�e�Z�d?d�d�d��Z�e�Z�d�d��Z�d@Z�dj�e��Z�dd�Z�dd�Z�dd	�Z�d
d�Z�dd
�Z�d?dd�Z�e�Z�dd�Z�e�Z�dd�Z�dd�Z�dd�Z�dgZ�e�dd�Z�e�Z�dd�Z�e�Z�dd�Z�d?dd �Z�e�Z�d?d?d?d?d!d"�Z�e�Z�d#d$�Z�d%d&�Z�id'd(�Z�e�Z�d)d*�Z�e�d+d,�Z�id-d.�Z�e�Z�d/d0�Z�e�Z�d?d?d1d2�Z�d3d4�Z�d5d6�Z�d7d8�Z�d?d9d:�Z�d;d<�Z�d=d>�Z�d?S(AuMiscuRInternal class.

    Base class which defines methods common for interior widgets.cCsC|jdk	r?x!|jD]}|jj|�qWd|_ndS(ukInternal function.

        Delete all Tcl commands created for
        this widget in the Tcl interpreter.N(u_tclCommandsuNoneutku
deletecommand(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudestroy{suMisc.destroycCs=|jj|�y|jj|�Wntk
r8YnXdS(uDInternal function.

        Delete the Tcl command provided in NAME.N(utku
deletecommandu_tclCommandsuremoveu
ValueError(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
deletecommand�s

uMisc.deletecommandcCs"|jj|jjdd|��S(u�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.usetutk_strictMotif(utku
getbooleanucall(uselfuboolean((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_strictMotif�suMisc.tk_strictMotifcCs|jjd�dS(uDChange the color scheme to light brown as used in Tk 3.6 and before.u	tk_bisqueN(utkucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tk_bisque�suMisc.tk_bisquecOs4|jjdt|�tt|j����dS(uSet 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.u
tk_setPaletteN(u
tk_setPalette(utkucallu_flattenulistuitems(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tk_setPalette�s	uMisc.tk_setPalettecGsdS(u)Do not use. Needed in Tk 3.6 and earlier.N((uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tk_menuBar�suMisc.tk_menuBaruPY_VARcCs|jjdd|�dS(u�Wait until the variable is modified.

        A parameter of type IntVar, StringVar, DoubleVar or
        BooleanVar must be given.utkwaituvariableN(utkucall(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wait_variable�suMisc.wait_variablecCs2|dkr|}n|jjdd|j�dS(uQWait until a WIDGET is destroyed.

        If no parameter is given self is used.utkwaituwindowN(uNoneutkucallu_w(uselfuwindow((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwait_window�s	uMisc.wait_windowcCs2|dkr|}n|jjdd|j�dS(uxWait until the visibility of a WIDGET changes
        (e.g. it appears).

        If no parameter is given self is used.utkwaitu
visibilityN(uNoneutkucallu_w(uselfuwindow((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwait_visibility�s	uMisc.wait_visibilityu1cCs|jj||�dS(uSet Tcl variable NAME to VALUE.N(utkusetvar(uselfunameuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusetvar�suMisc.setvarcCs|jj|�S(u"Return value of Tcl variable NAME.(utkugetvar(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugetvar�suMisc.getvarcCs9y|jj|�SWntk
r4td��YnXdS(uPReturn a boolean value for Tcl boolean values true and false given as parameter.u invalid literal for getboolean()N(utku
getbooleanuTclErroru
ValueError(uselfus((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
getboolean�s
uMisc.getbooleancCs|jjd|j�dS(u�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.ufocusN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	focus_set�suMisc.focus_setcCs|jjdd|j�dS(utDirect input focus to this widget even if the
        application does not have the focus. Use with
        caution!ufocusu-forceN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufocus_force�suMisc.focus_forcecCs6|jjd�}|dks%|r)dS|j|�S(u�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.ufocusunoneN(utkucalluNoneu
_nametowidget(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	focus_get�suMisc.focus_getcCs?|jjdd|j�}|dks.|r2dS|j|�S(u�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.ufocusu
-displayofunoneN(utkucallu_wuNoneu
_nametowidget(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufocus_displayof�suMisc.focus_displayofcCs?|jjdd|j�}|dks.|r2dS|j|�S(uyReturn the widget which would have the focus if top level
        for this widget gets the focus from the window manager.ufocusu-lastforunoneN(utkucallu_wuNoneu
_nametowidget(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
focus_lastfor�suMisc.focus_lastforcCs|jjd�dS(uXThe widget under mouse will get automatically focus. Can not
        be disabled easily.utk_focusFollowsMouseN(utkucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_focusFollowsMouse�suMisc.tk_focusFollowsMousecCs/|jjd|j�}|s"dS|j|�S(unReturn 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.utk_focusNextN(utkucallu_wuNoneu
_nametowidget(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_focusNext�s	uMisc.tk_focusNextcCs/|jjd|j�}|s"dS|j|�S(uHReturn previous widget in the focus order. See tk_focusNext for details.utk_focusPrevN(utkucallu_wuNoneu
_nametowidget(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_focusPrevsuMisc.tk_focusPrevcs`�s�jjd|�n@����fdd�}�j|���jjd|��SdS(uCall 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.uaftercs<z���Wdy�j��Wntk
r6YnXXdS(N(u
deletecommanduTclError((uargsufuncunameuself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucallits
uMisc.after.<locals>.callitN(utkucallu	_register(uselfumsufuncuargsucallit((uargsufuncunameuselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuafter	s
u
Misc.aftercGs|jd||�S(u�Call FUNC once if the Tcl main loop has no event to
        process.

        Return an identifier to cancel the scheduling with
        after_cancel.uidle(uafter(uselfufuncuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
after_idlesuMisc.after_idlecCsny?|jjdd|�}|jj|�d}|j|�Wntk
rSYnX|jjdd|�dS(u�Cancel scheduling of function identified with ID.

        Identifier returned by after or after_idle must be
        given as first parameter.uafteruinfoiucancelN(utkucallu	splitlistu
deletecommanduTclError(uselfuidudatauscript((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuafter_cancel%s
uMisc.after_cancelicCs!|jjd|j|��dS(uRing a display's bell.ubellN(ubell(utkucallu
_displayof(uselfu	displayof((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubell3su	Misc.bellc
Ks�d|kre|jdkrey+d|d<|jjd|j|��SWqetk
ra|d=YqeXn|jjd|j|��S(u�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)
        utypeux11uUTF8_STRINGu	clipboarduget(u	clipboarduget(u	clipboarduget(u_windowingsystemutkucallu_optionsuTclError(uselfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
clipboard_get8s
!
uMisc.clipboard_getcKs=d|kr|j|d<n|jjd|j|��dS(u�Clear the data in the Tk clipboard.

        A widget specified for the optional displayof keyword
        argument specifies the target display.u	displayofu	clipboarduclearN(u	clipboarduclear(u_wutkucallu_options(uselfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuclipboard_clearOsuMisc.clipboard_clearcKsGd|kr|j|d<n|jjd|j|�d|f�dS(u�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.u	displayofu	clipboarduappendu--N(u	clipboarduappend(u_wutkucallu_options(uselfustringukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuclipboard_appendVs	uMisc.clipboard_appendcCs2|jjdd|j�}|s%dS|j|�S(uOReturn widget which has currently the grab in this application
        or None.ugrabucurrentN(utkucallu_wuNoneu
_nametowidget(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrab_current`suMisc.grab_currentcCs|jjdd|j�dS(u.Release grab for this widget if currently set.ugrabureleaseN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrab_releasefsuMisc.grab_releasecCs|jjdd|j�dS(uwSet grab for this widget.

        A grab directs all events to this and descendant
        widgets in the application.ugrabusetN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrab_setisu
Misc.grab_setcCs |jjddd|j�dS(u�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.ugrabusetu-globalN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrab_set_globalosuMisc.grab_set_globalcCs4|jjdd|j�}|dkr0d}n|S(uYReturn None, "local" or "global" if this widget has
        no, a local or a global grab.ugrabustatusunoneN(utkucallu_wuNone(uselfustatus((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrab_statusvs	uMisc.grab_statuscCs |jjdd|||�dS(u�Set a VALUE (second parameter) for an option
        PATTERN (first parameter).

        An optional third parameter gives the numeric priority
        (defaults to 80).uoptionuaddN(utkucall(uselfupatternuvalueupriority((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
option_add|suMisc.option_addcCs|jjdd�dS(uPClear the option database.

        It will be reloaded if option_add is called.uoptionuclearN(utkucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuoption_clear�suMisc.option_clearcCs|jjdd|j||�S(u�Return the value for an option NAME for this widget
        with CLASSNAME.

        Values with higher priority override lower values.uoptionuget(utkucallu_w(uselfunameu	className((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
option_get�suMisc.option_getcCs|jjdd||�dS(uvRead file FILENAME into the option database.

        An optional second parameter gives the numeric
        priority.uoptionureadfileN(utkucall(uselfufileNameupriority((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuoption_readfile�suMisc.option_readfilecKs=d|kr|j|d<n|jjd|j|��dS(uClear the current X selection.u	displayofu	selectionuclearN(u	selectionuclear(u_wutkucallu_options(uselfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_clear�suMisc.selection_clearc
Ks�d|kr|j|d<nd|kr�|jdkr�y+d|d<|jjd|j|��SWq�tk
r}|d=Yq�Xn|jjd|j|��S(	u�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.u	displayofutypeux11uUTF8_STRINGu	selectionuget(u	selectionuget(u	selectionuget(u_wu_windowingsystemutkucallu_optionsuTclError(uselfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
selection_get�s	
!
uMisc.selection_getcKs=|j|�}|jjd|j|�|j|f�dS(uSpecify 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).u	selectionuhandleN(u	selectionuhandle(u	_registerutkucallu_optionsu_w(uselfucommandukwuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_handle�s	uMisc.selection_handlecKs+|jjd|j|�|jf�dS(u�Become owner of X selection.

        A keyword parameter selection specifies the name of
        the selection (default PRIMARY).u	selectionuownN(u	selectionuown(utkucallu_optionsu_w(uselfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
selection_own�s	uMisc.selection_owncKsRd|kr|j|d<n|jjd|j|��}|sEdS|j|�S(u�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).u	displayofu	selectionuown(u	selectionuownN(u_wutkucallu_optionsuNoneu
_nametowidget(uselfukwuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_own_get�suMisc.selection_own_getcGs|jjd||f|�S(uDSend Tcl command CMD to different interpreter INTERP to be executed.usend(utkucall(uselfuinterpucmduargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusend�su	Misc.sendcCs|jjd|j|�dS(u(Lower this widget in the stacking order.ulowerN(utkucallu_w(uselfu	belowThis((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyulower�su
Misc.lowercCs|jjd|j|�dS(u(Raise this widget in the stacking order.uraiseN(utkucallu_w(uselfu	aboveThis((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutkraise�suMisc.tkraisecCs|jjdd|j|�S(uUseless. Not implemented in Tk.utku
colormodel(utkucallu_w(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
colormodel�suMisc.colormodelcCs0d|j|�|f}t|jj|��S(u*Return integer which represents atom NAME.uwinfouatom(uwinfouatom(u
_displayofugetintutkucall(uselfunameu	displayofuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
winfo_atom�suMisc.winfo_atomcCs*d|j|�|f}|jj|�S(u'Return name of atom with identifier ID.uwinfouatomname(uwinfouatomname(u
_displayofutkucall(uselfuidu	displayofuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_atomname�suMisc.winfo_atomnamecCst|jjdd|j��S(u7Return number of cells in the colormap for this widget.uwinfoucells(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_cells�suMisc.winfo_cellscCskg}x^|jj|jjdd|j��D]5}y|j|j|��Wq.tk
rbYq.Xq.W|S(u?Return a list of all widgets which are children of this widget.uwinfouchildren(utku	splitlistucallu_wuappendu
_nametowidgetuKeyError(uselfuresultuchild((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_children�s"
	uMisc.winfo_childrencCs|jjdd|j�S(u(Return window class name of this widget.uwinfouclass(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_class�suMisc.winfo_classcCs%|jj|jjdd|j��S(u?Return true if at the last color request the colormap was full.uwinfoucolormapfull(utku
getbooleanucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_colormapfull�s	uMisc.winfo_colormapfullcCsFd|j|�||f}|jj|�}|s9dS|j|�S(u@Return the widget which is at the root coordinates ROOTX, ROOTY.uwinfou
containing(uwinfou
containingN(u
_displayofutkucalluNoneu
_nametowidget(uselfurootXurootYu	displayofuargsuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_containing�s
uMisc.winfo_containingcCst|jjdd|j��S(u$Return the number of bits per pixel.uwinfoudepth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_depth�suMisc.winfo_depthcCst|jjdd|j��S(u"Return true if this widget exists.uwinfouexists(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_existssuMisc.winfo_existscCs"t|jjdd|j|��S(uWReturn the number of pixels for the given distance NUMBER
        (e.g. "3c") as float.uwinfoufpixels(u	getdoubleutkucallu_w(uselfunumber((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
winfo_fpixelssuMisc.winfo_fpixelscCs|jjdd|j�S(uFReturn geometry string for this widget in the form "widthxheight+X+Y".uwinfougeometry(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_geometrysuMisc.winfo_geometrycCst|jjdd|j��S(uReturn height of this widget.uwinfouheight(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_heightsuMisc.winfo_heightcCs%|jj|jjdd|j��S(u%Return identifier ID for this widget.uwinfouid(utkugetintucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_ids	u
Misc.winfo_idcCs/d|j|�}|jj|jj|��S(u9Return the name of all Tcl interpreters for this display.uwinfouinterps(uwinfouinterps(u
_displayofutku	splitlistucall(uselfu	displayofuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
winfo_interpssuMisc.winfo_interpscCst|jjdd|j��S(u%Return true if this widget is mapped.uwinfouismapped(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_ismappedsuMisc.winfo_ismappedcCs|jjdd|j�S(u0Return the window mananger name for this widget.uwinfoumanager(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
winfo_managersuMisc.winfo_managercCs|jjdd|j�S(uReturn the name of this widget.uwinfouname(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
winfo_name!suMisc.winfo_namecCs|jjdd|j�S(u-Return the name of the parent of this widget.uwinfouparent(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_parent$suMisc.winfo_parentcCs*d|j|�|f}|jj|�S(u.Return the pathname of the widget given by ID.uwinfoupathname(uwinfoupathname(u
_displayofutkucall(uselfuidu	displayofuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_pathname'suMisc.winfo_pathnamecCs"t|jjdd|j|��S(u'Rounded integer value of winfo_fpixels.uwinfoupixels(ugetintutkucallu_w(uselfunumber((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_pixels,suMisc.winfo_pixelscCst|jjdd|j��S(u:Return the x coordinate of the pointer on the root window.uwinfoupointerx(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_pointerx0suMisc.winfo_pointerxcCs"|j|jjdd|j��S(uHReturn a tuple of x and y coordinates of the pointer on the root window.uwinfou	pointerxy(u_getintsutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_pointerxy4suMisc.winfo_pointerxycCst|jjdd|j��S(u:Return the y coordinate of the pointer on the root window.uwinfoupointery(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_pointery8suMisc.winfo_pointerycCst|jjdd|j��S(u'Return requested height of this widget.uwinfou	reqheight(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_reqheight<suMisc.winfo_reqheightcCst|jjdd|j��S(u&Return requested width of this widget.uwinfoureqwidth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_reqwidth@suMisc.winfo_reqwidthcCs%|j|jjdd|j|��S(uUReturn tuple of decimal values for red, green, blue for
        COLOR in this widget.uwinfourgb(u_getintsutkucallu_w(uselfucolor((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	winfo_rgbDsuMisc.winfo_rgbcCst|jjdd|j��S(uSReturn x coordinate of upper left corner of this widget on the
        root window.uwinfourootx(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_rootxIsuMisc.winfo_rootxcCst|jjdd|j��S(uSReturn y coordinate of upper left corner of this widget on the
        root window.uwinfourooty(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_rootyNsuMisc.winfo_rootycCs|jjdd|j�S(u&Return the screen name of this widget.uwinfouscreen(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screenSsuMisc.winfo_screencCst|jjdd|j��S(uTReturn the number of the cells in the colormap of the screen
        of this widget.uwinfouscreencells(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screencellsVsuMisc.winfo_screencellscCst|jjdd|j��S(u\Return the number of bits per pixel of the root window of the
        screen of this widget.uwinfouscreendepth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screendepth[suMisc.winfo_screendepthcCst|jjdd|j��S(uXReturn the number of pixels of the height of the screen of this widget
        in pixel.uwinfouscreenheight(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screenheight`suMisc.winfo_screenheightcCst|jjdd|j��S(uUReturn the number of pixels of the height of the screen of
        this widget in mm.uwinfouscreenmmheight(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screenmmheightesuMisc.winfo_screenmmheightcCst|jjdd|j��S(uTReturn the number of pixels of the width of the screen of
        this widget in mm.uwinfou
screenmmwidth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screenmmwidthjsuMisc.winfo_screenmmwidthcCs|jjdd|j�S(u�Return one of the strings directcolor, grayscale, pseudocolor,
        staticcolor, staticgray, or truecolor for the default
        colormodel of this screen.uwinfouscreenvisual(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screenvisualosuMisc.winfo_screenvisualcCst|jjdd|j��S(uWReturn the number of pixels of the width of the screen of
        this widget in pixel.uwinfouscreenwidth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_screenwidthtsuMisc.winfo_screenwidthcCs|jjdd|j�S(uxReturn information of the X-Server of the screen of this widget in
        the form "XmajorRminor vendor vendorVersion".uwinfouserver(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_serverysuMisc.winfo_servercCs"|j|jjdd|j��S(u*Return the toplevel widget of this widget.uwinfoutoplevel(u
_nametowidgetutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_toplevel}suMisc.winfo_toplevelcCst|jjdd|j��S(uBReturn true if the widget and all its higher ancestors are mapped.uwinfouviewable(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_viewable�suMisc.winfo_viewablecCs|jjdd|j�S(u�Return one of the strings directcolor, grayscale, pseudocolor,
        staticcolor, staticgray, or truecolor for the
        colormodel of this widget.uwinfouvisual(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_visual�suMisc.winfo_visualcCs|jjdd|j�S(u7Return the X identifier for the visual for this widget.uwinfouvisualid(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_visualid�suMisc.winfo_visualidcst�jj�jjdd�j|r*dp-d��}t|t�r]�jj|�g}n�fdd�|D�S(u�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=1 is given also the X identifier.uwinfouvisualsavailableu
includeidscsg|]}�j|��qS((u_Misc__winfo_parseitem(u.0ux(uself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>�s	u/Misc.winfo_visualsavailable.<locals>.<listcomp>N(utkusplitucallu_wuNoneu
isinstanceustr(uselfu
includeidsudata((uselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_visualsavailable�s	uMisc.winfo_visualsavailablecCs.|dd�tt|j|dd���S(uInternal function.Ni(utupleumapu_Misc__winfo_getint(uselfut((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__winfo_parseitem�suMisc.__winfo_parseitemcCs
t|d�S(uInternal function.i(uint(uselfux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__winfo_getint�suMisc.__winfo_getintcCst|jjdd|j��S(u�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.uwinfouvrootheight(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_vrootheight�suMisc.winfo_vrootheightcCst|jjdd|j��S(u�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.uwinfou
vrootwidth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_vrootwidth�suMisc.winfo_vrootwidthcCst|jjdd|j��S(uiReturn the x offset of the virtual root relative to the root
        window of the screen of this widget.uwinfouvrootx(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_vrootx�suMisc.winfo_vrootxcCst|jjdd|j��S(uiReturn the y offset of the virtual root relative to the root
        window of the screen of this widget.uwinfouvrooty(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_vrooty�suMisc.winfo_vrootycCst|jjdd|j��S(u Return the width of this widget.uwinfouwidth(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_width�suMisc.winfo_widthcCst|jjdd|j��S(uVReturn the x coordinate of the upper left corner of this widget
        in the parent.uwinfoux(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_x�suMisc.winfo_xcCst|jjdd|j��S(uVReturn the y coordinate of the upper left corner of this widget
        in the parent.uwinfouy(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwinfo_y�suMisc.winfo_ycCs|jjd�dS(uEEnter event loop until all pending events have been processed by Tcl.uupdateN(utkucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuupdate�suMisc.updatecCs|jjdd�dS(u�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.uupdateu	idletasksN(utkucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuupdate_idletasks�suMisc.update_idletaskscCsK|dkr.|jj|jjd|j��S|jjd|j|�dS(u,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).ubindtagsN(uNoneutku	splitlistucallu_w(uselfutagList((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubindtags�s	u
Misc.bindtagsicCs�t|t�r,|jj|||f�n�|r�|j||j|�}d|rYdp\d||jf}|jj|||f�|S|r�|jj||f�S|jj|jj|��SdS(uInternal function.u"%sif {"[%s %s]" == "break"} break
u+uN(u
isinstanceustrutkucallu	_registeru_substituteu_subst_format_stru	splitlist(uselfuwhatusequenceufuncuadduneedcleanupufunciducmd((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_bind�s	u
Misc._bindcCs|jd|jf|||�S(uOBind 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
        <MODIFIER-MODIFIER-TYPE-DETAIL> 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
        <Control-Button-1> for pressing Control and mouse button 1 or
        <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
        An event pattern can also be a virtual event of the form
        <<AString>> 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.ubind(u_bindu_w(uselfusequenceufuncuadd((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubind�s'u	Misc.bindcCs6|jjd|j|d�|r2|j|�ndS(uWUnbind for this widget for event SEQUENCE  the
        function identified with FUNCID.ubinduN(utkucallu_wu
deletecommand(uselfusequenceufuncid((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuunbindsuMisc.unbindcCs|jd|||d�S(uBind 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.ubindualli(ubinduall(u_bind(uselfusequenceufuncuadd((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubind_allsu
Misc.bind_allcCs|jjdd|d�dS(u8Unbind for all widgets for event SEQUENCE all functions.ubindualluN(utkucall(uselfusequence((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
unbind_allsuMisc.unbind_allcCs|jd|f|||d�S(u=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.ubindi(u_bind(uselfu	classNameusequenceufuncuadd((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
bind_classs	uMisc.bind_classcCs|jjd||d�dS(uYUnbind for a all widgets with bindtag CLASSNAME for event SEQUENCE
        all functions.ubinduN(utkucall(uselfu	classNameusequence((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuunbind_class)suMisc.unbind_classcCs|jj|�dS(uCall the mainloop of Tk.N(utkumainloop(uselfun((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyumainloop-su
Misc.mainloopcCs|jj�dS(u8Quit the Tcl interpreter. All widgets will be destroyed.N(utkuquit(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuquit0su	Misc.quitcCs)|r%ttt|jj|���SdS(uInternal function.N(utupleumapugetintutku	splitlist(uselfustring((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_getints3su
Misc._getintscCs)|r%ttt|jj|���SdS(uInternal function.N(utupleumapu	getdoubleutku	splitlist(uselfustring((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_getdoubles7suMisc._getdoublescCs|r|jj|�SdS(uInternal function.N(utku
getboolean(uselfustring((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_getboolean;suMisc._getbooleancCs-|rd|fS|dkr)d|jfSfS(uInternal function.u
-displayofN(uNoneu_w(uselfu	displayof((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
_displayof?s


uMisc._displayofcCsPy|j�jSWn8tk
rK|jjdd�}|j�_|SYnXdS(uInternal function.utkuwindowingsystemN(u_rootu_windowingsystem_cacheduAttributeErrorutkucall(uselfuws((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_windowingsystemFs

"uMisc._windowingsystemcCs;|rt||f�}nt|�}f}x|j�D]�\}}|dk	r:|ddkru|dd�}nt|�r�|j|�}n�t|ttf�rg}xk|D]Q}t|t�r�|j	t
|��q�t|t
�r|j	t|��q�Pq�Wdj|�}n|d||f}q:q:W|S(uInternal function.iu_Nu u-i����i����(
u	_cnfmergeuitemsuNoneucallableu	_registeru
isinstanceutupleulistuintuappendustru
_stringifyujoin(uselfucnfukwuresukuvunvuitem((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_optionsOs*
u
Misc._optionscCspt|�jd�}|}|dsD|j�}|dd�}nx%|D]}|s[Pn|j|}qKW|S(uPReturn the Tkinter instance of a widget identified by
        its Tcl name NAME.u.iiN(ustrusplitu_rootuchildren(uselfunameuwun((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyunametowidgeths

uMisc.nametowidgetcCs�t|||�j}tt|��}y
|j}Wntk
rHYnXy||j}Wntk
rnYnX|jj||�|r�|j	dkr�g|_	n|j	j|�n|S(u�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(uCallWrapperu__call__urepruidu__func__uAttributeErroru__name__utku
createcommandu_tclCommandsuNoneuappend(uselfufuncusubstuneedcleanupufuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	_registerys 


uMisc._registercCs#|}x|jr|j}q	W|S(uInternal function.(umaster(uselfuw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_root�s
u
Misc._rootu%#u%bu%fu%hu%ku%su%tu%wu%xu%yu%Au%Eu%Ku%Nu%Wu%Tu%Xu%Yu%Du c#Gst|�t|j�kr|S|jj}t}dd�}|\}}}}}	}
}}}
}}}}}}}}}}t�}||�|_||�|_y||�|_Wnt	k
r�YnX||�|_
||	�|_||
�|_||�|_
||�|_||
�|_||�|_||_y||�|_Wnt	k
rdYnX||_||�|_||_y|j|�|_Wntk
r�||_YnX||�|_||�|_y||�|_Wntk
rd|_YnX|fS(uInternal function.cSs+yt|�SWntk
r&|SYnXdS(u?Tk changed behavior in 8.4.2, returning "??" rather more often.N(uintu
ValueError(us((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugetint_event�s
u&Misc._substitute.<locals>.getint_eventi(ulenu
_subst_formatutku
getbooleanuintuEventuserialunumufocusuTclErroruheightukeycodeustateutimeuwidthuxuyucharu
send_eventukeysymu
keysym_numutypeu
_nametowidgetuwidgetuKeyErrorux_rootuy_rootudeltau
ValueError(uselfuargsu
getbooleanugetintugetint_eventunsignubufuhukusutuwuxuyuAuEuKuNuWuTuXuYuDue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_substitute�sN?	
	
		

uMisc._substitutecCs8tj�\}}}|j�}|j|||�dS(uInternal function.N(usysuexc_infou_rootureport_callback_exception(uselfuexcuvalutburoot((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_report_exception�suMisc._report_exceptioncGs|i}xo|jj|jj|��D]O}|jj|�}|ddd�f|dd�||ddd�<q%W|S(u;Call Tcl configure command and return the result as a dict.iiN(utku	splitlistucall(uselfuargsucnfux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
_getconfigure�s
%;uMisc._getconfigurecGsA|jj|jj|��}|ddd�f|dd�S(Nii(utku	splitlistucall(uselfuargsux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_getconfigure1�suMisc._getconfigure1cCs�|rt||f�}n|r0t|�}n|dkrX|jt|j|f��St|t�r�|jt|j|d|f��S|jj	t|j|f�|j
|��dS(uInternal function.u-N(u	_cnfmergeuNoneu
_getconfigureu_flattenu_wu
isinstanceustru_getconfigure1utkucallu_options(uselfucmducnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
_configure�s#uMisc._configurecKs|jd||�S(u�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.
        u	configure(u
_configure(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	configure�suMisc.configurecCs|jj|jdd|�S(u4Return the resource value for a KEY given as string.ucgetu-(utkucallu_w(uselfukey((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucget�su	Misc.cgetcCs|ji||6�dS(N(u	configure(uselfukeyuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__setitem__�suMisc.__setitem__cCs/dd�|jj|jj|jd��D�S(u3Return a list of all resource names of this widget.cSs$g|]}|ddd��qS(iiN((u.0ux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>s	uMisc.keys.<locals>.<listcomp>u	configure(utku	splitlistucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyukeys�s	u	Misc.keyscCs|jS(u+Return the window path name of this widget.(u_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__str__suMisc.__str__u_noarg_cCsQ|tjkr1|j|jjdd|j��S|jjdd|j|�dS(uSet 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.
        upacku	propagateN(uMiscu_noarg_u_getbooleanutkucallu_w(uselfuflag((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupack_propagatesuMisc.pack_propagatecs8�fdd��jj�jjdd�j��D�S(uHReturn a list of all slaves of this widget
        in its packing order.csg|]}�j|��qS((u
_nametowidget(u.0ux(uself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>s	u$Misc.pack_slaves.<locals>.<listcomp>upackuslaves(utku	splitlistucallu_w(uself((uselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupack_slavess	uMisc.pack_slavescs8�fdd��jj�jjdd�j��D�S(uHReturn a list of all slaves of this widget
        in its packing order.csg|]}�j|��qS((u
_nametowidget(u.0ux(uself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>s	u%Misc.place_slaves.<locals>.<listcomp>uplaceuslaves(utku	splitlistucallu_w(uself((uselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuplace_slavess		uMisc.place_slavescCs |jjdd|j|�dS(u�The anchor value controls how to place the grid within the
        master when no row/column has any weight.

        The default anchor is nw.ugriduanchorN(utkucallu_w(uselfuanchor((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_anchor$suMisc.grid_anchorcCs�dd|jf}|dk	r=|dk	r=|||f}n|dk	rh|dk	rh|||f}n|j|jj|��p�dS(u�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.
        ugridubboxN(u_wuNoneu_getintsutkucall(uselfucolumnurowucol2urow2uargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	grid_bbox+suMisc.grid_bboxcCsnt|ttjf�rjy:t|�}|s1dSd|krGt|�St|�SWqjtk
rfYqjXn|S(Nu.(u
isinstanceustru_tkinteruTcl_ObjuNoneu	getdoubleugetintu
ValueError(uselfuvalueusvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_gridconvvalue?s

uMisc._gridconvvaluecCs`t|t�rn|rn|dd�dkr?|dd	�}n|dd�dkrbd|}n|f}n|j||�}|s|jjd||j|�}|jj|�}i}xUtdt|�d�D];}	||	dd�}
||	d}|j	|�||
<q�W|S|jjd||j|f|�}t|�dkr\|j	|�SdS(
uInternal function.iNu_u-ugridiii����i����(
u
isinstanceustru_optionsutkucallu_wu	splitlisturangeulenu_gridconvvalue(uselfucommanduindexucnfukwuoptionsuresuwordsudictuiukeyuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_grid_configureMs,
	
uMisc._grid_configurecKs|jd|||�S(u�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).ucolumnconfigure(u_grid_configure(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_columnconfiguregsuMisc.grid_columnconfigurecCs.|j|jjdd|j||��p-dS(u�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.ugridulocationN(u_getintsutkucallu_wuNone(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
grid_locationos	uMisc.grid_locationcCsQ|tjkr1|j|jjdd|j��S|jjdd|j|�dS(uSet 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.
        ugridu	propagateN(uMiscu_noarg_u_getbooleanutkucallu_w(uselfuflag((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_propagatevsuMisc.grid_propagatecKs|jd|||�S(u�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).urowconfigure(u_grid_configure(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_rowconfigure�suMisc.grid_rowconfigurecCs(|j|jjdd|j��p'dS(u<Return a tuple of the number of column and rows in the grid.ugridusizeN(u_getintsutkucallu_wuNone(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	grid_size�suMisc.grid_sizecs�f}|dk	r%|d|f}n|dk	rD|d|f}n�fdd��jj�jjdd�jf|��D�S(uHReturn a list of all slaves of this widget
        in its packing order.u-rowu-columncsg|]}�j|��qS((u
_nametowidget(u.0ux(uself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>�s	u$Misc.grid_slaves.<locals>.<listcomp>ugriduslavesN(uNoneutku	splitlistucallu_w(uselfurowucolumnuargs((uselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_slaves�suMisc.grid_slavescGs'dd|f|}|jj|�dS(u�Bind a virtual event VIRTUAL (of the form <<Name>>)
        to an event SEQUENCE such that the virtual event is triggered
        whenever SEQUENCE occurs.ueventuaddN(utkucall(uselfuvirtualu	sequencesuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	event_add�suMisc.event_addcGs'dd|f|}|jj|�dS(u-Unbind a virtual event VIRTUAL from SEQUENCE.ueventudeleteN(utkucall(uselfuvirtualu	sequencesuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuevent_delete�suMisc.event_deletecKs`dd|j|f}x4|j�D]&\}}|d|t|�f}q"W|jj|�dS(u�Generate an event SEQUENCE. Additional
        keyword arguments specify parameter of the event
        (e.g. x, y, rootx, rooty).ueventugenerateu-%sN(u_wuitemsustrutkucall(uselfusequenceukwuargsukuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuevent_generate�suMisc.event_generatecCs"|jj|jjdd|��S(uuReturn a list of all virtual events or the information
        about the SEQUENCE bound to the virtual event VIRTUAL.ueventuinfo(utku	splitlistucall(uselfuvirtual((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
event_info�s	uMisc.event_infocCs|jj|jjdd��S(u*Return a list of all existing image names.uimageunames(utku	splitlistucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_names�suMisc.image_namescCs|jj|jjdd��S(u?Return a list of all available image types (e.g. phote bitmap).uimageutypes(utku	splitlistucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_types�suMisc.image_typesN(u%#u%bu%fu%hu%ku%su%tu%wu%xu%yu%Au%Eu%Ku%Nu%Wu%Tu%Xu%Yu%D(�u__name__u
__module__u__qualname__u__doc__uNoneu_tclCommandsudestroyu
deletecommandutk_strictMotifu	tk_bisqueu
tk_setPaletteu
tk_menuBaru
wait_variableuwaitvaruwait_windowuwait_visibilityusetvarugetvaruintugetintufloatu	getdoubleu
getbooleanu	focus_setufocusufocus_forceu	focus_getufocus_displayofu
focus_lastforutk_focusFollowsMouseutk_focusNextutk_focusPrevuafteru
after_idleuafter_cancelubellu
clipboard_getuclipboard_clearuclipboard_appendugrab_currentugrab_releaseugrab_setugrab_set_globalugrab_statusu
option_adduoption_clearu
option_getuoption_readfileuselection_clearu
selection_getuselection_handleu
selection_ownuselection_own_getusendulowerutkraiseuliftu
colormodelu
winfo_atomuwinfo_atomnameuwinfo_cellsuwinfo_childrenuwinfo_classuwinfo_colormapfulluwinfo_containinguwinfo_depthuwinfo_existsu
winfo_fpixelsuwinfo_geometryuwinfo_heightuwinfo_idu
winfo_interpsuwinfo_ismappedu
winfo_manageru
winfo_nameuwinfo_parentuwinfo_pathnameuwinfo_pixelsuwinfo_pointerxuwinfo_pointerxyuwinfo_pointeryuwinfo_reqheightuwinfo_reqwidthu	winfo_rgbuwinfo_rootxuwinfo_rootyuwinfo_screenuwinfo_screencellsuwinfo_screendepthuwinfo_screenheightuwinfo_screenmmheightuwinfo_screenmmwidthuwinfo_screenvisualuwinfo_screenwidthuwinfo_serveruwinfo_topleveluwinfo_viewableuwinfo_visualuwinfo_visualiduwinfo_visualsavailableu_Misc__winfo_parseitemu_Misc__winfo_getintuwinfo_vrootheightuwinfo_vrootwidthuwinfo_vrootxuwinfo_vrootyuwinfo_widthuwinfo_xuwinfo_yuupdateuupdate_idletasksubindtagsu_bindubinduunbindubind_allu
unbind_allu
bind_classuunbind_classumainloopuquitu_getintsu_getdoublesu_getbooleanu
_displayofupropertyu_windowingsystemu_optionsunametowidgetu
_nametowidgetu	_registeruregisteru_rootu
_subst_formatujoinu_subst_format_stru_substituteu_report_exceptionu
_getconfigureu_getconfigure1u
_configureu	configureuconfigucgetu__getitem__u__setitem__ukeysu__str__u_noarg_upack_propagateu	propagateupack_slavesuslavesuplace_slavesugrid_anchoruanchoru	grid_bboxubboxu_gridconvvalueu_grid_configureugrid_columnconfigureucolumnconfigureu
grid_locationugrid_propagateugrid_rowconfigureurowconfigureu	grid_sizeusizeugrid_slavesu	event_adduevent_deleteuevent_generateu
event_infouimage_namesuimage_types(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuMisctsR

	



(
	9		uMisccBs2|EeZdZdZdd�Zdd�ZdS(uCallWrapperuwInternal class. Stores function to call when some user
    defined Tcl function is called e.g. after an event occurred.cCs||_||_||_dS(u(Store FUNC, SUBST and WIDGET as members.N(ufuncusubstuwidget(uselfufuncusubstuwidget((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�s		uCallWrapper.__init__cGs\y,|jr|j|�}n|j|�SWn)tk
rC�Yn|jj�YnXdS(u3Apply first function SUBST to arguments, than FUNC.N(usubstufuncu
SystemExituwidgetu_report_exception(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__call__�s	
uCallWrapper.__call__N(u__name__u
__module__u__qualname__u__doc__u__init__u__call__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuCallWrapper�suCallWrappercBs>|EeZdZdZdd�Zdd�Zdd�ZdS(	uXViewuXMix-in class for querying and changing the horizontal position
    of a widget's window.cGs2|jj|jd|�}|s.|j|�SdS(u5Query and change the horizontal position of the view.uxviewN(utkucallu_wu_getdoubles(uselfuargsures((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuxview�suXView.xviewcCs |jj|jdd|�dS(usAdjusts the view in the window so that FRACTION of the
        total width of the canvas is off-screen to the left.uxviewumovetoN(utkucallu_w(uselfufraction((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuxview_moveto�suXView.xview_movetocCs#|jj|jdd||�dS(u\Shift the x-view according to NUMBER which is measured in "units"
        or "pages" (WHAT).uxviewuscrollN(utkucallu_w(uselfunumberuwhat((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuxview_scroll�suXView.xview_scrollN(u__name__u
__module__u__qualname__u__doc__uxviewuxview_movetouxview_scroll(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuXView�suXViewcBs>|EeZdZdZdd�Zdd�Zdd�ZdS(	uYViewuVMix-in class for querying and changing the vertical position
    of a widget's window.cGs2|jj|jd|�}|s.|j|�SdS(u3Query and change the vertical position of the view.uyviewN(utkucallu_wu_getdoubles(uselfuargsures((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuyview�suYView.yviewcCs |jj|jdd|�dS(usAdjusts the view in the window so that FRACTION of the
        total height of the canvas is off-screen to the top.uyviewumovetoN(utkucallu_w(uselfufraction((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuyview_moveto�suYView.yview_movetocCs#|jj|jdd||�dS(u\Shift the y-view according to NUMBER which is measured in
        "units" or "pages" (WHAT).uyviewuscrollN(utkucallu_w(uselfunumberuwhat((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuyview_scroll�suYView.yview_scrollN(u__name__u
__module__u__qualname__u__doc__uyviewuyview_movetouyview_scroll(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuYView�suYViewcBs�|EeZdZdZd@d@d@d@dd�ZeZdd�ZeZd@dd�Z	e	Z
dd	�ZeZd@d
d�Z
e
Zdd
�ZeZd@dd�ZeZdd�ZeZdd�ZeZd@dd�ZeZd@d@d@d@dd�ZeZd@dd�ZeZd@d@dd�ZeZdd�ZeZ d@dd�Z!e!Z"d@d d!�Z#e#Z$dAd"d#�Z&e&Z'd@d@d$d%�Z(e(Z)d@d&d'�Z*e*Z+d(d)�Z,e,Z-d@d@d*d+�Z.e.Z/d@d@d,d-�Z0e0Z1d@d.d/�Z2e2Z3d@d0d1�Z4e4Z5d@d@d2d3�Z6e6Z7d@d@d4d5�Z8e8Z9d@d6d7�Z:e:Z;d@d8d9�Z<e<Z=d@d:d;�Z>e>Z?d@d<d=�Z@e@ZAd>d?�ZBeBZCd@S(BuWmuAProvides functions for the communication with the window manager.c	Cs.|j|jjdd|j||||��S(u�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.uwmuaspect(u_getintsutkucallu_w(uselfuminNumeruminDenomumaxNumerumaxDenom((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	wm_aspectsuWm.wm_aspectcGs&dd|jf|}|jj|�S(u�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.
        uwmu
attributes(u_wutkucall(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_attributessuWm.wm_attributescCs|jjdd|j|�S(uVStore NAME in WM_CLIENT_MACHINE property of this widget. Return
        current value.uwmuclient(utkucallu_w(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	wm_client'suWm.wm_clientcs�t|�dkr|f}ndd�jf|}|rM�jj|�n/�fdd��jj�jj|��D�SdS(u�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.iuwmucolormapwindowscsg|]}�j|��qS((u
_nametowidget(u.0ux(uself(u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>6s	u)Wm.wm_colormapwindows.<locals>.<listcomp>N(ulenu_wutkucallu	splitlist(uselfuwlistuargs((uselfu5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_colormapwindows,suWm.wm_colormapwindowscCs|jjdd|j|�S(u�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.uwmucommand(utkucallu_w(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_command9su
Wm.wm_commandcCs|jjdd|j�S(u�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.uwmu	deiconify(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_deiconify?suWm.wm_deiconifycCs|jjdd|j|�S(u�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.uwmu
focusmodel(utkucallu_w(uselfumodel((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_focusmodelDsuWm.wm_focusmodelcCs|jjdd|�dS(uBThe window will be unmappend 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.uwmuforgetN(utkucall(uselfuwindow((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	wm_forgetJsuWm.wm_forgetcCs|jjdd|j�S(uAReturn identifier for decorative frame of this widget if present.uwmuframe(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_frameRsuWm.wm_framecCs|jjdd|j|�S(uiSet geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
        current value if None is given.uwmugeometry(utkucallu_w(uselfunewGeometry((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_geometryVsuWm.wm_geometryc	Cs.|j|jjdd|j||||��S(uInstruct 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.uwmugrid(u_getintsutkucallu_w(uselfu	baseWidthu
baseHeightuwidthIncu	heightInc((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_grid[su
Wm.wm_gridcCs|jjdd|j|�S(u~Set the group leader widgets for related widgets to PATHNAME. Return
        the group leader of this widget if None is given.uwmugroup(utkucallu_w(uselfupathName((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_groupfsuWm.wm_groupcCsE|r%|jjdd|jd|�S|jjdd|j|�SdS(u�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.uwmu
iconbitmapu-defaultN(utkucallu_w(uselfubitmapudefault((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_iconbitmapks	uWm.wm_iconbitmapcCs|jjdd|j�S(uDisplay widget as icon.uwmuiconify(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_iconifyysu
Wm.wm_iconifycCs|jjdd|j|�S(uVSet mask for the icon bitmap of this widget. Return the
        mask if None is given.uwmuiconmask(utkucallu_w(uselfubitmap((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_iconmask}suWm.wm_iconmaskcCs|jjdd|j|�S(uSSet the name of the icon for this widget. Return the name if
        None is given.uwmuiconname(utkucallu_w(uselfunewName((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_iconname�suWm.wm_iconnamecGsH|r(|jjdd|jd|�n|jjdd|j|�dS(u�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 simuultaneously.

        On Macintosh, this currently does nothing.uwmu	iconphotou-defaultN(utkucallu_w(uselfudefaultuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_iconphoto�s"uWm.wm_iconphotocCs(|j|jjdd|j||��S(u�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.uwmuiconposition(u_getintsutkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_iconposition�suWm.wm_iconpositioncCs|jjdd|j|�S(ugSet widget PATHNAME to be displayed instead of icon. Return the current
        value if None is given.uwmu
iconwindow(utkucallu_w(uselfupathName((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_iconwindow�suWm.wm_iconwindowcCs|jjdd|�dS(u�The widget specified will become a stand alone top-level window.
        The window will be decorated with the window managers title bar,
        etc.uwmumanageN(utkucall(uselfuwidget((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	wm_manage�suWm.wm_managecCs(|j|jjdd|j||��S(u�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.uwmumaxsize(u_getintsutkucallu_w(uselfuwidthuheight((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_maxsize�su
Wm.wm_maxsizecCs(|j|jjdd|j||��S(u�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.uwmuminsize(u_getintsutkucallu_w(uselfuwidthuheight((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
wm_minsize�su
Wm.wm_minsizecCs%|j|jjdd|j|��S(u�Instruct the window manager to ignore this widget
        if BOOLEAN is given with 1. Return the current value if None
        is given.uwmuoverrideredirect(u_getbooleanutkucallu_w(uselfuboolean((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_overrideredirect�suWm.wm_overrideredirectcCs|jjdd|j|�S(u�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".uwmupositionfrom(utkucallu_w(uselfuwho((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_positionfrom�suWm.wm_positionfromcCsCt|�r|j|�}n|}|jjdd|j||�S(u�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".uwmuprotocol(ucallableu	_registerutkucallu_w(uselfunameufuncucommand((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_protocol�s
	uWm.wm_protocolcCs|jjdd|j||�S(uyInstruct the window manager whether this width can be resized
        in WIDTH or HEIGHT. Both values are boolean values.uwmu	resizable(utkucallu_w(uselfuwidthuheight((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_resizable�suWm.wm_resizablecCs|jjdd|j|�S(u�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".uwmusizefrom(utkucallu_w(uselfuwho((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_sizefrom�suWm.wm_sizefromcCs|jjdd|j|�S(u�Query or set the state of this widget as one of normal, icon,
        iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).uwmustate(utkucallu_w(uselfunewstate((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_state�suWm.wm_statecCs|jjdd|j|�S(uSet the title of this widget.uwmutitle(utkucallu_w(uselfustring((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_title�suWm.wm_titlecCs|jjdd|j|�S(u_Instruct the window manager that this widget is transient
        with regard to widget MASTER.uwmu	transient(utkucallu_w(uselfumaster((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_transient�suWm.wm_transientcCs|jjdd|j�S(u�Withdraw this widget from the screen such that it is unmapped
        and forgotten by the window manager. Re-draw it with wm_deiconify.uwmuwithdraw(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwm_withdraw�suWm.wm_withdrawNF(Du__name__u
__module__u__qualname__u__doc__uNoneu	wm_aspectuaspectu
wm_attributesu
attributesu	wm_clientuclientuwm_colormapwindowsucolormapwindowsu
wm_commanducommanduwm_deiconifyu	deiconifyu
wm_focusmodelu
focusmodelu	wm_forgetuforgetuwm_frameuframeuwm_geometryugeometryuwm_gridugriduwm_groupugroupu
wm_iconbitmapu
iconbitmapu
wm_iconifyuiconifyuwm_iconmaskuiconmaskuwm_iconnameuiconnameuFalseuwm_iconphotou	iconphotouwm_iconpositionuiconpositionu
wm_iconwindowu
iconwindowu	wm_manageumanageu
wm_maxsizeumaxsizeu
wm_minsizeuminsizeuwm_overrideredirectuoverrideredirectuwm_positionfromupositionfromuwm_protocoluprotocoluwm_resizableu	resizableuwm_sizefromusizefromuwm_stateustateuwm_titleutitleuwm_transientu	transientuwm_withdrawuwithdraw(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuWms�

uWmcBs�|EeZdZdZdZdddddddd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dd�Zdd�ZdS(uTkuzToplevel widget of Tk which represents mostly the main window
    of an application. It has an associated Tcl interpreter.u.iic
	Cs�d|_i|_d|_d|_|dkr�ddl}|jjtj	d�}|jj
|�\}}|dkr�||}q�nd}	tj||||	t
|||�|_|r�|j�ntjjs�|j||�ndS(u@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.iNu.pyu.pycu.pyo(u.pyu.pycu.pyo(uNoneumasteruchildrenu	_tkloadedutkuosupathubasenameusysuargvusplitextu_tkinterucreateuwantobjectsu_loadtkuflagsuignore_environmentureadprofile(
uselfu
screenNameubaseNameu	classNameuuseTkusyncuuseuosuextuinteractive((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�s 				'
uTk.__init__cCs'|js#|jj�|j�ndS(N(u	_tkloadedutkuloadtku_loadtk(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuloadtks	
u	Tk.loadtkcCs<d|_|jjd�}|tjkrFtdtj|f��nt|jjd��}|tjkr�tdtj|f��ntdkr�tdtt���n|j	dkr�g|_	n|jjdt�|jjd	t
�|j	jd�|j	jd	�tr%tr%|an|jd
|j�dS(Niu
tk_versionu4tk.h version (%s) doesn't match libtk.a version (%s)utcl_versionu6tcl.h version (%s) doesn't match libtcl.a version (%s)g@u)Tk 4.0 or higher is required; found Tk %sutkerroruexituWM_DELETE_WINDOW(u	_tkloadedutkugetvaru_tkinteru
TK_VERSIONuRuntimeErrorustruTCL_VERSIONu	TkVersionu_tclCommandsuNoneu
createcommandu_tkerroru_exituappendu_support_default_rootu
_default_rootuprotocoludestroy(uselfu
tk_versionutcl_version((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_loadtks*	
	u
Tk._loadtkcCslx't|jj��D]}|j�qW|jjd|j�tj|�trht	|krhda	ndS(uhDestroy this and all descendants widgets. This will
        end the application of this Tcl interpreter.udestroyN(ulistuchildrenuvaluesudestroyutkucallu_wuMiscu_support_default_rootu
_default_rootuNone(uselfuc((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudestroy5s
u
Tk.destroyc
Csbddl}d|jkr+|jd}n	|j}|jj|d|�}|jj|d|�}|jj|d|�}|jj|d|�}i|d6}	td|	�|jj|�r�|jjd|�n|jj|�rtt	|�j
�|	�n|jj|�r0|jjd|�n|jj|�r^tt	|�j
�|	�ndS(	u�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.iNuHOMEu.%s.tclu.%s.pyuselfufrom tkinter import *usource(uosuenvironucurdirupathujoinuexecuisfileutkucalluopenuread(
uselfubaseNameu	classNameuosuhomeu	class_tcluclass_pyubase_tclubase_pyudir((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyureadprofile>s$	

uTk.readprofilecCsNddl}tjjd�|t_|t_|t_|j|||�dS(u6Internal function. It reports exception on sys.stderr.iNuException in Tkinter callback
(u	tracebackusysustderruwriteu	last_typeu
last_valueulast_tracebackuprint_exception(uselfuexcuvalutbu	traceback((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyureport_callback_exceptionSs			uTk.report_callback_exceptioncCst|j|�S(u3Delegate attribute access to the interpreter object(ugetattrutk(uselfuattr((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__getattr__[suTk.__getattr__N(
u__name__u
__module__u__qualname__u__doc__u_wuNoneu__init__uloadtku_loadtkudestroyureadprofileureport_callback_exceptionu__getattr__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuTk�s		uTkcCst||||�S(N(uTk(u
screenNameubaseNameu	classNameuuseTk((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuTclnsuTclcBsu|EeZdZdZidd�ZeZZZdd�ZeZ	dd�Z
e
Zej
ZZ
ejZZdS(	uPackuQGeometry manager Pack.

    Base class to use the methods pack_* in every widget.cKs0|jjdd|jf|j||��dS(u(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.
        upacku	configureN(utkucallu_wu_options(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupack_configureus	uPack.pack_configurecCs|jjdd|j�dS(u:Unmap this widget and do not use it for the packing order.upackuforgetN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupack_forget�suPack.pack_forgetcCs�|jj|jjdd|j��}i}xztdt|�d�D]`}||dd�}||d}t|�dd�dkr�|j|�}n|||<qFW|S(uEReturn information about the packing options
        for this widget.upackuinfoiiiNu.(utku	splitlistucallu_wurangeulenustru
_nametowidget(uselfuwordsudictuiukeyuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	pack_info�s	uPack.pack_infoN(u__name__u
__module__u__qualname__u__doc__upack_configureupacku	configureuconfigupack_forgetuforgetu	pack_infouinfouMiscupack_propagateu	propagateupack_slavesuslaves(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuPackqs

uPackcBsh|EeZdZdZidd�ZeZZZdd�ZeZ	dd�Z
e
Zej
ZZ
dS(	uPlaceuSGeometry manager Place.

    Base class to use the methods place_* in every widget.cKs0|jjdd|jf|j||��dS(u 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
        uplaceu	configureN(utkucallu_wu_options(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuplace_configure�s	uPlace.place_configurecCs|jjdd|j�dS(uUnmap this widget.uplaceuforgetN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuplace_forget�suPlace.place_forgetcCs�|jj|jjdd|j��}i}xztdt|�d�D]`}||dd�}||d}t|�dd�dkr�|j|�}n|||<qFW|S(uEReturn information about the placing options
        for this widget.uplaceuinfoiiiNu.(utku	splitlistucallu_wurangeulenustru
_nametowidget(uselfuwordsudictuiukeyuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
place_info�s	uPlace.place_infoN(u__name__u
__module__u__qualname__u__doc__uplace_configureuplaceu	configureuconfiguplace_forgetuforgetu
place_infouinfouMiscuplace_slavesuslaves(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuPlace�s
uPlacecBs�|EeZdZdZidd�ZeZZZej	Z
Z	ejZZdd�Z
e
Zdd�Zdd	�ZeZejZZejZZejZZejZZejZZd
S(uGriduQGeometry manager Grid.

    Base class to use the methods grid_* in every widget.cKs0|jjdd|jf|j||��dS(uPosition 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
        ugridu	configureN(utkucallu_wu_options(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_configure�s	uGrid.grid_configurecCs|jjdd|j�dS(uUnmap this widget.ugriduforgetN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_forget�suGrid.grid_forgetcCs|jjdd|j�dS(u0Unmap this widget but remember the grid options.ugriduremoveN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugrid_remove�suGrid.grid_removecCs�|jj|jjdd|j��}i}xztdt|�d�D]`}||dd�}||d}t|�dd�dkr�|j|�}n|||<qFW|S(uSReturn information about the options
        for positioning this widget in a grid.ugriduinfoiiiNu.(utku	splitlistucallu_wurangeulenustru
_nametowidget(uselfuwordsudictuiukeyuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	grid_info�s	uGrid.grid_infoN(u__name__u
__module__u__qualname__u__doc__ugrid_configureugridu	configureuconfiguMiscu	grid_bboxubboxugrid_columnconfigureucolumnconfigureugrid_forgetuforgetugrid_removeu	grid_infouinfou
grid_locationulocationugrid_propagateu	propagateugrid_rowconfigureurowconfigureu	grid_sizeusizeugrid_slavesuslaves(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuGrid�s






uGridcBsV|EeZdZdZdd�Ziifdd�Zdd�Zfdd	�Zd
S(u
BaseWidgetuInternal class.cCstr*|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
|j<dS(u6Internal function. Sets up information about children.unameu.N(u_support_default_rootu
_default_rootuTkumasterutkuNoneurepruidu_nameu_wuchildrenudestroy(uselfumasterucnfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_setups*	

		uBaseWidget._setupc	Cs�|rt||f�}n||_tj|||�|jdkrRg|_ndd�|j�D�}x|D]\}}||=qrW|jj||j	f||j
|��x$|D]\}}|j||�q�WdS(udConstruct a widget with the parent widget MASTER, a name WIDGETNAME
        and appropriate options.cSs1g|]'\}}t|t�r||f�qS((u
isinstanceutype(u.0ukuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>)s	u'BaseWidget.__init__.<locals>.<listcomp>N(u	_cnfmergeu
widgetNameu
BaseWidgetu_setupu_tclCommandsuNoneuitemsutkucallu_wu_optionsu	configure(	uselfumasteru
widgetNameucnfukwuextrauclassesukuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__ s		!uBaseWidget.__init__cCsyx't|jj��D]}|j�qW|jjd|j�|j|jjkrh|jj|j=nt	j|�dS(u)Destroy this and all descendants widgets.udestroyN(
ulistuchildrenuvaluesudestroyutkucallu_wu_nameumasteruMisc(uselfuc((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudestroy0suBaseWidget.destroycCs|jj|j|f|�S(N(utkucallu_w(uselfunameuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_do7suBaseWidget._doN(u__name__u
__module__u__qualname__u__doc__u_setupu__init__udestroyu_do(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
BaseWidgets
u
BaseWidgetcBs|EeZdZdZdS(uWidgetuxInternal class.

    Base class for a widget which can be positioned with the geometry managers
    Pack, Place or Grid.N(u__name__u
__module__u__qualname__u__doc__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuWidget;suWidgetcBs,|EeZdZdZdidd�ZdS(uToplevelu"Toplevel widget, e.g. for dialogs.c	Ks|rt||f�}nf}x~dddddgD]g}||kr7||}|ddkrzd|d	d
�}n
d|}|||f}||=q7q7Wtj||d
|i|�|j�}|j|j��|j|j��|jd|j�d	S(u%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.uscreenuclass_uclassuvisualucolormapiu_u-NutopleveluWM_DELETE_WINDOWi����i����(u	_cnfmergeu
BaseWidgetu__init__u_rootuiconnameutitleuprotocoludestroy(	uselfumasterucnfukwuextrauwmkeyuvaluopturoot((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__Ds"


uToplevel.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuToplevelBsuToplevelcBs�|EeZdZdZdidd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�ZdS(uButtonuButton widget.cKstj||d||�dS(uUConstruct 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
        ubuttonN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__`suButton.__init__cGs|jjd|j�dS(Nu
tkButtonEnter(utkucallu_w(uselfudummy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tkButtonEnterusuButton.tkButtonEntercGs|jjd|j�dS(Nu
tkButtonLeave(utkucallu_w(uselfudummy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tkButtonLeavexsuButton.tkButtonLeavecGs|jjd|j�dS(NutkButtonDown(utkucallu_w(uselfudummy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutkButtonDown{suButton.tkButtonDowncGs|jjd|j�dS(Nu
tkButtonUp(utkucallu_w(uselfudummy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tkButtonUp~suButton.tkButtonUpcGs|jjd|j�dS(NutkButtonInvoke(utkucallu_w(uselfudummy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutkButtonInvoke�suButton.tkButtonInvokecCs|jj|jd�dS(u_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.
        uflashN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuflash�s
uButton.flashcCs|jj|jd�S(uInvoke 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.
        uinvoke(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinvoke�su
Button.invokeN(
u__name__u
__module__u__qualname__u__doc__uNoneu__init__u
tkButtonEnteru
tkButtonLeaveutkButtonDownu
tkButtonUputkButtonInvokeuflashuinvoke(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuButton^suButtoncCstjdtdd�dS(Nu$tkinter.AtEnd will be removed in 3.4u
stackleveliuend(uwarningsuwarnuDeprecationWarning(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuAtEnd�s	
uAtEndcGsHtjdtdd�d}x%|D]}|r#|d|}q#q#W|S(Nu'tkinter.AtInsert will be removed in 3.4u
stackleveliuinsertu (uwarningsuwarnuDeprecationWarning(uargsusua((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuAtInsert�s	

uAtInsertcCstjdtdd�dS(Nu)tkinter.AtSelFirst will be removed in 3.4u
stackleveliu	sel.first(uwarningsuwarnuDeprecationWarning(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
AtSelFirst�s	
u
AtSelFirstcCstjdtdd�dS(Nu(tkinter.AtSelLast will be removed in 3.4u
stackleveliusel.last(uwarningsuwarnuDeprecationWarning(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	AtSelLast�s	
u	AtSelLastcCs?tjdtdd�|dkr-d|fSd||fSdS(Nu!tkinter.At will be removed in 3.4u
stackleveliu@%ru@%r,%r(uwarningsuwarnuDeprecationWarninguNone(uxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuAt�s
	
uAtcBs�|EeZdZdZdsidd�Zdd�Zdd�Zdd	�Zd
d�Z	dsdsdd
�Z
dd�Zdd�Zdd�Z
dd�Zdsdd�Zdsdsdsdd�Zdsdd�Zdsdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Zd4d5�Zd6d7�Zd8d9�Z d:d;�Z!d<d=�Z"d>d?�Z#d@dA�Z$dsdsdBdC�Z%dDdE�Z&dFdG�Z'dHdI�Z(dJdK�Z)dLdM�Z*dNdO�Z+dPdQ�Z,dRdS�Z-dTdU�Z.dsdVdW�Z/e/Z0dXdY�Z1e1Z2dZd[�Z3id\d]�Z4d^d_�Z5e5Z6Z7d`da�Z8dbdc�Z9dddedf�Z:dgdh�Z;didj�Z<dkdl�Z=dmdn�Z>dodp�Z?dqdr�Z@dsS(tuCanvasu?Canvas widget to display graphical elements like lines or text.cKstj||d||�dS(uConstruct 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.ucanvasN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�s
uCanvas.__init__cGs!|jj|jdf|�dS(uInternal function.uaddtagN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag�su
Canvas.addtagcCs|j|d|�dS(u*Add tag NEWTAG to all items above TAGORID.uaboveN(uaddtag(uselfunewtagutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag_above�suCanvas.addtag_abovecCs|j|d�dS(uAdd tag NEWTAG to all items.uallN(uaddtag(uselfunewtag((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
addtag_all�suCanvas.addtag_allcCs|j|d|�dS(u*Add tag NEWTAG to all items below TAGORID.ubelowN(uaddtag(uselfunewtagutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag_below�suCanvas.addtag_belowcCs |j|d||||�dS(u�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.uclosestN(uaddtag(uselfunewtaguxuyuhaloustart((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag_closest�suCanvas.addtag_closestcCs |j|d||||�dS(uLAdd tag NEWTAG to all items in the rectangle defined
        by X1,Y1,X2,Y2.uenclosedN(uaddtag(uselfunewtagux1uy1ux2uy2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag_enclosed�suCanvas.addtag_enclosedcCs |j|d||||�dS(uWAdd tag NEWTAG to all items which overlap the rectangle
        defined by X1,Y1,X2,Y2.uoverlappingN(uaddtag(uselfunewtagux1uy1ux2uy2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag_overlapping�suCanvas.addtag_overlappingcCs|j|d|�dS(u)Add tag NEWTAG to all items with TAGORID.uwithtagN(uaddtag(uselfunewtagutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddtag_withtag�suCanvas.addtag_withtagcGs,|j|jj|jdf|��p+dS(u|Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle
        which encloses all items with tags specified as arguments.ubboxN(u_getintsutkucallu_wuNone(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubbox�suCanvas.bboxcCs9|jj|jd||d�|r5|j|�ndS(ubUnbind for all items with TAGORID for event SEQUENCE  the
        function identified with FUNCID.ubinduN(utkucallu_wu
deletecommand(uselfutagOrIdusequenceufuncid((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_unbind�suCanvas.tag_unbindcCs"|j|jd|f|||�S(u&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.ubind(u_bindu_w(uselfutagOrIdusequenceufuncuadd((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutag_bind�suCanvas.tag_bindcCs"t|jj|jd||��S(urReturn the canvas x coordinate of pixel position SCREENX rounded
        to nearest multiple of GRIDSPACING units.ucanvasx(u	getdoubleutkucallu_w(uselfuscreenxugridspacing((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucanvasx�suCanvas.canvasxcCs"t|jj|jd||��S(urReturn the canvas y coordinate of pixel position SCREENY rounded
        to nearest multiple of GRIDSPACING units.ucanvasy(u	getdoubleutkucallu_w(uselfuscreenyugridspacing((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucanvasy	suCanvas.canvasycGs6dd�|jj|jj|jdf|��D�S(u8Return a list of coordinates for the item given in ARGS.cSsg|]}t|��qS((u	getdouble(u.0ux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>	s	u!Canvas.coords.<locals>.<listcomp>ucoords(utku	splitlistucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucoords	s		u
Canvas.coordsc	Csvt|�}|d}t|ttf�r>|dd�}ni}t|jj|jd|||j||���S(uInternal function.iNucreatei����i����(	u_flattenu
isinstanceudictutupleugetintutkucallu_wu_options(uselfuitemTypeuargsukwucnf((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_create	s
uCanvas._createcOs|jd||�S(u6Create arc shaped region with coordinates x1,y1,x2,y2.uarc(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
create_arc	suCanvas.create_arccOs|jd||�S(u%Create bitmap with coordinates x1,y1.ubitmap(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
create_bitmap	suCanvas.create_bitmapcOs|jd||�S(u)Create image item with coordinates x1,y1.uimage(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucreate_image	suCanvas.create_imagecOs|jd||�S(u-Create line with coordinates x1,y1,...,xn,yn.uline(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucreate_line"	suCanvas.create_linecOs|jd||�S(u)Create oval with coordinates x1,y1,x2,y2.uoval(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucreate_oval%	suCanvas.create_ovalcOs|jd||�S(u0Create polygon with coordinates x1,y1,...,xn,yn.upolygon(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucreate_polygon(	suCanvas.create_polygoncOs|jd||�S(u.Create rectangle with coordinates x1,y1,x2,y2.u	rectangle(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucreate_rectangle+	suCanvas.create_rectanglecOs|jd||�S(u#Create text with coordinates x1,y1.utext(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucreate_text.	suCanvas.create_textcOs|jd||�S(u+Create window with coordinates x1,y1,x2,y2.uwindow(u_create(uselfuargsukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
create_window1	suCanvas.create_windowcGs!|jj|jdf|�dS(u�Delete characters of text items identified by tag or id in ARGS (possibly
        several times) from FIRST to LAST character (including).udcharsN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudchars4	su
Canvas.dcharscGs!|jj|jdf|�dS(u<Delete items identified by all tag or ids contained in ARGS.udeleteN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudelete8	su
Canvas.deletecGs!|jj|jdf|�dS(uiDelete tag or id given as last arguments in ARGS from items
        identified by first argument in ARGS.udtagN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudtag;	suCanvas.dtagcGs,|j|jj|jdf|��p+fS(uInternal function.ufind(u_getintsutkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufind?	suCanvas.findcCs|jd|�S(uReturn items above TAGORID.uabove(ufind(uselfutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
find_aboveC	suCanvas.find_abovecCs
|jd�S(uReturn all items.uall(ufind(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufind_allF	suCanvas.find_allcCs|jd|�S(uReturn all items below TAGORID.ubelow(ufind(uselfutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
find_belowI	suCanvas.find_belowcCs|jd||||�S(u�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
        closests). If START is specified the next below this tag is taken.uclosest(ufind(uselfuxuyuhaloustart((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufind_closestL	suCanvas.find_closestcCs|jd||||�S(u=Return all items in rectangle defined
        by X1,Y1,X2,Y2.uenclosed(ufind(uselfux1uy1ux2uy2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
find_enclosedR	suCanvas.find_enclosedcCs|jd||||�S(uLReturn all items which overlap the rectangle
        defined by X1,Y1,X2,Y2.uoverlapping(ufind(uselfux1uy1ux2uy2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufind_overlappingV	suCanvas.find_overlappingcCs|jd|�S(uReturn all items with TAGORID.uwithtag(ufind(uselfutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufind_withtagZ	suCanvas.find_withtagcGs|jj|jdf|�S(u.Set focus to the first item specified in ARGS.ufocus(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufocus]	suCanvas.focuscGs)|jj|jj|jdf|��S(u=Return tags associated with the first item specified in ARGS.ugettags(utku	splitlistucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugettags`	s	uCanvas.gettagscGs!|jj|jdf|�dS(udSet cursor at position POS in the item identified by TAGORID.
        In ARGS TAGORID must be first.uicursorN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuicursord	suCanvas.icursorcGs#t|jj|jdf|��S(u?Return position of cursor as integer in item specified in ARGS.uindex(ugetintutkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuindexh	suCanvas.indexcGs!|jj|jdf|�dS(uSInsert TEXT in item TAGORID at position POS. ARGS must
        be TAGORID POS TEXT.uinsertN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsertk	su
Canvas.insertcCs'|jj|jdf|d|f�S(u9Return the resource value for an OPTION for item TAGORID.uitemcgetu-(utkucallu_w(uselfutagOrIduoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuitemcgeto	s	uCanvas.itemcgetcKs|jd|f||�S(u�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.
        u
itemconfigure(u
_configure(uselfutagOrIducnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
itemconfigures	suCanvas.itemconfigurecGs!|jj|jdf|�dS(uJLower an item TAGORID given in ARGS
        (optional below another item).ulowerN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tag_lower�	suCanvas.tag_lowercGs!|jj|jdf|�dS(u#Move an item TAGORID given in ARGS.umoveN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyumove�	suCanvas.movecKs)|jj|jdf|j||��S(u�Print the contents of the canvas to a postscript
        file. Valid options: colormap, colormode, file, fontmap,
        height, pageanchor, pageheight, pagewidth, pagex, pagey,
        rotate, witdh, x, y.u
postscript(utkucallu_wu_options(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
postscript�	suCanvas.postscriptcGs!|jj|jdf|�dS(uJRaise an item TAGORID given in ARGS
        (optional above another item).uraiseN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tag_raise�	suCanvas.tag_raisecGs!|jj|jdf|�dS(u9Scale item TAGORID with XORIGIN, YORIGIN, XSCALE, YSCALE.uscaleN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscale�	suCanvas.scalecCs#|jj|jdd||�dS(u&Remember the current X, Y coordinates.uscanumarkN(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	scan_mark�	suCanvas.scan_marki
cCs&|jj|jdd|||�dS(u�Adjust the view of the canvas to GAIN times the
        difference between X and Y and the coordinates given in
        scan_mark.uscanudragtoN(utkucallu_w(uselfuxuyugain((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscan_dragto�	suCanvas.scan_dragtocCs#|jj|jdd||�dS(uLAdjust the end of the selection near the cursor of an item TAGORID to index.uselectuadjustN(utkucallu_w(uselfutagOrIduindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
select_adjust�	suCanvas.select_adjustcCs|jj|jdd�dS(u,Clear the selection if it is in this widget.uselectuclearN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselect_clear�	suCanvas.select_clearcCs#|jj|jdd||�dS(u:Set the fixed end of a selection in item TAGORID to INDEX.uselectufromN(utkucallu_w(uselfutagOrIduindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselect_from�	suCanvas.select_fromcCs|jj|jdd�pdS(u(Return the item which has the selection.uselectuitemN(utkucallu_wuNone(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselect_item�	suCanvas.select_itemcCs#|jj|jdd||�dS(u=Set the variable end of a selection in item TAGORID to INDEX.uselectutoN(utkucallu_w(uselfutagOrIduindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	select_to�	suCanvas.select_tocCs|jj|jd|�pdS(u$Return the type of the item TAGORID.utypeN(utkucallu_wuNone(uselfutagOrId((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutype�	suCanvas.typeN(Au__name__u
__module__u__qualname__u__doc__uNoneu__init__uaddtaguaddtag_aboveu
addtag_alluaddtag_belowuaddtag_closestuaddtag_encloseduaddtag_overlappinguaddtag_withtagubboxu
tag_unbindutag_binducanvasxucanvasyucoordsu_createu
create_arcu
create_bitmapucreate_imageucreate_lineucreate_ovalucreate_polygonucreate_rectangleucreate_textu
create_windowudcharsudeleteudtagufindu
find_aboveufind_allu
find_belowufind_closestu
find_enclosedufind_overlappingufind_withtagufocusugettagsuicursoruindexuinsertuitemcgetu
itemconfigureu
itemconfigu	tag_lowerulowerumoveu
postscriptu	tag_raiseuliftutkraiseuscaleu	scan_markuscan_dragtou
select_adjustuselect_clearuselect_fromuselect_itemu	select_toutype(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuCanvas�sx
uCanvascBsh|EeZdZdZdidd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dS(uCheckbuttonu7Checkbutton widget which is either in on- or off-state.cKstj||d||�dS(uConstruct 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.ucheckbuttonN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�	s
uCheckbutton.__init__cCs|jj|jd�dS(uPut the button in off-state.udeselectN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudeselect�	suCheckbutton.deselectcCs|jj|jd�dS(uFlash the button.uflashN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuflash�	suCheckbutton.flashcCs|jj|jd�S(u<Toggle the button and invoke a command if given as resource.uinvoke(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinvoke�	suCheckbutton.invokecCs|jj|jd�dS(uPut the button in on-state.uselectN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselect�	suCheckbutton.selectcCs|jj|jd�dS(uToggle the button.utoggleN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutoggle�	suCheckbutton.toggleN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__udeselectuflashuinvokeuselectutoggle(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuCheckbutton�	suCheckbuttoncBs�|EeZdZdZdidd�Zddd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�Zdd�Z
e
Zdd�ZeZdd�ZeZdd�ZeZdd�ZeZdd�ZeZdS(uEntryu1Entry widget which allows to display simple text.cKstj||d||�dS(uConstruct 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.uentryN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�	suEntry.__init__cCs |jj|jd||�dS(u.Delete text from FIRST to LAST (not included).udeleteN(utkucallu_w(uselfufirstulast((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudelete�	suEntry.deletecCs|jj|jd�S(uReturn the text.uget(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget�	su	Entry.getcCs|jj|jd|�dS(uInsert cursor at INDEX.uicursorN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuicursor�	su
Entry.icursorcCst|jj|jd|��S(uReturn position of cursor.uindex(ugetintutkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuindex�	suEntry.indexcCs |jj|jd||�dS(uInsert STRING at INDEX.uinsertN(utkucallu_w(uselfuindexustring((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert�	suEntry.insertcCs |jj|jdd|�dS(u&Remember the current X, Y coordinates.uscanumarkN(utkucallu_w(uselfux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	scan_mark�	suEntry.scan_markcCs |jj|jdd|�dS(u�Adjust the view of the canvas to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.uscanudragtoN(utkucallu_w(uselfux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscan_dragto�	suEntry.scan_dragtocCs |jj|jdd|�dS(u9Adjust the end of the selection near the cursor to INDEX.u	selectionuadjustN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_adjust�	suEntry.selection_adjustcCs|jj|jdd�dS(u,Clear the selection if it is in this widget.u	selectionuclearN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_clear�	suEntry.selection_clearcCs |jj|jdd|�dS(u*Set the fixed end of a selection to INDEX.u	selectionufromN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_from�	suEntry.selection_fromcCs%|jj|jj|jdd��S(uSReturn True if there are characters selected in the entry, False
        otherwise.u	selectionupresent(utku
getbooleanucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_present
s	uEntry.selection_presentcCs#|jj|jdd||�dS(u3Set the selection from START to END (not included).u	selectionurangeN(utkucallu_w(uselfustartuend((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_range
suEntry.selection_rangecCs |jj|jdd|�dS(u-Set the variable end of a selection to INDEX.u	selectionutoN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_to
suEntry.selection_toN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__udeleteugetuicursoruindexuinsertu	scan_markuscan_dragtouselection_adjustu
select_adjustuselection_clearuselect_clearuselection_fromuselect_fromuselection_presentuselect_presentuselection_rangeuselect_rangeuselection_tou	select_to(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuEntry�	s*uEntrycBs,|EeZdZdZdidd�ZdS(uFrameuFFrame widget which may contain other widgets and can have a 3D border.cKs�t||f�}f}d|kr>d|df}|d=n&d|krdd|df}|d=ntj||d|i|�dS(uConstruct 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.uclass_u-classuclassuframeN(u	_cnfmergeuWidgetu__init__(uselfumasterucnfukwuextra((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__
s

uFrame.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuFrame
suFramecBs,|EeZdZdZdidd�ZdS(uLabelu0Label widget which can display text and bitmaps.cKstj||d||�dS(u�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

        ulabelN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__$
suLabel.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuLabel"
suLabelcBs1|EeZdZdZd(idd�Zdd�Zdd�Zdd	�Zd(d
d�Z	d(dd
�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�ZeZd(dd�ZeZdd�ZeZd(d d!�ZeZd"d#�Zd$d%�Zd(d&d'�ZeZd(S()uListboxu3Listbox widget which can display a list of strings.cKstj||d||�dS(u�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.ulistboxN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__:
suListbox.__init__cCs|jj|jd|�dS(u"Activate item identified by INDEX.uactivateN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuactivateC
suListbox.activatecGs,|j|jj|jdf|��p+dS(uvReturn a tuple of X1,Y1,X2,Y2 coordinates for a rectangle
        which encloses the item identified by index in ARGS.ubboxN(u_getintsutkucallu_wuNone(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubboxF
suListbox.bboxcCs"|jj|jj|jd��S(u2Return list of indices of currently selected item.ucurselection(utku	splitlistucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucurselectionK
suListbox.curselectioncCs |jj|jd||�dS(u/Delete items from FIRST to LAST (not included).udeleteN(utkucallu_w(uselfufirstulast((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudeleteP
suListbox.deletecCsK|r.|jj|jj|jd||��S|jj|jd|�SdS(u4Get list of items from FIRST to LAST (not included).ugetN(utku	splitlistucallu_w(uselfufirstulast((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugetS
suListbox.getcCs5|jj|jd|�}|dkr+dSt|�S(u+Return index of item identified with INDEX.uindexunoneN(utkucallu_wuNoneugetint(uselfuindexui((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuindexZ
su
Listbox.indexcGs$|jj|jd|f|�dS(uInsert ELEMENTS at INDEX.uinsertN(utkucallu_w(uselfuindexuelements((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert_
suListbox.insertcCst|jj|jd|��S(u5Get index of item which is nearest to y coordinate Y.unearest(ugetintutkucallu_w(uselfuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyunearestb
suListbox.nearestcCs#|jj|jdd||�dS(u&Remember the current X, Y coordinates.uscanumarkN(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	scan_markf
suListbox.scan_markcCs#|jj|jdd||�dS(u�Adjust the view of the listbox to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.uscanudragtoN(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscan_dragtoi
suListbox.scan_dragtocCs|jj|jd|�dS(u"Scroll such that INDEX is visible.useeN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuseen
suListbox.seecCs |jj|jdd|�dS(u-Set the fixed end oft the selection to INDEX.u	selectionuanchorN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_anchorq
suListbox.selection_anchorcCs#|jj|jdd||�dS(u6Clear the selection from FIRST to LAST (not included).u	selectionuclearN(utkucallu_w(uselfufirstulast((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_clearu
suListbox.selection_clearcCs(|jj|jj|jdd|��S(u+Return 1 if INDEX is part of the selection.u	selectionuincludes(utku
getbooleanucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_includesz
suListbox.selection_includescCs#|jj|jdd||�dS(umSet the selection from FIRST to LAST (not included) without
        changing the currently selected elements.u	selectionusetN(utkucallu_w(uselfufirstulast((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
selection_set
suListbox.selection_setcCst|jj|jd��S(u-Return the number of elements in the listbox.usize(ugetintutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusize�
suListbox.sizecCs'|jj|jdf|d|f�S(u4Return the resource value for an ITEM and an OPTION.uitemcgetu-(utkucallu_w(uselfuindexuoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuitemcget�
s	uListbox.itemcgetcKs|jd|f||�S(u9Configure 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.u
itemconfigure(u
_configure(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
itemconfigure�
suListbox.itemconfigureN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__uactivateubboxucurselectionudeleteugetuindexuinsertunearestu	scan_markuscan_dragtouseeuselection_anchoru
select_anchoruselection_clearuselect_clearuselection_includesuselect_includesu
selection_setu
select_setusizeuitemcgetu
itemconfigureu
itemconfig(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuListbox8
s2		uListboxcBs|EeZdZdZdKidd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zddd�Zdd�Zidd �Zid!d"�Zid#d$�Zid%d&�Zid'd(�Zid)d*�Zid+d,�Zid-d.�Zid/d0�Zid1d2�Zid3d4�Zid5d6�ZdKd7d8�Zd9d:�Z dKd;d<�Z!e!Z"d=d>�Z#d?d@�Z$dAdB�Z%dCdD�Z&dEdF�Z'dGdH�Z(dIdJ�Z)dKS(LuMenuuPMenu widget which allows to display menu bars, pull-down menus and pop-up menus.cKstj||d||�dS(uAConstruct 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.umenuN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�
su
Menu.__init__cCsdS(N((uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_bindForTraversal�
suMenu.tk_bindForTraversalcCs|jjd|j�dS(Nu	tk_mbPost(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tk_mbPost�
suMenu.tk_mbPostcCs|jjd�dS(Nutk_mbUnpost(utkucall(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_mbUnpost�
suMenu.tk_mbUnpostcCs|jjd|j|�dS(Nutk_traverseToMenu(utkucallu_w(uselfuchar((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_traverseToMenu�
suMenu.tk_traverseToMenucCs|jjd|j|�dS(Nutk_traverseWithinMenu(utkucallu_w(uselfuchar((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_traverseWithinMenu�
suMenu.tk_traverseWithinMenucCs|jjd|j�S(Nutk_getMenuButtons(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_getMenuButtons�
suMenu.tk_getMenuButtonscCs|jjd|�dS(Nutk_nextMenu(utkucall(uselfucount((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_nextMenu�
suMenu.tk_nextMenucCs|jjd|�dS(Nutk_nextMenuEntry(utkucall(uselfucount((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_nextMenuEntry�
suMenu.tk_nextMenuEntrycCs|jjd|j�dS(Nu
tk_invokeMenu(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tk_invokeMenu�
suMenu.tk_invokeMenucCs|jjd|j�dS(Nutk_firstMenu(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_firstMenu�
suMenu.tk_firstMenucCs|jjd|j�dS(Nutk_mbButtonDown(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_mbButtonDown�
suMenu.tk_mbButtonDownucCs#|jjd|j|||�dS(u/Post the menu at position X,Y with entry ENTRY.utk_popupN(utkucallu_w(uselfuxuyuentry((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_popup�
su
Menu.tk_popupcCs|jj|jd|�dS(uActivate entry at INDEX.uactivateN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuactivate�
su
Menu.activatecKs0|jj|jd|f|j||��dS(uInternal function.uaddN(utkucallu_wu_options(uselfuitemTypeucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuadd�
suMenu.addcKs|jd|p|�dS(uAdd hierarchical menu item.ucascadeN(uadd(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuadd_cascade�
suMenu.add_cascadecKs|jd|p|�dS(uAdd checkbutton menu item.ucheckbuttonN(uadd(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuadd_checkbutton�
suMenu.add_checkbuttoncKs|jd|p|�dS(uAdd command menu item.ucommandN(uadd(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuadd_command�
suMenu.add_commandcKs|jd|p|�dS(uAddd radio menu item.uradiobuttonN(uadd(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuadd_radiobutton�
suMenu.add_radiobuttoncKs|jd|p|�dS(uAdd separator.u	separatorN(uadd(uselfucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
add_separator�
suMenu.add_separatorcKs3|jj|jd||f|j||��dS(uInternal function.uinsertN(utkucallu_wu_options(uselfuindexuitemTypeucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert�
suMenu.insertcKs|j|d|p|�dS(u$Add hierarchical menu item at INDEX.ucascadeN(uinsert(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert_cascade�
suMenu.insert_cascadecKs|j|d|p|�dS(u#Add checkbutton menu item at INDEX.ucheckbuttonN(uinsert(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert_checkbutton�
suMenu.insert_checkbuttoncKs|j|d|p|�dS(uAdd command menu item at INDEX.ucommandN(uinsert(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert_command�
suMenu.insert_commandcKs|j|d|p|�dS(uAddd radio menu item at INDEX.uradiobuttonN(uinsert(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert_radiobutton�
suMenu.insert_radiobuttoncKs|j|d|p|�dS(uAdd separator at INDEX.u	separatorN(uinsert(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert_separator�
suMenu.insert_separatorcCs�|dkr|}n|j|�|j|�}}|dksL|dkr[d\}}nxat||d�D]L}d|j|�krot|j|d��}|r�|j|�q�qoqoW|jj|j	d||�dS(u7Delete menu items between INDEX1 and INDEX2 (included).iiucommandudeleteNi����(ii����(
uNoneuindexurangeuentryconfigustru	entrycgetu
deletecommandutkucallu_w(uselfuindex1uindex2u
num_index1u
num_index2uiuc((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudelete�
s	uMenu.deletecCs |jj|jd|d|�S(u>Return the resource value of an menu item for OPTION at INDEX.u	entrycgetu-(utkucallu_w(uselfuindexuoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	entrycget�
suMenu.entrycgetcKs|jd|f||�S(uConfigure a menu item at INDEX.uentryconfigure(u
_configure(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuentryconfigure�
suMenu.entryconfigurecCs5|jj|jd|�}|dkr+dSt|�S(u4Return the index of a menu item identified by INDEX.uindexunoneN(utkucallu_wuNoneugetint(uselfuindexui((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuindex�
su
Menu.indexcCs|jj|jd|�S(uRInvoke a menu item identified by INDEX and execute
        the associated command.uinvoke(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinvoke�
suMenu.invokecCs |jj|jd||�dS(uDisplay a menu at position X,Y.upostN(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupostsu	Menu.postcCs|jj|jd|�S(u*Return the type of the menu item at INDEX.utype(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutypesu	Menu.typecCs|jj|jd�dS(u
Unmap a menu.uunpostN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuunpostsuMenu.unpostcCst|jj|jd|��S(uNReturn the x-position of the leftmost pixel of the menu item
        at INDEX.u	xposition(ugetintutkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	xposition
suMenu.xpositioncCst|jj|jd|��S(uEReturn the y-position of the topmost pixel of the menu item at INDEX.u	yposition(ugetintutkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	ypositionsuMenu.ypositionN(*u__name__u
__module__u__qualname__u__doc__uNoneu__init__utk_bindForTraversalu	tk_mbPostutk_mbUnpostutk_traverseToMenuutk_traverseWithinMenuutk_getMenuButtonsutk_nextMenuutk_nextMenuEntryu
tk_invokeMenuutk_firstMenuutk_mbButtonDownutk_popupuactivateuadduadd_cascadeuadd_checkbuttonuadd_commanduadd_radiobuttonu
add_separatoruinsertuinsert_cascadeuinsert_checkbuttonuinsert_commanduinsert_radiobuttonuinsert_separatorudeleteu	entrycgetuentryconfigureuentryconfiguindexuinvokeupostutypeuunpostu	xpositionu	yposition(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuMenu�
sLuMenucBs,|EeZdZdZdidd�ZdS(u
Menubuttonu(Menubutton widget, obsolete since Tk8.0.cKstj||d||�dS(Nu
menubutton(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__suMenubutton.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
Menubuttonsu
MenubuttoncBs,|EeZdZdZdidd�ZdS(uMessageuKMessage widget to display multiline text. Obsolete since Label does it too.cKstj||d||�dS(Numessage(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__suMessage.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuMessagesuMessagecBs\|EeZdZdZdidd�Zdd�Zdd�Zdd	�Zd
d�Z	dS(
uRadiobuttonuGRadiobutton widget which shows only one of several buttons in on-state.cKstj||d||�dS(u�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.uradiobuttonN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__s
uRadiobutton.__init__cCs|jj|jd�dS(uPut the button in off-state.udeselectN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudeselect*suRadiobutton.deselectcCs|jj|jd�dS(uFlash the button.uflashN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuflash.suRadiobutton.flashcCs|jj|jd�S(u<Toggle the button and invoke a command if given as resource.uinvoke(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinvoke1suRadiobutton.invokecCs|jj|jd�dS(uPut the button in on-state.uselectN(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselect4suRadiobutton.selectN(
u__name__u
__module__u__qualname__u__doc__uNoneu__init__udeselectuflashuinvokeuselect(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuRadiobuttonsuRadiobuttoncBs_|EeZdZdZdidd�Zdd�Zdd�Zddd	�Zd
d�Z	dS(
uScaleu1Scale widget which can display a numerical scale.cKstj||d||�dS(u�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.uscaleN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__:s	uScale.__init__cCsI|jj|jd�}yt|�SWntk
rDt|�SYnXdS(u*Get the current value as integer or float.ugetN(utkucallu_wugetintu
ValueErroru	getdouble(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugetDs

u	Scale.getcCs|jj|jd|�dS(uSet the value to VALUE.usetN(utkucallu_w(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusetKsu	Scale.setcCs"|j|jj|jd|��S(u�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.ucoords(u_getintsutkucallu_w(uselfuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucoordsNsuScale.coordscCs|jj|jd||�S(ucReturn where the point X,Y lies. Valid return values are "slider",
        "though1" and "though2".uidentify(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuidentifyTsuScale.identifyN(
u__name__u
__module__u__qualname__u__doc__uNoneu__init__ugetusetucoordsuidentify(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuScale8s
uScalecBst|EeZdZdZdidd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�ZdS(u	Scrollbaru?Scrollbar widget which displays a slider at a certain position.cKstj||d||�dS(ulConstruct 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.u	scrollbarN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__[s	uScrollbar.__init__cCs|jj|jd|�dS(uxDisplay the element at INDEX with activebackground and activerelief.
        INDEX can be "arrow1","slider" or "arrow2".uactivateN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuactivateesuScrollbar.activatecCs"t|jj|jd||��S(unReturn the fractional change of the scrollbar setting if it
        would be moved by DELTAX or DELTAY pixels.udelta(u	getdoubleutkucallu_w(uselfudeltaxudeltay((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudeltaisuScrollbar.deltacCs"t|jj|jd||��S(uRReturn the fractional value which corresponds to a slider
        position of X,Y.ufraction(u	getdoubleutkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyufractionnsuScrollbar.fractioncCs|jj|jd||�S(uYReturn the element under position X,Y as one of
        "arrow1","slider","arrow2" or "".uidentify(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuidentifyrsuScrollbar.identifycCs|j|jj|jd��S(uZReturn the current fractional values (upper and lower end)
        of the slider position.uget(u_getdoublesutkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyugetvsu
Scrollbar.getcGs!|jj|jdf|�dS(uiSet the fractional values of the slider position (upper and
        lower ends as value between 0 and 1).usetN(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusetzsu
Scrollbar.setN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__uactivateudeltaufractionuidentifyugetuset(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	ScrollbarYs
u	Scrollbarc
Bs#|EeZdZdZdridd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�Zdrdd�Z
drdd�Zdd�Zdrdrdd�Zdd�Zdrdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zdrd&d'�Zd(d)�Zdrd*d+�Zid,d-�Zd.d/�Zd0d1�Zd2d3�Zdrd4d5�Zd6d7�Zd8d9�Z d:d;�Z!d<d=�Z"d>d?�Z#id@dA�Z$dBdC�Z%dDdE�Z&dFdG�Z'dHdI�Z(drdrdrdrdrdrdrdrdJdK�Z)dLdM�Z*dNdO�Z+drdPdQ�Z,drdRdS�Z-dTdU�Z.drdVdW�Z/e/Z0dXdY�Z1drdZd[�Z2drd\d]�Z3drd^d_�Z4drd`da�Z5drdbdc�Z6ddde�Z7drdfdg�Z8dhdi�Z9drdjdk�Z:e:Z;idldm�Z<dndo�Z=dpdq�Z>drS(suTextu4Text widget which can display text in various forms.cKstj||d||�dS(u�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,

        utextN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�su
Text.__init__cGs,|j|jj|jdf|��p+dS(u�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.ubboxN(u_getintsutkucallu_wuNone(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubbox�su	Text.bboxcCs|jjd|j|�dS(Nutk_textSelectTo(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_textSelectTo�suText.tk_textSelectTocCs|jjd|j�dS(Nutk_textBackspace(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_textBackspace�suText.tk_textBackspacecCs#|jjd|j|||�dS(Nutk_textIndexCloser(utkucallu_w(uselfuaubuc((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_textIndexCloser�suText.tk_textIndexClosercCs|jjd|j|�dS(Nutk_textResetAnchor(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutk_textResetAnchor�suText.tk_textResetAnchorcCs+|jj|jj|jd|||��S(u�Return whether between index INDEX1 and index INDEX2 the
        relation OP is satisfied. OP is one of <, <=, ==, >=, >, or !=.ucompare(utku
getbooleanucallu_w(uselfuindex1uopuindex2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucompare�suText.comparecGsqdd�|D�}|||g7}|jj|jd|�pAd}|dk	rit|�dkri|fS|SdS(u�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.cSs)g|]}|jd�sd|�qS(u-u-%s(u
startswith(u.0uarg((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
<listcomp>�s	uText.count.<locals>.<listcomp>ucountiN(utkucallu_wuNoneulen(uselfuindex1uindex2uargsures((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucount�s!u
Text.countcCsK|dkr.|jj|jj|jd��S|jj|jd|�dS(ujTurn on the internal consistency checks of the B-Tree inside the text
        widget according to BOOLEAN.udebugN(uNoneutku
getbooleanucallu_w(uselfuboolean((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudebug�s"u
Text.debugcCs |jj|jd||�dS(u?Delete the characters between INDEX1 and INDEX2 (not included).udeleteN(utkucallu_w(uselfuindex1uindex2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudelete�suText.deletecCs"|j|jj|jd|��S(u�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.u	dlineinfo(u_getintsutkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	dlineinfo�suText.dlineinfoc
Ks�g}d}d}|s6g}|dd�}|}nz�t|t�s^|j|�}}n|d|g7}x,|D]$}	||	ru|jd|	�ququW|j|�|r�|j|�n|jj|jd|�|SWd|r�|j|�nXdS(u�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(uappend(ukeyuvalueuindexuresult((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
append_triple�su Text.dump.<locals>.append_tripleu-commandu-udumpN(	uNoneu
isinstanceustru	_registeruappendutkucallu_wu
deletecommand(
uselfuindex1uindex2ucommandukwuargsu	func_nameuresultu
append_tripleukey((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudump�s*	


u	Text.dumpcGs|jj|jd|�S(urInternal 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

        uedit(utkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuedit�s
u	Text.editcCs|jd|�S(u;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.
        umodified(uedit(uselfuarg((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
edit_modifieds	uText.edit_modifiedcCs
|jd�S(u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.
        uredo(uedit(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	edit_redosuText.edit_redocCs
|jd�S(u(Clears the undo and redo stacks
        ureset(uedit(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
edit_resetsuText.edit_resetcCs
|jd�S(unInserts a separator (boundary) on the undo stack.

        Does nothing when the undo option is false
        u	separator(uedit(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuedit_separatorsuText.edit_separatorcCs
|jd�S(uDUndoes 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
        uundo(uedit(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	edit_undo&s	uText.edit_undocCs|jj|jd||�S(u5Return the text from INDEX1 to INDEX2 (not included).uget(utkucallu_w(uselfuindex1uindex2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget1suText.getcCsk|dd�dkr#d|}n|dd�dkrL|dd�}n|jj|jdd||�S(	u9Return the value of OPTION of an embedded image at INDEX.Niu-u_uimageucgeti����i����(utkucallu_w(uselfuindexuoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
image_cget5s

uText.image_cgetcKs|jdd|f||�S(u%Configure an embedded image at INDEX.uimageu	configure(u
_configure(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_configure<suText.image_configurecKs+|jj|jdd||j||��S(u"Create an embedded image at INDEX.uimageucreate(utkucallu_wu_options(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_create?s	uText.image_createcCs|jj|jdd�S(u3Return all names of embedded images in this widget.uimageunames(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_namesDsuText.image_namescCst|jj|jd|��S(u1Return the index in the form line.char for INDEX.uindex(ustrutkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuindexGsu
Text.indexcGs'|jj|jd||f|�dS(u�Insert CHARS before the characters at INDEX. An additional
        tag can be given in ARGS. Additional CHARS and tags can follow in ARGS.uinsertN(utkucallu_w(uselfuindexucharsuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsertJsuText.insertcCs"|jj|jdd||f�S(u�Change the gravity of a mark MARKNAME to DIRECTION (LEFT or RIGHT).
        Return the current value if None is given for DIRECTION.umarkugravity(utkucallu_w(uselfumarkNameu	direction((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyumark_gravityNs	uText.mark_gravitycCs%|jj|jj|jdd��S(uReturn all mark names.umarkunames(utku	splitlistucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
mark_namesSsuText.mark_namescCs#|jj|jdd||�dS(u0Set mark MARKNAME before the character at INDEX.umarkusetN(utkucallu_w(uselfumarkNameuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyumark_setWsu
Text.mark_setcGs$|jj|jddf|�dS(uDelete all marks in MARKNAMES.umarkuunsetN(utkucallu_w(uselfu	markNames((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
mark_unsetZsuText.mark_unsetcCs"|jj|jdd|�p!dS(u-Return the name of the next mark after INDEX.umarkunextN(utkucallu_wuNone(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	mark_next]suText.mark_nextcCs"|jj|jdd|�p!dS(u2Return the name of the previous mark before INDEX.umarkupreviousN(utkucallu_wuNone(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
mark_previous`suText.mark_previouscKs/|jj|jdd||j||��dS(uCreates a peer text widget with the given newPathName, and any
        optional standard configuration options. By default the peer will
        have the same start and end line as the parent widget, but
        these can be overriden with the standard configuration options.upeerucreateN(utkucallu_wu_options(uselfunewPathNameucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupeer_createcsuText.peer_createcCs%|jj|jj|jdd��S(uYReturns a list of peers of this widget (this does not include
        the widget itself).upeerunames(utku	splitlistucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
peer_namesjsuText.peer_namescGs&|jj|jd||||�dS(u�Replaces the range of characters between index1 and index2 with
        the given characters and tags specified by args.

        See the method insert for some more information about args, and the
        method delete for information about the indices.ureplaceN(utkucallu_w(uselfuindex1uindex2ucharsuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyureplacensuText.replacecCs#|jj|jdd||�dS(u&Remember the current X, Y coordinates.uscanumarkN(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	scan_markusuText.scan_markcCs#|jj|jdd||�dS(u~Adjust the view of the text to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.uscanudragtoN(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscan_dragtoxsuText.scan_dragtoc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(u�Search PATTERN beginning from INDEX until STOPINDEX.
        Return the index of the first character of a match or an
        empty string.usearchu	-forwardsu
-backwardsu-exactu-regexpu-nocaseu-elideu-countiu-u--(u_wuappendustrutkucallutuple(uselfupatternuindexu	stopindexuforwardsu	backwardsuexacturegexpunocaseucountuelideuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusearch}s.


uText.searchcCs|jj|jd|�dS(u3Scroll such that the character at INDEX is visible.useeN(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusee�suText.seecGs*|jj|jdd||f|�dS(u|Add tag TAGNAME to all characters between INDEX1 and index2 in ARGS.
        Additional pairs of indices may follow in ARGS.utaguaddN(utkucallu_w(uselfutagNameuindex1uargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutag_add�s	uText.tag_addcCs<|jj|jdd||d�|r8|j|�ndS(ugUnbind for all characters with TAGNAME for event SEQUENCE  the
        function identified with FUNCID.utagubinduN(utkucallu_wu
deletecommand(uselfutagNameusequenceufuncid((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_unbind�s"uText.tag_unbindcCs%|j|jdd|f|||�S(u+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.utagubind(u_bindu_w(uselfutagNameusequenceufuncuadd((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutag_bind�su
Text.tag_bindcCsk|dd�dkr#d|}n|dd�dkrL|dd�}n|jj|jdd||�S(	u+Return the value of OPTION for tag TAGNAME.Niu-u_utagucgeti����i����(utkucallu_w(uselfutagNameuoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutag_cget�s

u
Text.tag_cgetcKs|jdd|f||�S(uConfigure a tag TAGNAME.utagu	configure(u
_configure(uselfutagNameucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_configure�suText.tag_configurecGs$|jj|jddf|�dS(uDelete all tags in TAGNAMES.utagudeleteN(utkucallu_w(uselfutagNames((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_delete�suText.tag_deletecCs#|jj|jdd||�dS(u`Change the priority of tag TAGNAME such that it is lower
        than the priority of BELOWTHIS.utagulowerN(utkucallu_w(uselfutagNameu	belowThis((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tag_lower�suText.tag_lowercCs(|jj|jj|jdd|��S(uReturn a list of all tag names.utagunames(utku	splitlistucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tag_names�s	uText.tag_namescCs.|jj|jj|jdd|||��S(u�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.utagu	nextrange(utku	splitlistucallu_w(uselfutagNameuindex1uindex2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_nextrange�suText.tag_nextrangecCs.|jj|jj|jdd|||��S(u�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.utagu	prevrange(utku	splitlistucallu_w(uselfutagNameuindex1uindex2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_prevrange�suText.tag_prevrangecCs#|jj|jdd||�dS(uaChange the priority of tag TAGNAME such that it is higher
        than the priority of ABOVETHIS.utaguraiseN(utkucallu_w(uselfutagNameu	aboveThis((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	tag_raise�s	uText.tag_raisecCs(|jj|jj|jdd|��S(u7Return a list of ranges of text which have tag TAGNAME.utaguranges(utku	splitlistucallu_w(uselfutagName((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_ranges�suText.tag_rangescCs&|jj|jdd|||�dS(uARemove tag TAGNAME from all characters between INDEX1 and INDEX2.utaguremoveN(utkucallu_w(uselfutagNameuindex1uindex2((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
tag_remove�s	uText.tag_removecCsk|dd�dkr#d|}n|dd�dkrL|dd�}n|jj|jdd||�S(	u:Return the value of OPTION of an embedded window at INDEX.Niu-u_uwindowucgeti����i����(utkucallu_w(uselfuindexuoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwindow_cget�s

uText.window_cgetcKs|jdd|f||�S(u&Configure an embedded window at INDEX.uwindowu	configure(u
_configure(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwindow_configure�suText.window_configurecKs3|jj|jdd|f|j||��dS(uCreate a window at INDEX.uwindowucreateN(utkucallu_wu_options(uselfuindexucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
window_create�s	uText.window_createcCs%|jj|jj|jdd��S(u4Return all names of embedded windows in this widget.uwindowunames(utku	splitlistucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwindow_names�s	uText.window_namescGs$|jj|jddf|�dS(uObsolete function, use see.uyviewu
-pickplaceN(utkucallu_w(uselfuwhat((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuyview_pickplace�suText.yview_pickplaceN(?u__name__u
__module__u__qualname__u__doc__uNoneu__init__ubboxutk_textSelectToutk_textBackspaceutk_textIndexCloserutk_textResetAnchorucompareucountudebugudeleteu	dlineinfoudumpueditu
edit_modifiedu	edit_redou
edit_resetuedit_separatoru	edit_undougetu
image_cgetuimage_configureuimage_createuimage_namesuindexuinsertumark_gravityu
mark_namesumark_setu
mark_unsetu	mark_nextu
mark_previousupeer_createu
peer_namesureplaceu	scan_markuscan_dragtousearchuseeutag_addu
tag_unbindutag_bindutag_cgetu
tag_configureu
tag_configu
tag_deleteu	tag_loweru	tag_namesu
tag_nextrangeu
tag_prevrangeu	tag_raiseu
tag_rangesu
tag_removeuwindow_cgetuwindow_configureu
window_configu
window_createuwindow_namesuyview_pickplace(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuText�sz(
	uTextcBs5|EeZdZdZddd�Zdd�ZdS(u_setitu>Internal class. It wraps the command in the widget OptionMenu.cCs||_||_||_dS(N(u
_setit__valueu_setit__varu_setit__callback(uselfuvaruvalueucallback((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�s		u_setit.__init__cGs6|jj|j�|jr2|j|j|�ndS(N(u_setit__varusetu
_setit__valueu_setit__callback(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__call__�s	u_setit.__call__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__u__call__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_setit�su_setitcBs>|EeZdZdZdd�Zdd�Zdd�ZdS(	u
OptionMenuu?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|jd|dt|||��x0|D](}	|jd|	dt||	|��q�W||d
<dS(u�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.iuborderwidthutextvariableiuindicatoronureliefucuanchoruhighlightthicknessu
menubuttonu
tk_optionMenuunameumenuutearoffiucommanduunknown option -ulabelN(
uRAISEDuWidgetu__init__u
widgetNameuMenuu_OptionMenu__menuu_wumenunameugetuTclErrorukeysuadd_commandu_setit(
uselfumasteruvariableuvalueuvaluesukwargsukwumenuucallbackuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�s$
	

uOptionMenu.__init__cCs#|dkr|jStj||�S(Numenu(u_OptionMenu__menuuWidgetu__getitem__(uselfuname((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__getitem__
suOptionMenu.__getitem__cCstj|�d|_dS(u,Destroy this widget and the associated menu.N(u
MenubuttonudestroyuNoneu_OptionMenu__menu(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudestroy
s
uOptionMenu.destroyN(u__name__u
__module__u__qualname__u__doc__u__init__u__getitem__udestroy(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
OptionMenu�su
OptionMenucBs�|EeZdZdZdZdiddd�Zdd�Zdd�Zd	d
�Z	dd�Z
d
d�ZeZdd�Z
dd�Zdd�ZdS(uImageuBase class for images.ic	Ks:d|_|s-t}|s-td��q-n|j|_|s�tjd7_dtjf}|ddkr�d|dd�}q�n|r�|r�t||f�}n|r�|}nf}xL|j�D]>\}}t	|�r�|j
|�}n|d||f}q�W|jjdd||f|�||_dS(	NuToo early to create imageiu	pyimage%riu-u_uimageucreate(uNoneunameu
_default_rootuRuntimeErrorutkuImageu_last_idu	_cnfmergeuitemsucallableu	_registerucall(	uselfuimgtypeunameucnfumasterukwuoptionsukuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__!
s,		 uImage.__init__cCs|jS(N(uname(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__str__7
su
Image.__str__cCsB|jr>y|jjdd|j�Wq>tk
r:Yq>XndS(Nuimageudelete(unameutkucalluTclError(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__del__8
s
	
u
Image.__del__cCs$|jj|jdd||�dS(Nu	configureu-(utkucalluname(uselfukeyuvalue((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__setitem__?
suImage.__setitem__cCs|jj|jdd|�S(Nu	configureu-(utkucalluname(uselfukey((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__getitem__A
suImage.__getitem__cKs�f}x�t|�j�D]p\}}|dk	r|ddkrT|dd�}nt|�rr|j|�}n|d||f}qqW|jj|jdf|�dS(uConfigure the image.iu_Nu-uconfigi����i����(u	_cnfmergeuitemsuNoneucallableu	_registerutkucalluname(uselfukwuresukuv((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	configureC
suImage.configurecCst|jjdd|j��S(uReturn the height of the image.uimageuheight(ugetintutkucalluname(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuheightN
suImage.heightcCs|jjdd|j�S(u8Return the type of the imgage, e.g. "photo" or "bitmap".uimageutype(utkucalluname(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyutypeR
su
Image.typecCst|jjdd|j��S(uReturn the width of the image.uimageuwidth(ugetintutkucalluname(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwidthU
suImage.widthN(u__name__u
__module__u__qualname__u__doc__u_last_iduNoneu__init__u__str__u__del__u__setitem__u__getitem__u	configureuconfiguheightutypeuwidth(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuImage
s
uImagecBs�|EeZdZdZdiddd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
d�Z
ddd�Zdd�Zddd�Z
dddd�ZdS(u
PhotoImageu?Widget which can display colored images in GIF, PPM/PGM format.cKs tj|d||||�dS(utCreate an image with NAME.

        Valid resource names: data, format, file, gamma, height, palette,
        width.uphotoN(uImageu__init__(uselfunameucnfumasterukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__\
suPhotoImage.__init__cCs|jj|jd�dS(uDisplay a transparent image.ublankN(utkucalluname(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyublankb
suPhotoImage.blankcCs|jj|jdd|�S(uReturn the value of OPTION.ucgetu-(utkucalluname(uselfuoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucgete
suPhotoImage.cgetcCs|jj|jdd|�S(Nucgetu-(utkucalluname(uselfukey((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__getitem__i
suPhotoImage.__getitem__cCs&t�}|jj|d|j�|S(u;Return a new PhotoImage with the same image as this widget.ucopy(u
PhotoImageutkucalluname(uselfu	destImage((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyucopyl
s	uPhotoImage.copyucCsDt�}|dkr|}n|jj|d|jd||�|S(u\Return a new PhotoImage with the same image as this widget
        but zoom it with X and Y.uucopyu-zoom(u
PhotoImageutkucalluname(uselfuxuyu	destImage((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuzoomq
s
		"uPhotoImage.zoomcCsDt�}|dkr|}n|jj|d|jd||�|S(ukReturn a new PhotoImage based on the same image as this widget
        but use only every Xth or Yth pixel.uucopyu
-subsample(u
PhotoImageutkucalluname(uselfuxuyu	destImage((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	subsamplex
s
		"uPhotoImage.subsamplecCs|jj|jd||�S(u8Return the color (red, green, blue) of the pixel at X,Y.uget(utkucalluname(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget
suPhotoImage.getcCsf|jd|f}|rR|ddkr;|dd�}n|dt|�}n|jj|�dS(uzPut row formatted colors to image starting from
        position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))uputiu-toiN(u-to(unameutupleutkucall(uselfudatautouargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuput�
suPhotoImage.putcCs\|jd|f}|r+|d|f}n|rH|dt|�}n|jj|�dS(uRWrite image to file FILENAME in FORMAT starting from
        position FROM_COORDS.uwriteu-formatu-fromN(u-from(unameutupleutkucall(uselfufilenameuformatufrom_coordsuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuwrite�
suPhotoImage.writeN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__ublankucgetu__getitem__ucopyuzoomu	subsampleugetuputuwrite(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
PhotoImageZ
s
u
PhotoImagecBs/|EeZdZdZdiddd�ZdS(uBitmapImageu"Widget which can display a bitmap.cKs tj|d||||�dS(uqCreate a bitmap with NAME.

        Valid resource names: background, data, file, foreground, maskdata, maskfile.ubitmapN(uImageu__init__(uselfunameucnfumasterukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�
suBitmapImage.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuBitmapImage�
suBitmapImagecCstjjtjjdd��S(Nuimageunames(u
_default_rootutku	splitlistucall(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_names�
suimage_namescCstjjtjjdd��S(Nuimageutypes(u
_default_rootutku	splitlistucall(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuimage_types�
suimage_typescBs�|EeZdZdZd"idd�Zdd�Zd"dd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd"d d!�Zd"S(#uSpinboxuspinbox widget.cKstj||d||�dS(u�Construct a spinbox widget with the parent MASTER.

        STANDARD OPTIONS

            activebackground, background, borderwidth,
            cursor, exportselection, font, foreground,
            highlightbackground, highlightcolor,
            highlightthickness, insertbackground,
            insertborderwidth, insertofftime,
            insertontime, insertwidth, justify, relief,
            repeatdelay, repeatinterval,
            selectbackground, selectborderwidth
            selectforeground, takefocus, textvariable
            xscrollcommand.

        WIDGET-SPECIFIC OPTIONS

            buttonbackground, buttoncursor,
            buttondownrelief, buttonuprelief,
            command, disabledbackground,
            disabledforeground, format, from,
            invalidcommand, increment,
            readonlybackground, state, to,
            validate, validatecommand values,
            width, wrap,
        uspinboxN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__�
suSpinbox.__init__cCs(|j|jj|jd|��p'dS(u�Return a tuple of X1,Y1,X2,Y2 coordinates for a
        rectangle which encloses the character given by index.

        The first two elements of the list give the x and y
        coordinates of the upper-left corner of the screen
        area covered by the character (in pixels relative
        to the widget) and the last two elements give the
        width and height of the character, in pixels. The
        bounding box may refer to a region outside the
        visible area of the window.
        ubboxN(u_getintsutkucallu_wuNone(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyubbox�
suSpinbox.bboxcCs|jj|jd||�S(uWDelete one or more elements of the spinbox.

        First is the index of the first character to delete,
        and last is the index of the character just after
        the last one to delete. If last isn't specified it
        defaults to first+1, i.e. a single character is
        deleted.  This command returns an empty string.
        udelete(utkucallu_w(uselfufirstulast((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyudelete�
s	uSpinbox.deletecCs|jj|jd�S(uReturns the spinbox's stringuget(utkucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuget�
suSpinbox.getcCs|jj|jd|�S(u�Alter the position of the insertion cursor.

        The insertion cursor will be displayed just before
        the character given by index. Returns an empty string
        uicursor(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuicursor�
suSpinbox.icursorcCs|jj|jd||�S(u{Returns the name of the widget at position x, y

        Return value is one of: none, buttondown, buttonup, entry
        uidentify(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuidentify�
suSpinbox.identifycCs|jj|jd|�S(u;Returns the numerical index corresponding to index
        uindex(utkucallu_w(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuindex�
su
Spinbox.indexcCs|jj|jd||�S(uDInsert string s at index

         Returns an empty string.
        uinsert(utkucallu_w(uselfuindexus((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinsert�
suSpinbox.insertcCs|jj|jd|�S(u�Causes the specified element to be invoked

        The element could be buttondown or buttonup
        triggering the action associated with it.
        uinvoke(utkucallu_w(uselfuelement((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuinvoke�
suSpinbox.invokecGs,|j|jj|jdf|��p+fS(uInternal function.uscan(u_getintsutkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscansuSpinbox.scancCs|jd|�S(u�Records x and the current view in the spinbox window;

        used in conjunction with later scan dragto commands.
        Typically this command is associated with a mouse button
        press in the widget. It returns an empty string.
        umark(uscan(uselfux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	scan_mark	suSpinbox.scan_markcCs|jd|�S(u�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.
        udragto(uscan(uselfux((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuscan_dragtos
uSpinbox.scan_dragtocGs,|j|jj|jdf|��p+fS(uInternal function.u	selection(u_getintsutkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	selectionsuSpinbox.selectioncCs|jd|�S(uLocate 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. Returns an empty string.
        uadjust(u	selection(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_adjust#suSpinbox.selection_adjustcCs
|jd�S(u�Clear the selection

        If the selection isn't in this widget then the
        command has no effect. Returns an empty string.
        uclear(u	selection(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_clear1suSpinbox.selection_clearcCs|jd|�S(u�Sets or gets the currently selected element.

        If a spinbutton element is specified, it will be
        displayed depressed
        uelement(u	selection(uselfuelement((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuselection_element9suSpinbox.selection_elementN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__ubboxudeleteugetuicursoruidentifyuindexuinsertuinvokeuscanu	scan_markuscan_dragtou	selectionuselection_adjustuselection_clearuselection_element(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuSpinbox�
s"	uSpinboxcBs,|EeZdZdZdidd�ZdS(u
LabelFrameulabelframe widget.cKstj||d||�dS(u�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
        u
labelframeN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__EsuLabelFrame.__init__N(u__name__u
__module__u__qualname__u__doc__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
LabelFrameCsu
LabelFramecBs�|EeZdZdZd idd�Zdd�Zdd�ZeZdd	�Z	d
d�Z
dd
�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zd dd�ZeZdd�Zd S(!uPanedWindowupanedwindow widget.cKstj||d||�dS(uTConstruct a panedwindow widget with the parent MASTER.

        STANDARD OPTIONS

            background, borderwidth, cursor, height,
            orient, relief, width

        WIDGET-SPECIFIC OPTIONS

            handlepad, handlesize, opaqueresize,
            sashcursor, sashpad, sashrelief,
            sashwidth, showhandle,
        upanedwindowN(uWidgetu__init__(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__[suPanedWindow.__init__cKs-|jj|jd|f|j|��dS(u+Add a child widget to the panedwindow in a new pane.

        The child argument is the name of the child widget
        followed by pairs of arguments that specify how to
        manage the windows. The possible options and values
        are the ones accepted by the paneconfigure method.
        uaddN(utkucallu_wu_options(uselfuchildukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuaddksuPanedWindow.addcCs|jj|jd|�dS(u�Remove the pane containing child from the panedwindow

        All geometry management options for child will be forgotten.
        uforgetN(utkucallu_w(uselfuchild((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuremoveusuPanedWindow.removecCs|jj|jd||�S(u�Identify the panedwindow component at point x, y

        If the point is over a sash or a sash handle, the result
        is a two element list containing the index of the sash or
        handle, and a word indicating whether it is over a sash
        or a handle, such as {0 sash} or {2 handle}. If the point
        is over any other part of the panedwindow, the result is
        an empty list.
        uidentify(utkucallu_w(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuidentify}s
uPanedWindow.identifycGs,|j|jj|jdf|��p+fS(uInternal function.uproxy(u_getintsutkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuproxy�suPanedWindow.proxycCs
|jd�S(uBReturn the x and y pair of the most recent proxy location
        ucoord(uproxy(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuproxy_coord�suPanedWindow.proxy_coordcCs
|jd�S(u+Remove the proxy from the display.
        uforget(uproxy(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuproxy_forget�suPanedWindow.proxy_forgetcCs|jd||�S(u:Place the proxy at the given x and y coordinates.
        uplace(uproxy(uselfuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuproxy_place�suPanedWindow.proxy_placecGs,|j|jj|jdf|��p+fS(uInternal function.usash(u_getintsutkucallu_w(uselfuargs((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyusash�suPanedWindow.sashcCs|jd|�S(uAReturn the current x and y pair for the sash given by index.

        Index must be an integer between 0 and 1 less than the
        number of panes in the panedwindow. The coordinates given are
        those of the top left corner of the region containing the sash.
        pathName sash dragto index x y This command computes the
        difference between the given coordinates and the coordinates
        given to the last sash coord command for the given sash. It then
        moves that sash the computed difference. The return value is the
        empty string.
        ucoord(usash(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
sash_coord�suPanedWindow.sash_coordcCs|jd|�S(uRecords x and y for the sash given by index;

        Used in conjunction with later dragto commands to move the sash.
        umark(usash(uselfuindex((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	sash_mark�suPanedWindow.sash_markcCs|jd|||�S(u?Place the sash given by index at the given coordinates
        uplace(usash(uselfuindexuxuy((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
sash_place�suPanedWindow.sash_placecCs'|jj|jdf|d|f�S(uwQuery a management option for window.

        Option may be any value allowed by the paneconfigure subcommand
        upanecgetu-(utkucallu_w(uselfuchilduoption((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupanecget�s	uPanedWindow.panecgetcKs�|dkr)|r)|j|jd|�St|t�r\|r\|j|jd|d|�S|jj|jd|f|j||��dS(u�
Query or modify the management options for window.

        If no option is specified, returns a list describing all
        of the available options for pathName.  If option is
        specified with no value, then the command returns a list
        describing the one named option (this list will be identical
        to the corresponding sublist of the value returned if no
        option is specified). If one or more option-value pairs are
        specified, then the command modifies the given widget
        option(s) to have the given value(s); in this case the
        command returns an empty string. The following options
        are supported:

        after window
            Insert the window after the window specified. window
            should be the name of a window already managed by pathName.
        before window
            Insert the window before the window specified. window
            should be the name of a window already managed by pathName.
        height size
            Specify a height for the window. The height will be the
            outer dimension of the window including its border, if
            any. If size is an empty string, or if -height is not
            specified, then the height requested internally by the
            window will be used initially; the height may later be
            adjusted by the movement of sashes in the panedwindow.
            Size may be any value accepted by Tk_GetPixels.
        minsize n
            Specifies that the size of the window cannot be made
            less than n. This constraint only affects the size of
            the widget in the paned dimension -- the x dimension
            for horizontal panedwindows, the y dimension for
            vertical panedwindows. May be any value accepted by
            Tk_GetPixels.
        padx n
            Specifies a non-negative value indicating how much
            extra space to leave on each side of the window in
            the X-direction. The value may have any of the forms
            accepted by Tk_GetPixels.
        pady n
            Specifies a non-negative value indicating how much
            extra space to leave on each side of the window in
            the Y-direction. The value may have any of the forms
            accepted by Tk_GetPixels.
        sticky style
            If a window's pane is larger than the requested
            dimensions of the window, this option may be used
            to position (or stretch) the window within its pane.
            Style is a string that contains zero or more of the
            characters n, s, e or w. The string can optionally
            contains spaces or commas, but they are ignored. Each
            letter refers to a side (north, south, east, or west)
            that the window will "stick" to. If both n and s
            (or e and w) are specified, the window will be
            stretched to fill the entire height (or width) of
            its cavity.
        width size
            Specify a width for the window. The width will be
            the outer dimension of the window including its
            border, if any. If size is an empty string, or
            if -width is not specified, then the width requested
            internally by the window will be used initially; the
            width may later be adjusted by the movement of sashes
            in the panedwindow. Size may be any value accepted by
            Tk_GetPixels.

        u
paneconfigureu-N(	uNoneu
_getconfigureu_wu
isinstanceustru_getconfigure1utkucallu_options(uselfutagOrIducnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
paneconfigure�sDuPanedWindow.paneconfigurecCs"|jj|jj|jd��S(u+Returns an ordered list of the child panes.upanes(utku	splitlistucallu_w(uself((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyupanessuPanedWindow.panesN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__uadduremoveuforgetuidentifyuproxyuproxy_coorduproxy_forgetuproxy_placeusashu
sash_coordu	sash_marku
sash_placeupanecgetu
paneconfigureu
paneconfigupanes(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyuPanedWindowYs$
KuPanedWindowcBs&|EeZdZdidd�ZdS(u
StudbuttoncKsitj||d||�|jd|j�|jd|j�|jd|j�|jd|j�dS(Nu
studbuttonu<Any-Enter>u<Any-Leave>u<1>u<ButtonRelease-1>(uWidgetu__init__ubindu
tkButtonEnteru
tkButtonLeaveutkButtonDownu
tkButtonUp(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__s
uStudbutton.__init__N(u__name__u
__module__u__qualname__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu
Studbuttonsu
StudbuttoncBs&|EeZdZdidd�ZdS(u	TributtoncKs�tj||d||�|jd|j�|jd|j�|jd|j�|jd|j�|d|d<|d|d<dS(	Nu	tributtonu<Any-Enter>u<Any-Leave>u<1>u<ButtonRelease-1>ubgufguactivebackground(uWidgetu__init__ubindu
tkButtonEnteru
tkButtonLeaveutkButtonDownu
tkButtonUp(uselfumasterucnfukw((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu__init__!suTributton.__init__N(u__name__u
__module__u__qualname__uNoneu__init__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu	Tributton su	TributtoncCs�t�}dt}tdkr,|d7}nt|d|�}|j�t|ddd|dd��}|j�||_t|dd	d|j�}|j�|j�|j�|j	�|j
�dS(
NuThis is Tcl/Tk version %sg333333 @u
This should be a cedilla: çutextu	Click me!ucommandcSs|jjdd|jd�S(Nutextu[%s](utestu	configure(uroot((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu<lambda>5su_test.<locals>.<lambda>uQUIT(uTku
TclVersionuLabelupackuButtonutestudestroyuiconifyuupdateu	deiconifyumainloop(urootutextulabelutestuquit((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu_test-s 	



	



u_testu__main__(\u__doc__usysuplatformutkinteru_fixuwarningsu_tkinteruTclErrorutkinter.constantsureuwantobjectsufloatu
TK_VERSIONu	TkVersionuTCL_VERSIONu
TclVersionuREADABLEuWRITABLEu	EXCEPTIONucompileu	_magic_reuASCIIu	_space_reu_joinu
_stringifyu_flattenuAttributeErroru	_cnfmergeuEventu_support_default_rootuNoneu
_default_rootu
NoDefaultRootu_tkerroru_exitu_varnumuVariableu	StringVaruIntVaru	DoubleVaru
BooleanVarumainloopuintugetintu	getdoubleu
getbooleanuMiscuCallWrapperuXViewuYViewuWmuTkuTcluPackuPlaceuGridu
BaseWidgetuWidgetuTopleveluButtonuAtEnduAtInsertu
AtSelFirstu	AtSelLastuAtuCanvasuCheckbuttonuEntryuFrameuLabeluListboxuMenuu
MenubuttonuMessageuRadiobuttonuScaleu	ScrollbaruTextu_setitu
OptionMenuuImageu
PhotoImageuBitmapImageuimage_namesuimage_typesuSpinboxu
LabelFrameuPanedWindowu
Studbuttonu	Tributtonu_testu__name__(((u5/opt/alt/python33/lib64/python3.3/tkinter/__init__.pyu<module>s�	
			




,U����T�w-256?		�A^}!(�n%<<��