Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.216.100.123
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : ttk.cpython-32.pyo
l
��bc@sdZdZdZddddddd	d
ddd
dddddddddddddgZddlZddlmZmZmZejdkr�e	ne
Zd�Ze
d �Z
e
ed!�Zd"�Ze
d#�Ze
d$�Zdd%d&�Zd'�Ze	d(�Zd)�Zd*�Zd+�Zd,�Zd-�Zed.�ZGd/�de�ZGd0�d1ej�ZGd2�de�ZGd3�de�Z Gd4�deej!�Z!Gd5�de!�Z"Gd6�de�Z#Gd7�de�Z$Gd8�d	e�Z%e%Z&Gd9�de�Z'Gd:�de�Z(Gd;�d
eej)�Z*e*Z)Gd<�de�Z+Gd=�de�Z,Gd>�deej-�Z-Gd?�deej.�Z.Gd@�de�Z/GdA�de�Z0GdB�deej1ej2�Z3GdC�de#�Z4GdD�de'�Z5dS(Eu�Ttk wrapper.

This module provides classes to allow using Tk themed widget set.

Ttk is based on a revised and enhanced version of
TIP #48 (http://tip.tcl.tk/48) specified style engine.

Its basic idea is to separate, to the extent possible, the code
implementing a widget's behavior from the code implementing its
appearance. Widget class bindings are primarily responsible for
maintaining the widget state and invoking callbacks, all aspects
of the widgets appearance lies at Themes.
u0.3.1u!Guilherme Polo <ggpolo@gmail.com>uButtonuCheckbuttonuComboboxuEntryuFrameuLabelu
Labelframeu
LabelFrameu
MenubuttonuNotebookuPanedwindowuPanedWindowuProgressbaruRadiobuttonuScaleu	Scrollbaru	SeparatoruSizegripuStyleuTreeviewuLabeledScaleu
OptionMenuu
tclobjs_to_pyusetup_masteriN(u_flattenu_joinu
_stringifyg!@cCsatr]ddl}|jjd�}|rA|jjd|�n|jjd�d|_ndS(NiuTILE_LIBRARYu(global auto_path; lappend auto_path {%s}upackage require tileT(u
_REQUIRE_TILEuosuenvironugetutkuevaluTrueu_tile_loaded(umasteruosutilelib((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
_load_tile"s	cCs=|rt|�}n$t|ttf�r9t|�}n|S(uInternal function.(u
_stringifyu
isinstanceulistutupleu_join(uvalueuscript((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_format_optvalue1s
cCsyg}xf|j�D]X\}}|s2||kr|jd|�|dk	rk|jt||��qkqqWt|�S(u�Formats optdict to a tuple to pass it to tk.call.

    E.g. (script=False):
      {'foreground': 'blue', 'padding': [1, 2, 3, 4]} returns:
      ('-foreground', 'blue', '-padding', '1 2 3 4')u-%sN(uitemsuappenduNoneu_format_optvalueu_flatten(uoptdictuscriptuignoreuoptsuoptuvalue((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_format_optdict;s cCs�g}xy|D]q^}}|dt|�dkrF|dp@d}ndj|�}|j|�|dk	r
|j|�q
q
W|S(Niiuu (ulenujoinuappenduNone(uitemsuopt_valustateuval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_mapdict_valuesKs
cCsSg}x@|j�D]2\}}|jd|tt|�|�f�qWt|�S(u�Formats mapdict to pass it to tk.call.

    E.g. (script=False):
      {'expand': [('active', 'selected', 'grey'), ('focus', [1, 2, 3, 4])]}

      returns:

      ('-expand', '{active selected} grey focus {1, 2, 3, 4}')u-%s(uitemsuextendu_format_optvalueu_mapdict_valuesu_flatten(umapdictuscriptuoptsuoptuvalue((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_format_mapdictbs


cOs$d}d}|d
kr�|dkr]|d}tt|dd���}d||f}nE|dd�\}}	tt|dd���}
d||	|
f}t||�}nD|d	kr�|d}t|�dkr�t|d|�f}q�n|rd
|}dj|�}n||fS(uAFormats args and kw according to the given element factory etype.uimageuvsapiiiNu%s %siu%s %s %sufromu{%s}u ((uimageuvsapi(uNoneu_joinu_mapdict_valuesu_format_optdictulenu_format_optvalueujoin(uetypeuscriptuargsukwuspecuoptsuinameu	imagespecu
class_nameupart_idustatemap((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_format_elemcreatess&


ic
Csg}x�|D]�}|\}}|p(i}djt|d	d
��}dd|||rcd|ndf}d|kr�|j|d�||7}t|d||�\}	}|j|	�||8}|jdd|�q
|j|�q
Wdj|�|fS(u#Formats a layout list so we can pass the result to ttk::style
    layout and ttk::style settings. Note that the layout doesn't has to
    be a list necessarily.

    E.g.:
      [("Menubutton.background", None),
       ("Menubutton.button", {"children":
           [("Menubutton.focus", {"children":
               [("Menubutton.padding", {"children":
                [("Menubutton.label", {"side": "left", "expand": 1})]
               })]
           })]
       }),
       ("Menubutton.indicator", {"side": "right"})
      ]

      returns:

      Menubutton.background
      Menubutton.button -children {
        Menubutton.focus -children {
          Menubutton.padding -children {
            Menubutton.label -side left -expand 1
          }
        }
      }
      Menubutton.indicator -side rightu uchildrenu%s%s%su %suu -children {u%s}u
T(uchildren(ujoinu_format_optdictuTrueuappendu_format_layoutlist(
ulayoutuindentuindent_sizeuscriptulayout_elemuelemuoptsufoptsuheadu	newscript((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_format_layoutlist�s 
'



c	Cs�g}x�|j�D]�\}}|jd�rddjt|dd��}|jd||f�n|jd�r�djt|dd��}|jd||f�nd|kr�|ds�d}nt|d�\}}|jd||f�n|jd	�r|d	}|d
}d}x4|t|�krWt	||d�rW|d7}q$W|d|�}	|t|�kr�||r�||ni}
t
|d|	|
�\}}|jd
||||f�qqWdj|�S(u�Returns an appropriate script, based on settings, according to
    theme_settings definition to be used by theme_settings and
    theme_create.u	configureu uttk::style configure %s %s;umaputtk::style map %s %s;ulayoutunulluttk::style layout %s {
%s
}uelement createiiuitemsu%ttk::style element create %s %s %s %su
T(uitemsugetujoinu_format_optdictuTrueuappendu_format_mapdictu_format_layoutlistulenuhasattru_format_elemcreate(usettingsuscriptunameuoptsusu_ueoptsuetypeuargcuelemargsuelemkwuspec((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_script_from_settings�s2
	

),	cCsh|rdnd}i}t|�}x7t||�D]&\}}||t|�|d�<q4Wt|�S(u�Break tuple in pairs, format it properly, then build the return
    dict. If cut_minus is True, the supposed '-' prefixing options will
    be removed.

    ttuple is expected to contain an even number of elements.iiN(uiteruzipustru
tclobjs_to_py(uttupleu	cut_minusu	opt_starturetdictuituoptuval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_dict_from_tcltuple�scCs�g}xp|D]h}t|dd�}|dkrA|j|�q
t|�}|dkrh|j�}n|j|�q
Wt|�}d�t||�D�S(utConstruct a list from the given statespec tuple according to the
    accepted statespec accepted by _format_mapdict.utypenameu	StateSpeccSsg|]}t|��qS((u_flatten(u.0uspec((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
<listcomp>s	N(ugetattruNoneuappendustrusplituiteruzip(ustupleunvaluvalutypenameuit((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_list_from_statespecs
cCs�g}d}x�|t|�kr�||}i}|j||f�|d7}x�|t|�kr�|||d�\}}|jd�s�Pn|dd�}|d7}|dkr�t|�}n|||<qQWqW|S(upConstruct a list from the tuple returned by ttk::layout, this is
    somewhat the reverse of _format_layoutlist.iiiu-Nuchildren(ulenuappendu
startswithu_list_from_layouttuple(ultupleuresuindxunameuoptsuoptuval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_list_from_layouttuples"


cGs:t|�}|||�}t|�dr0|St|�S(uaFormat options then call func with args and options and return
    the appropriate result.

    If no option is specified, a dict is returned. If a option is
    specified with the None value, the value for that option is returned.
    Otherwise, the function just sets the passed options and the caller
    shouldn't be expecting a return value anyway.i(u_format_optdictulenu_dict_from_tcltuple(uoptionsufuncuargsures((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_val_or_dict.s
cCs;t|�}yt|�}Wnttfk
r6YnX|S(uAConverts a value to, hopefully, a more appropriate Python object.(ustruintu
ValueErroru	TypeError(uvalue((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_convert_stringval>scCs�x�|j�D]�\}}|r�t|d�r�t|t�r�t|ddd�dkrit|�}q�ttt	|��}nt|d�r�t	|�}n|||<q
W|S(uOReturns adict with its values converted from Tcl objects to Python
    objects.u__len__iutypenameu	StateSpecN(
uitemsuhasattru
isinstanceustrugetattruNoneu_list_from_statespeculistumapu_convert_stringval(uadictuoptuval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
tclobjs_to_pyHs%cCs@|dkr<tjr-tjp'tj�}q<td��n|S(uIf master is not None, itself is returned. If master is None,
    the default master is returned if there is one, otherwise a new
    master is created and returned.

    If it is not allowed to use the default root and master is None,
    RuntimeError is raised.uINo master specified and tkinter is configured to not support default rootN(uNoneutkinteru_support_default_rootu
_default_rootuTkuRuntimeError(umaster((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyusetup_masterYs	cBs�|EeZdZdZdd�Zdd�Zdd�Zddd�Zdd�Z	d�Z
d�Zd	�Zddd
�Z
d�Zd�Zdd
�ZdS(uManipulate style database.u
ttk::stylecCsGt|�}t|dd�s+t|�n||_|jj|_dS(Nu_tile_loadedF(usetup_masterugetattruFalseu
_load_tileumasterutk(uselfumaster((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__os

	cKs8|dk	rd||<nt||jj|jd|�S(u�Query or sets the default value of the specified option(s) in
        style.

        Each key in kw is an option and each value is either a string or
        a sequence identifying the value for that option.u	configureN(uNoneu_val_or_dictutkucallu_name(uselfustyleu	query_optukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu	configurezs
cKsZ|dk	r2t|jj|jd|d|��St|jj|jd|t|���S(uSQuery or sets dynamic values of the specified option(s) in
        style.

        Each key in kw is an option and each value should be a list or a
        tuple (usually) containing statespecs grouped in tuples, or list,
        or something else of your preference. A statespec is compound of
        one or more states and then a value.umapu-%sN(uNoneu_list_from_statespecutkucallu_nameu_dict_from_tcltupleu_format_mapdict(uselfustyleu	query_optukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyumap�s
#cCsA|rdj|�nd}|jj|jd|d|||�S(uReturns the value specified for option in style.

        If state is specified it is expected to be a sequence of one
        or more states. If the default argument is set, it is used as
        a fallback value in case no specification for option is found.u uulookupu-%s(ujoinutkucallu_name(uselfustyleuoptionustateudefault((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyulookup�scCsVd}|rt|�d}n|dk	r4d}nt|jj|jd||��S(u�Define the widget layout for given style. If layoutspec is
        omitted, return the layout specification for given style.

        layoutspec is expected to be a list or an object different than
        None that evaluates to False if you want to "turn off" that style.
        If it is a list (or tuple, or something else), each item should be
        a tuple where the first item is the layout name and the second item
        should have the format described below:

        LAYOUTS

            A layout can contain the value None, if takes no options, or
            a dict of options specifying how to arrange the element.
            The layout mechanism uses a simplified version of the pack
            geometry manager: given an initial cavity, each element is
            allocated a parcel. Valid options/values are:

                side: whichside
                    Specifies which side of the cavity to place the
                    element; one of top, right, bottom or left. If
                    omitted, the element occupies the entire cavity.

                sticky: nswe
                    Specifies where the element is placed inside its
                    allocated parcel.

                children: [sublayout... ]
                    Specifies a list of elements to place inside the
                    element. Each element is a tuple (or other sequence)
                    where the first item is the layout name, and the other
                    is a LAYOUT.iunullulayoutN(uNoneu_format_layoutlistu_list_from_layouttupleutkucallu_name(uselfustyleu
layoutspeculspec((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyulayout�s 	cOsDt|d||�\}}|jj|jdd||||�dS(u9Create a new element in the current theme of given etype.uelementucreateNF(u_format_elemcreateuFalseutkucallu_name(uselfuelementnameuetypeuargsukwuspecuopts((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuelement_create�scCs|jj|jdd�S(u:Returns the list of elements defined in the current theme.uelementunames(utkucallu_name(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
element_names�scCs|jj|jdd|�S(u)Return the list of elementname's options.uelementuoptions(utkucallu_name(uselfuelementname((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuelement_options�sc	Cso|rt|�nd}|rI|jj|jdd|d|d|�n"|jj|jdd|d|�dS(u.Creates a new theme.

        It is an error if themename already exists. If parent is
        specified, the new theme will inherit styles, elements and
        layouts from the specified parent theme. If settings are present,
        they are expected to have the same syntax used for theme_settings.uuthemeucreateu-parentu	-settingsN(u_script_from_settingsutkucallu_name(uselfu	themenameuparentusettingsuscript((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutheme_create�scCs/t|�}|jj|jdd||�dS(u�Temporarily sets the current theme to themename, apply specified
        settings and then restore the previous theme.

        Each key in settings is a style and each value may contain the
        keys 'configure', 'map', 'layout' and 'element create' and they
        are expected to have the same format as specified by the methods
        configure, map, layout and element_create respectively.uthemeusettingsN(u_script_from_settingsutkucallu_name(uselfu	themenameusettingsuscript((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutheme_settings�scCs|jj|jdd�S(u#Returns a list of all known themes.uthemeunames(utkucallu_name(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutheme_names�scCs3|dkr|jjd�S|jjd|�dS(u�If themename is None, returns the theme in use, otherwise, set
        the current theme to themename, refreshes all widgets and emits
        a <<ThemeChanged>> event.ureturn $ttk::currentThemeu
ttk::setThemeN(uNoneutkuevalucall(uselfu	themename((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu	theme_use�sN(u__name__u
__module__u__doc__u_nameuNoneu__init__u	configureumapulookupulayoutuelement_createu
element_namesuelement_optionsutheme_createutheme_settingsutheme_namesu	theme_use(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuStylejs
+					cBsA|EeZdZdd�Zd�Zdd�Zdd�ZdS(u!Base class for Tk themed widgets.cCsKt|�}t|dd�s+t|�ntjj|||d|�dS(u�Constructs a Ttk Widget with the parent master.

        STANDARD OPTIONS

            class, cursor, takefocus, style

        SCROLLABLE WIDGET OPTIONS

            xscrollcommand, yscrollcommand

        LABEL WIDGET OPTIONS

            text, textvariable, underline, image, compound, width

        WIDGET STATES

            active, disabled, focus, pressed, selected, background,
            readonly, alternate, invalid
        u_tile_loadedukwNF(usetup_masterugetattruFalseu
_load_tileutkinteruWidgetu__init__(uselfumasteru
widgetnameukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__s
cCs|jj|jd||�S(u�Returns the name of the element at position x, y, or the empty
        string if the point does not lie within any element.

        x and y are pixel coordinates relative to the widget.uidentify(utkucallu_w(uselfuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify,scOsG|jj|jddj|��}|r=|r=|||�St|�S(u1Test the widget's state.

        If callback is not specified, returns True if the widget state
        matches statespec and False otherwise. If callback is specified,
        then it will be invoked with *args, **kw if the widget state
        matches statespec. statespec is expected to be a sequence.uinstateu (utkucallu_wujoinubool(uselfu	statespecucallbackuargsukwuret((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinstate4s$
cCsI|dk	rdj|�}n|jjt|jj|jd|���S(uModify or inquire widget state.

        Widget state is returned if statespec is None, otherwise it is
        set according to the statespec flags and then a new state spec
        is returned indicating which flags were changed. statespec is
        expected to be a sequence.u ustateN(uNoneujoinutku	splitlistustrucallu_w(uselfu	statespec((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyustateBsN(u__name__u
__module__u__doc__uNoneu__init__uidentifyuinstateustate(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuWidgets

	uWidgetcBs)|EeZdZdd�Zd�ZdS(ucTtk Button widget, displays a textual label and/or image, and
    evaluates a command when pressed.cKstj||d|�dS(uConstruct a Ttk Button widget with the parent master.

        STANDARD OPTIONS

            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width

        WIDGET-SPECIFIC OPTIONS

            command, default, width
        uttk::buttonN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__SscCs|jj|jd�S(u/Invokes the command associated with the button.uinvoke(utkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinvokebsN(u__name__u
__module__u__doc__uNoneu__init__uinvoke(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuButtonOs
cBs)|EeZdZdd�Zd�ZdS(u;Ttk Checkbutton widget which is either in on- or off-state.cKstj||d|�dS(u'Construct a Ttk Checkbutton widget with the parent master.

        STANDARD OPTIONS

            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width

        WIDGET-SPECIFIC OPTIONS

            command, offvalue, onvalue, variable
        uttk::checkbuttonN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__jscCs|jj|jd�S(uWToggles between the selected and deselected states and
        invokes the associated command. If the widget is currently
        selected, sets the option variable to the offvalue option
        and deselects the widget; otherwise, sets the option variable
        to the option onvalue.

        Returns the result of the associated command.uinvoke(utkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinvokeysN(u__name__u
__module__u__doc__uNoneu__init__uinvoke(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuCheckbuttongs
cBs>|EeZdZddd�Zd�Zd�Zd�ZdS(ueTtk Entry widget displays a one-line text string and allows that
    string to be edited by the user.cKs tj|||pd|�dS(u�Constructs a Ttk Entry widget with the parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus, xscrollcommand

        WIDGET-SPECIFIC OPTIONS

            exportselection, invalidcommand, justify, show, state,
            textvariable, validate, validatecommand, width

        VALIDATION MODES

            none, key, focus, focusin, focusout, all
        u
ttk::entryN(uWidgetu__init__(uselfumasteruwidgetukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�scCs|jj|jd|�S(uqReturn a tuple of (x, y, width, height) which describes the
        bounding box of the character given by index.ubbox(utkucallu_w(uselfuindex((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyubbox�scCs|jj|jd||�S(uxReturns the name of the element at position x, y, or the
        empty string if the coordinates are outside the window.uidentify(utkucallu_w(uselfuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify�scCst|jj|jd��S(u�Force revalidation, independent of the conditions specified
        by the validate option. Returns False if validation fails, True
        if it succeeds. Sets or clears the invalid state accordingly.uvalidate(uboolutkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuvalidate�sN(u__name__u
__module__u__doc__uNoneu__init__ubboxuidentifyuvalidate(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuEntry�s

		cBs5|EeZdZdd�Zdd�Zd�ZdS(uMTtk Combobox widget combines a text field with a pop-down list of
    values.cKstj||d|�dS(uConstruct a Ttk Combobox widget with the parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            exportselection, justify, height, postcommand, state,
            textvariable, values, width
        u
ttk::comboboxN(uEntryu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�scCs|jj|jd|�S(uIf newindex is supplied, sets the combobox value to the
        element at position newindex in the list of values. Otherwise,
        returns the index of the current value in the list of values
        or -1 if the current value does not appear in the list.ucurrent(utkucallu_w(uselfunewindex((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyucurrent�scCs|jj|jd|�dS(u(Sets the value of the combobox to value.usetN(utkucallu_w(uselfuvalue((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuset�sN(u__name__u
__module__u__doc__uNoneu__init__ucurrentuset(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuCombobox�s
cBs |EeZdZdd�ZdS(uJTtk Frame widget is a container, used to group other widgets
    together.cKstj||d|�dS(u�Construct a Ttk Frame with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            borderwidth, relief, padding, width, height
        u
ttk::frameN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�sN(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuFrame�s
cBs |EeZdZdd�ZdS(u7Ttk Label widget displays a textual label and/or image.cKstj||d|�dS(uGConstruct a Ttk Label with parent master.

        STANDARD OPTIONS

            class, compound, cursor, image, style, takefocus, text,
            textvariable, underline, width

        WIDGET-SPECIFIC OPTIONS

            anchor, background, font, foreground, justify, padding,
            relief, text, wraplength
        u
ttk::labelN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�s
N(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuLabel�s
cBs |EeZdZdd�ZdS(u�Ttk Labelframe widget is a container used to group other widgets
    together. It has an optional label, which may be a plain text string
    or another widget.cKstj||d|�dS(u�Construct a Ttk Labelframe with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS
            labelanchor, text, underline, padding, labelwidget, width,
            height
        uttk::labelframeN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�sN(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
Labelframe�s
cBs |EeZdZdd�ZdS(ubTtk Menubutton widget displays a textual label and/or image, and
    displays a menu when pressed.cKstj||d|�dS(uConstruct a Ttk Menubutton with parent master.

        STANDARD OPTIONS

            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width

        WIDGET-SPECIFIC OPTIONS

            direction, menu
        uttk::menubuttonN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__sN(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
Menubuttons
cBs�|EeZdZdd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
dd�Zdd	�Zd
�Z
d�ZdS(
u�Ttk Notebook widget manages a collection of windows and displays
    a single one at a time. Each child window is associated with a tab,
    which the user may select to change the currently-displayed window.cKstj||d|�dS(u\Construct a Ttk Notebook with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            height, padding, width

        TAB OPTIONS

            state, sticky, padding, text, image, compound, underline

        TAB IDENTIFIERS (tab_id)

            The tab_id argument found in several methods may take any of
            the following forms:

                * An integer between zero and the number of tabs
                * The name of a child window
                * A positional specification of the form "@x,y", which
                  defines the tab
                * The string "current", which identifies the
                  currently-selected tab
                * The string "end", which returns the number of tabs (only
                  valid for method index)
        u
ttk::notebookN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__ scKs&|jj|jd|t|��dS(u�Adds a new tab to the notebook.

        If window is currently managed by the notebook but hidden, it is
        restored to its previous position.uaddN(utkucallu_wu_format_optdict(uselfuchildukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuadd@scCs|jj|jd|�dS(uXRemoves the tab specified by tab_id, unmaps and unmanages the
        associated window.uforgetN(utkucallu_w(uselfutab_id((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuforgetHscCs|jj|jd|�dS(u�Hides the tab specified by tab_id.

        The tab will not be displayed, but the associated window remains
        managed by the notebook and its configuration remembered. Hidden
        tabs may be restored with the add command.uhideN(utkucallu_w(uselfutab_id((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuhideNscCs|jj|jd||�S(uZReturns the name of the tab element at position x, y, or the
        empty string if none.uidentify(utkucallu_w(uselfuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentifyWscCs|jj|jd|�S(u|Returns the numeric index of the tab specified by tab_id, or
        the total number of tabs if tab_id is the string "end".uindex(utkucallu_w(uselfutab_id((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuindex]scKs)|jj|jd||t|��dS(u�Inserts a pane at the specified position.

        pos is either the string end, an integer index, or the name of
        a managed child. If child is already managed by the notebook,
        moves it to the specified position.uinsertN(utkucallu_wu_format_optdict(uselfuposuchildukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinsertcscCs|jj|jd|�S(u�Selects the specified tab.

        The associated child window will be displayed, and the
        previously-selected window (if different) is unmapped. If tab_id
        is omitted, returns the widget name of the currently selected
        pane.uselect(utkucallu_w(uselfutab_id((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuselectlscKs8|dk	rd||<nt||jj|jd|�S(u�Query or modify the options of the specific tab_id.

        If kw is not given, returns a dict of the tab option values. If option
        is specified, returns the value of that option. Otherwise, sets the
        options to the corresponding values.utabN(uNoneu_val_or_dictutkucallu_w(uselfutab_iduoptionukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutabvs
cCs|jj|jd�pdS(u2Returns a list of windows managed by the notebook.utabs((utkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutabs�scCs|jjd|j�dS(u�Enable keyboard traversal for a toplevel window containing
        this notebook.

        This will extend the bindings for the toplevel window containing
        this notebook as follows:

            Control-Tab: selects the tab following the currently selected
                         one

            Shift-Control-Tab: selects the tab preceding the currently
                               selected one

            Alt-K: where K is the mnemonic (underlined) character of any
                   tab, will select that tab.

        Multiple notebooks in a single toplevel may be enabled for
        traversal, including nested notebooks. However, notebook traversal
        only works properly if all panes are direct children of the
        notebook.uttk::notebook::enableTraversalN(utkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuenable_traversal�sN(u__name__u
__module__u__doc__uNoneu__init__uadduforgetuhideuidentifyuindexuinsertuselectutabutabsuenable_traversal(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuNotebooks
 								
	cBsM|EeZdZdd�ZejjZd�Zdd�Z	dd�Z
dS(ufTtk Panedwindow widget displays a number of subwindows, stacked
    either vertically or horizontally.cKstj||d|�dS(u�Construct a Ttk Panedwindow with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            orient, width, height

        PANE OPTIONS

            weight
        uttk::panedwindowN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�scKs)|jj|jd||t|��dS(u�Inserts a pane at the specified positions.

        pos is either the string end, and integer index, or the name
        of a child. If child is already managed by the paned window,
        moves it to the specified position.uinsertN(utkucallu_wu_format_optdict(uselfuposuchildukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinsert�scKs8|dk	rd||<nt||jj|jd|�S(uQQuery or modify the options of the specified pane.

        pane is either an integer index or the name of a managed subwindow.
        If kw is not given, returns a dict of the pane option values. If
        option is specified then the value for that option is returned.
        Otherwise, sets the options to the corresponding values.upaneN(uNoneu_val_or_dictutkucallu_w(uselfupaneuoptionukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyupane�s
cCs|jj|jd||�S(uLIf newpos is specified, sets the position of sash number index.

        May adjust the positions of adjacent sashes to ensure that
        positions are monotonically increasing. Sash positions are further
        constrained to be between 0 and the total size of the widget.

        Returns the new position of sash number index.usashpos(utkucallu_w(uselfuindexunewpos((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyusashpos�sN(u__name__u
__module__u__doc__uNoneu__init__utkinteruPanedWindowuforgetuinsertupaneusashpos(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuPanedwindow�s
		cBsA|EeZdZdd�Zdd�Zdd�Zd�ZdS(u6Ttk Progressbar widget shows the status of a long-running
    operation. They can operate in two modes: determinate mode shows the
    amount completed relative to the total amount of work to be done, and
    indeterminate mode provides an animated display to let the user know
    that something is happening.cKstj||d|�dS(u�Construct a Ttk Progressbar with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            orient, length, mode, maximum, value, variable, phase
        uttk::progressbarN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�scCs|jj|jd|�dS(u�Begin autoincrement mode: schedules a recurring timer event
        that calls method step every interval milliseconds.

        interval defaults to 50 milliseconds (20 steps/second) if ommited.ustartN(utkucallu_w(uselfuinterval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyustart�scCs|jj|jd|�dS(uRIncrements the value option by amount.

        amount defaults to 1.0 if omitted.ustepN(utkucallu_w(uselfuamount((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyustep�scCs|jj|jd�dS(uVStop autoincrement mode: cancels any recurring timer event
        initiated by start.ustopN(utkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyustop�sN(u__name__u
__module__u__doc__uNoneu__init__ustartustepustop(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuProgressbar�s

cBs)|EeZdZdd�Zd�ZdS(ueTtk Radiobutton widgets are used in groups to show or change a
    set of mutually-exclusive options.cKstj||d|�dS(uConstruct a Ttk Radiobutton with parent master.

        STANDARD OPTIONS

            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width

        WIDGET-SPECIFIC OPTIONS

            command, value, variable
        uttk::radiobuttonN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__	scCs|jj|jd�S(u�Sets the option variable to the option value, selects the
        widget, and invokes the associated command.

        Returns the result of the command, or an empty string if
        no command is specified.uinvoke(utkucallu_w(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinvokesN(u__name__u
__module__u__doc__uNoneu__init__uinvoke(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuRadiobuttons
cBs;|EeZdZdd�Zdd�Zddd�ZdS(uTtk Scale widget is typically used to control the numeric value of
    a linked variable that varies uniformly over some range.cKstj||d|�dS(u�Construct a Ttk Scale with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            command, from, length, orient, to, value, variable
        u
ttk::scaleN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__%scKsa|r|j|�ntj||�td|kd|kd|kg�r]|jd�ndS(u�Modify or query scale options.

        Setting a value for any of the "from", "from_" or "to" options
        generates a <<RangeChanged>> event.ufromufrom_utou<<RangeChanged>>N(uupdateuWidgetu	configureuanyuevent_generate(uselfucnfukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu	configure3s
'cCs|jj|jd||�S(u�Get the current value of the value option, or the value
        corresponding to the coordinates x, y if they are specified.

        x and y are pixel coordinates relative to the scale widget
        origin.uget(utkucallu_w(uselfuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuget?sN(u__name__u
__module__u__doc__uNoneu__init__u	configureuget(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuScale!s
cBs |EeZdZdd�ZdS(u;Ttk Scrollbar controls the viewport of a scrollable widget.cKstj||d|�dS(u�Construct a Ttk Scrollbar with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            command, orient
        uttk::scrollbarN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__KsN(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu	ScrollbarHs
cBs |EeZdZdd�ZdS(uITtk Separator widget displays a horizontal or vertical separator
    bar.cKstj||d|�dS(u�Construct a Ttk Separator with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus

        WIDGET-SPECIFIC OPTIONS

            orient
        uttk::separatorN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__]sN(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu	SeparatorYs
cBs |EeZdZdd�ZdS(ulTtk Sizegrip allows the user to resize the containing toplevel
    window by pressing and dragging the grip.cKstj||d|�dS(u�Construct a Ttk Sizegrip with parent master.

        STANDARD OPTIONS

            class, cursor, state, style, takefocus
        u
ttk::sizegripN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__osN(u__name__u
__module__u__doc__uNoneu__init__(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuSizegripks
cBsj|EeZdZd!d�Zd!d�Zd!d�Zd�Zd!d�Zd�Z	d�Z
d�Zd!d	�Zd!d
�Z
d�Zd�Zd
�Zd�Zd�Zd�Zd!d�Zd!d�Zd�ZeZd�Zd�Zd�Zd�Zd!d!d�Zd�Zd�Zd�Zd�Z d!d!d�Z!d!d!d�Z"d!d�Z#d!d �Z$d!S("u�Ttk Treeview widget displays a hierarchical collection of items.

    Each item has a textual label, an optional image, and an optional list
    of data values. The data values are displayed in successive columns
    after the tree label.cKstj||d|�dS(u�Construct a Ttk Treeview with parent master.

        STANDARD OPTIONS

            class, cursor, style, takefocus, xscrollcommand,
            yscrollcommand

        WIDGET-SPECIFIC OPTIONS

            columns, displaycolumns, height, padding, selectmode, show

        ITEM OPTIONS

            text, image, values, open, tags

        TAG OPTIONS

            foreground, background, font, image
        u
ttk::treeviewN(uWidgetu__init__(uselfumasterukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�scCs|jj|jd||�S(uTReturns the bounding box (relative to the treeview widget's
        window) of the specified item in the form x y width height.

        If column is specified, returns the bounding box of that cell.
        If the item is not visible (i.e., if it is a descendant of a
        closed item or is scrolled offscreen), returns an empty string.ubbox(utkucallu_w(uselfuitemucolumn((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyubbox�scCs%|jj|jd|pd�p$dS(uhReturns a tuple of children belonging to item.

        If item is not specified, returns root children.uchildrenu((utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuget_children�scGs |jj|jd||�dS(u�Replaces item's child with newchildren.

        Children present in item that are not present in newchildren
        are detached from tree. No items in newchildren may be an
        ancestor of item.uchildrenN(utkucallu_w(uselfuitemunewchildren((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuset_children�scKs8|dk	rd||<nt||jj|jd|�S(u
Query or modify the options for the specified column.

        If kw is not given, returns a dict of the column option values. If
        option is specified then the value for that option is returned.
        Otherwise, sets the options to the corresponding values.ucolumnN(uNoneu_val_or_dictutkucallu_w(uselfucolumnuoptionukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyucolumn�s
cGs|jj|jd|�dS(u_Delete all specified items and all their descendants. The root
        item may not be deleted.udeleteN(utkucallu_w(uselfuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyudelete�scGs|jj|jd|�dS(u�Unlinks all of the specified items from the tree.

        The items and all of their descendants are still present, and may
        be reinserted at another point in the tree, but will not be
        displayed. The root item may not be detached.udetachN(utkucallu_w(uselfuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyudetach�scCst|jj|jd|��S(uSReturns True if the specified item is present in the tree,
        False otherwise.uexists(uboolutkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuexists�scCs|jj|jd|�S(u}If item is specified, sets the focus item to item. Otherwise,
        returns the current focus item, or '' if there is none.ufocus(utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyufocus�scKs||jd�}|rDt|t�rD|jj||j�|d<n|dk	r]d||<nt||jj	|j
d|�S(u_Query or modify the heading options for the specified column.

        If kw is not given, returns a dict of the heading option values. If
        option is specified then the value for that option is returned.
        Otherwise, sets the options to the corresponding values.

        Valid options/values are:
            text: text
                The text to display in the column heading
            image: image_name
                Specifies an image to display to the right of the column
                heading
            anchor: anchor
                Specifies how the heading text should be aligned. One of
                the standard Tk anchor values
            command: callback
                A callback to be invoked when the heading label is
                pressed.

        To configure the tree column heading, call this with column = "#0" ucommanduheadingN(ugetu
isinstanceustrumasteruregisteru_substituteuNoneu_val_or_dictutkucallu_w(uselfucolumnuoptionukwucmd((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuheading�s
cCs|jj|jd|||�S(u�Returns a description of the specified component under the
        point given by x and y, or the empty string if no such component
        is present at that position.uidentify(utkucallu_w(uselfu	componentuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify�scCs|jdd|�S(u.Returns the item ID of the item at position y.urowi(uidentify(uselfuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify_row�scCs|jd|d�S(uaReturns the data column identifier of the cell at position x.

        The tree column has ID #0.ucolumni(uidentify(uselfux((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify_columnscCs|jd||�S(u�Returns one of:

        heading: Tree heading area.
        separator: Space between two columns headings;
        tree: The tree area.
        cell: A data cell.

        * Availability: Tk 8.6uregion(uidentify(uselfuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify_region
s	cCs|jd||�S(uEReturns the element at position x, y.

        * Availability: Tk 8.6uelement(uidentify(uselfuxuy((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuidentify_elementscCs|jj|jd|�S(uOReturns the integer index of item within its parent's list
        of children.uindex(utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuindexscKsat|�}|r<|jj|jd||d||�}n!|jj|jd|||�}|S(u�Creates a new item and return the item identifier of the newly
        created item.

        parent is the item ID of the parent item, or the empty string
        to create a new top-level item. index is an integer, or the value
        end, specifying where in the list of parent's children to insert
        the new item. If index is less than or equal to zero, the new node
        is inserted at the beginning, if index is greater than or equal to
        the current number of children, it is inserted at the end. If iid
        is specified, it is used as the item identifier, iid must not
        already exist in the tree. Otherwise, a new unique identifier
        is generated.uinsertu-id(u_format_optdictutkucallu_w(uselfuparentuindexuiidukwuoptsures((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuinsert#s
!cKs8|dk	rd||<nt||jj|jd|�S(u-Query or modify the options for the specified item.

        If no options are given, a dict with options/values for the item
        is returned. If option is specified then the value for that option
        is returned. Otherwise, sets the options to the corresponding
        values as given by kw.uitemN(uNoneu_val_or_dictutkucallu_w(uselfuitemuoptionukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuitem:s
cCs#|jj|jd|||�dS(uRMoves item to position index in parent's list of children.

        It is illegal to move an item under one of its descendants. If
        index is less than or equal to zero, item is moved to the
        beginning, if greater than or equal to the number of children,
        it is moved to the end. If item was detached it is reattached.umoveN(utkucallu_w(uselfuitemuparentuindex((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyumoveFscCs|jj|jd|�S(ueReturns the identifier of item's next sibling, or '' if item
        is the last child of its parent.unext(utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyunextRscCs|jj|jd|�S(uaReturns the ID of the parent of item, or '' if item is at the
        top level of the hierarchy.uparent(utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuparentXscCs|jj|jd|�S(ujReturns the identifier of item's previous sibling, or '' if
        item is the first child of its parent.uprev(utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuprev^scCs|jj|jd|�dS(u�Ensure that item is visible.

        Sets all of item's ancestors open option to True, and scrolls
        the widget if necessary so that item is within the visible
        portion of the tree.useeN(utkucallu_w(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuseedscCs|jj|jd||�S(u2If selop is not specified, returns selected items.u	selection(utkucallu_w(uselfuselopuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu	selectionmscCs|jd|�dS(u items becomes the new selection.usetN(u	selection(uselfuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
selection_setrscCs|jd|�dS(uAdd items to the selection.uaddN(u	selection(uselfuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
selection_addwscCs|jd|�dS(u Remove items from the selection.uremoveN(u	selection(uselfuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuselection_remove|scCs|jd|�dS(u1Toggle the selection state of each item in items.utoggleN(u	selection(uselfuitems((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuselection_toggle�scCsN|jj|jd|||�}|dkrF|dkrFt|d�S|SdS(uWith one argument, returns a dictionary of column/value pairs
        for the specified item. With two arguments, returns the current
        value of the specified column. With three arguments, sets the
        value of given column in given item to the specified value.usetNF(utkucallu_wuNoneu_dict_from_tcltupleuFalse(uselfuitemucolumnuvalueures((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuset�s!
cCs,|j|jdd|f||dd�dS(u�Bind a callback for the given event sequence to the tag tagname.
        When an event is delivered to an item, the callbacks for each
        of the item's tags option are called.utagubinduaddiN(u_bindu_w(uselfutagnameusequenceucallback((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutag_bind�scKs;|dk	rd||<nt||jj|jdd|�S(uBQuery or modify the options for the specified tagname.

        If kw is not given, returns a dict of the option settings for tagname.
        If option is specified, returns the value for that option for the
        specified tagname. Otherwise, sets the options to the corresponding
        values for the given tagname.utagu	configureN(uNoneu_val_or_dictutkucallu_w(uselfutagnameuoptionukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
tag_configure�s
cCs|jj|jdd||�S(u�If item is specified, returns 1 or 0 depending on whether the
        specified item has the given tagname. Otherwise, returns a list of
        all items which have the specified tag.

        * Availability: Tk 8.6utaguhas(utkucallu_w(uselfutagnameuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyutag_has�sN(%u__name__u
__module__u__doc__uNoneu__init__ubboxuget_childrenuset_childrenucolumnudeleteudetachuexistsufocusuheadinguidentifyuidentify_rowuidentify_columnuidentify_regionuidentify_elementuindexuinsertuitemumoveureattachunextuparentuprevuseeu	selectionu
selection_setu
selection_adduselection_removeuselection_toggleusetutag_bindu
tag_configureutag_has(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuTreeviewysD

						 																	
cBs\|EeZdZddddd�Zd�Zd�Zd�Zd�Ze	ee�Z
dS(	u�A Ttk Scale widget with a Ttk Label widget indicating its
    current value.

    The Ttk Scale can be accessed through instance.scale, and Ttk Label
    can be accessed through instance.labelii
c		Ksp|jdd�dk|_tj|||�|p@tj|�|_|jj|�||_t	|�|_
t|d|jd|d|�|_|jj
d|j�|jr�dnd}|dkr�dnd}|jjd|d	d
�t	|�jd|�}|j
jd|dkr$dnd
�|jjd|j�|_|j
d|j�|j
d|j�dS(u�Construct an horizontal LabeledScale with parent master, a
        variable to be associated with the Ttk Scale widget and its range.
        If variable is not specified, a tkinter.IntVar is created.

        WIDGET-SPECIFIC OPTIONS

            compound: 'top' or 'bottom'
                Specifies how to display the label relative to the scale.
                Defaults to 'top'.
        ucompoundutopuvariableufrom_utou<<RangeChanged>>ubottomusideufilluxuanchorunusuwu<Configure>u<Map>N(upopu
_label_topuFrameu__init__utkinteruIntVaru	_variableusetu_last_validuLabelulabeluScaleuscaleubindu_adjustupackuplaceutrace_variableu_LabeledScale__tracecb(	uselfumasteruvariableufrom_utoukwu
scale_sideu
label_sideutmp((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__�s 	$%cCsFy|jjd|j�Wntk
r.YnX|`tj|�dS(u9Destroy this widget and possibly its associated variable.uwN(u	_variableu
trace_vdeleteu_LabeledScale__tracecbuAttributeErroruFrameudestroy(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyudestroy�s
cs��fd�}�jd�jd}}||krF||}}n�jj�}||kol|kns��j�_dS|�_|�jd<�j|�dS(u1Adjust the label position according to the scale.cs��j��jj�\}}�jrG�jj��jj�}n�jj��jj�}�jjd|d|�dS(Nuxuy(uupdate_idletasksuscaleucoordsu
_label_topuwinfo_yulabeluwinfo_reqheightuplace_configure(uxuy(uself(u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuadjust_label�s
	ufromutoNutext(uscaleu	_variableugetu_last_validuvalueulabelu
after_idle(uselfuargsuadjust_labelufrom_utounewval((uselfu2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu_adjust�s	
cCs
|jj�S(uReturn current scale value.(u	_variableuget(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
_get_valuescCs|jj|�dS(uSet new scale value.N(u	_variableuset(uselfuval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
_set_valuesN(u__name__u
__module__u__doc__uNoneu__init__udestroyu_adjustu
_get_valueu
_set_valueupropertyuvalue(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuLabeledScale�s
#				cBs>|EeZdZdd�Zd�Zdd�Zd�ZdS(umThemed OptionMenu, based after tkinter's OptionMenu, which allows
    the user to select a value from a menu.cOs�i|d6|jdd�d6|jdd�d6}tj|||�tj|dd	�|d<||_|jdd�|_|r�tj	dt
t|j�����n|j
||�dS(
u9Construct a themed OptionMenu widget with master as the parent,
        the resource textvariable set to variable, the initially selected
        value specified by the default parameter, the menu values given by
        *values and additional keywords.

        WIDGET-SPECIFIC OPTIONS

            style: stylename
                Menubutton style.
            direction: 'above', 'below', 'left', 'right', or 'flush'
                Menubutton direction.
            command: callback
                A callback that will be invoked after selecting an item.
        utextvariableustyleu	directionutearoffumenuucommanduunknown option -%sNF(upopuNoneu
Menubuttonu__init__utkinteruMenuuFalseu	_variableu	_callbackuTclErrorunextuiterukeysuset_menu(uselfumasteruvariableudefaultuvaluesukwargsukw((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__init__s		cCs5|dkr%|jtj||��Stj||�S(Numenu(unametowidgetu
Menubuttonu__getitem__(uselfuitem((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu__getitem__0sc	Gss|d}|jdd�x9|D]1}|jd|dtj|j||j��q!W|ro|jj|�ndS(uUBuild a new menu of radiobuttons with *values and optionally
        a default value.umenuiuendulabelucommandN(udeleteuadd_radiobuttonutkinteru_setitu	_variableu	_callbackuset(uselfudefaultuvaluesumenuuval((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyuset_menu7s

 cCs|`tj|�dS(u0Destroy this widget and its associated variable.N(u	_variableu
Menubuttonudestroy(uself((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyudestroyDsN(u__name__u
__module__u__doc__uNoneu__init__u__getitem__uset_menuudestroy(u
__locals__((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu
OptionMenus

	
(6u__doc__u__version__u
__author__u__all__utkinteru_flattenu_joinu
_stringifyu	TkVersionuTrueuFalseu
_REQUIRE_TILEu
_load_tileu_format_optvalueuNoneu_format_optdictu_mapdict_valuesu_format_mapdictu_format_elemcreateu_format_layoutlistu_script_from_settingsu_dict_from_tcltupleu_list_from_statespecu_list_from_layouttupleu_val_or_dictu_convert_stringvalu
tclobjs_to_pyusetup_masteruobjectuStyleuWidgetuButtonuCheckbuttonuEntryuComboboxuFrameuLabelu
Labelframeu
LabelFrameu
MenubuttonuNotebookuPanedWindowuPanedwindowuProgressbaruRadiobuttonuScaleu	Scrollbaru	SeparatoruSizegripuXViewuYViewuTreeviewuLabeledScaleu
OptionMenu(((u2/usr/local/python-3.2/lib/python3.2/tkinter/ttk.pyu<module>
sd	
	%1	*				
	�A* �8*'�9^
© 2025 GrazzMean