Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/lib-tk/Tix.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@s~ddlTddlmZmZmZedkr>ed�nddlZdZdZdZ	d	Z
d
ZdZdZ
d
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd�Zd�Zd�Zd�Z d�Z!d!Z"ddlZddl#Z#d"d�d#��YZ$d$ej%e$fd%��YZ%d&d�d'��YZ&ej'j(e&fej'_(d(ej'fd)��YZ)d*e)fd+��YZ*d,d�d-��YZ+d.e)fd/��YZ,d0e)fd1��YZ-d2e)fd3��YZ.d4e)fd5��YZ/d6e)fd7��YZ0d8e)fd9��YZ1d:e)fd;��YZ2d<e)fd=��YZ3d>e)fd?��YZ4d@e)fdA��YZ5dBe)fdC��YZ6dDe)fdE��YZ7dFe)fdG��YZ8dHe)e9e:fdI��YZ;dJe)fdK��YZ<dLe)fdM��YZ=dNe)fdO��YZ>dPe)fdQ��YZ?dRe)fdS��YZ@dTe)fdU��YZAdVe)fdW��YZBdXe)fdY��YZCdZe)fd[��YZDd\e)fd]��YZEd^e)fd_��YZFd`e)fda��YZGdbe)fdc��YZHdde)fde��YZIdfe)fdg��YZJdhe)fdi��YZKdje)fdk��YZLdle)fdm��YZMdne)fdo��YZNdpe)fdq��YZOdre)e9e:fds��YZPdte)fdu��YZQdve)fdw��YZRdxeSe*fdy��YZTdzeUe*fd{��YZVd|eWe*fd}��YZXd~eYe*fd��YZZd�e[e*fd���YZ\d�e]e*fd���YZ^d�e_e*fd���YZ`d�eae*fd���YZbd�ece*fd���YZdd�eee*fd���YZfd�eHe*fd���YZgd�e;e*fd���YZhd�eGe*fd���YZid�ePe*fd���YZjd�e.e*fd���YZkd�e0e*fd���YZld�e2e*fd���YZmd�e3e*fd���YZnd�e6e*fd���YZod�e.e*fd���YZpd�eOe*fd���YZqd�eBe*fd���YZrd�eDe*fd���YZsd��Ztd��Zud�e)fd���YZvd�e)e9e:fd���YZwd�ewfd���YZxdS(�i�(t*(t_flattent	_cnfmerget
_default_rootgˡE��0This version of Tix.py requires Tk 4.0 or higherNtwindowttexttstatust	immediatetimaget	imagetexttballoontautot	acrosstoptasciitcelltcolumnt
decreasingt
increasingtintegertmaintmaxtrealtrowss-regionsx-regionsy-regioniiiiiit
tixCommandcBs_eZdZd�Zd�Zd	d�Zd	d�Zd�Zd�Z	d�Z
d	d�ZRS(
s�The tix commands provide access to miscellaneous  elements
    of  Tix's  internal state and the Tix application context.
    Most of the information manipulated by these  commands pertains
    to  the  application  as a whole, or to a screen or
    display, rather than to a particular window.

    This is a mixin class, assumed to be mixed to Tkinter.Tk
    that supports the self.tk.call method.
    cCs|jjdd|�S(s�Tix maintains a list of directories under which
        the  tix_getimage  and tix_getbitmap commands will
        search for image files. The standard bitmap  directory
        is $TIX_LIBRARY/bitmaps. The addbitmapdir command
        adds directory into this list. By  using  this
        command, the  image  files  of an applications can
        also be located using the tix_getimage or tix_getbitmap
        command.
        ttixtaddbitmapdir(ttktcall(tselft	directory((s /sys/lib/python2.7/lib-tk/Tix.pyttix_addbitmapdirYs
cCs|jjdd|�S(s�Returns  the  current  value  of the configuration
        option given by option. Option may be  any  of  the
        options described in the CONFIGURATION OPTIONS section.
        Rtcget(RR(Rtoption((s /sys/lib/python2.7/lib-tk/Tix.pyttix_cgetescKs�|rt||f�}n|r0t|�}n|dkrL|jdd�St|t�rr|jddd|�S|jjd|j|��S(s�Query or modify the configuration options of the Tix application
        context. If no option is specified, returns a dictionary all of the
        available options.  If option is specified with no value, then the
        command returns a list describing the one named option (this list
        will be identical to the corresponding sublist of the value
        returned if no option is specified).  If one or more option-value
        pairs are specified, then the command modifies the given option(s)
        to have the given value(s); in this case the command returns an
        empty string. Option may be any of the configuration options.
        Rt	configuret-N(stixR"(	RtNonet
_getconfiguret
isinstancet
StringTypet_getconfigure1RRt_options(Rtcnftkw((s /sys/lib/python2.7/lib-tk/Tix.pyt
tix_configurelscCs9|dk	r"|jjdd|�S|jjdd�SdS(s�Returns the file selection dialog that may be shared among
        different calls from this application.  This command will create a
        file selection dialog widget when it is called the first time. This
        dialog will be returned by all subsequent calls to tix_filedialog.
        An optional dlgclass parameter can be passed to specified what type
        of file selection dialog widget is desired. Possible options are
        tix FileSelectDialog or tixExFileSelectDialog.
        Rt
filedialogN(R$RR(Rtdlgclass((s /sys/lib/python2.7/lib-tk/Tix.pyttix_filedialog�s	cCs|jjdd|�S(s�Locates a bitmap file of the name name.xpm or name in one of the
        bitmap directories (see the tix_addbitmapdir command above).  By
        using tix_getbitmap, you can avoid hard coding the pathnames of the
        bitmap files in your application. When successful, it returns the
        complete pathname of the bitmap file, prefixed with the character
        '@'.  The returned value can be used to configure the -bitmap
        option of the TK and Tix widgets.
        Rt	getbitmap(RR(Rtname((s /sys/lib/python2.7/lib-tk/Tix.pyt
tix_getbitmap�s	cCs|jjdd|�S(s�Locates an image file of the name name.xpm, name.xbm or name.ppm
        in one of the bitmap directories (see the addbitmapdir command
        above). If more than one file with the same name (but different
        extensions) exist, then the image type is chosen according to the
        depth of the X display: xbm images are chosen on monochrome
        displays and color images are chosen on color displays. By using
        tix_ getimage, you can avoid hard coding the pathnames of the
        image files in your application. When successful, this command
        returns the name of the newly created image, which can be used to
        configure the -image option of the Tk and Tix widgets.
        Rtgetimage(RR(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyttix_getimage�scCs|jjddd|�S(s@Gets  the options  maintained  by  the  Tix
        scheme mechanism. Available options include:

            active_bg       active_fg      bg
            bold_font       dark1_bg       dark1_fg
            dark2_bg        dark2_fg       disabled_fg
            fg              fixed_font     font
            inactive_bg     inactive_fg    input1_bg
            input2_bg       italic_font    light1_bg
            light1_fg       light2_bg      light2_fg
            menu_font       output1_bg     output2_bg
            select_bg       select_fg      selector
            RR tget(RR(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyttix_option_get�scCsE|dk	r(|jjdd|||�S|jjdd||�SdS(s�Resets the scheme and fontset of the Tix application to
        newScheme and newFontSet, respectively.  This affects only those
        widgets created after this call. Therefore, it is best to call the
        resetoptions command before the creation of any widgets in a Tix
        application.

        The optional parameter newScmPrio can be given to reset the
        priority level of the Tk options set by the Tix schemes.

        Because of the way Tk handles the X option database, after Tix has
        been has imported and inited, it is not possible to reset the color
        schemes and font sets using the tix config command.  Instead, the
        tix_resetoptions command must be used.
        RtresetoptionsN(R$RR(Rt	newSchemet
newFontSett
newScmPrio((s /sys/lib/python2.7/lib-tk/Tix.pyttix_resetoptions�sN(t__name__t
__module__t__doc__RR!R$R,R/R2R4R6R;(((s /sys/lib/python2.7/lib-tk/Tix.pyRNs						tTkcBs)eZdZdddd�Zd�ZRS(s{Toplevel widget of Tix which represents mostly the main window
    of an application. It has an associated Tcl interpreter.tTixcCs�tjj||||�tjjd�}|jjd�|dk	rr|jjd|�|jjd|�n|jjd�dS(NtTIX_LIBRARYs<global auto_path; lappend auto_path [file dir [info nameof]]s(global auto_path; lappend auto_path {%s}s,global tcl_pkgPath; lappend tcl_pkgPath {%s}spackage require Tix(	tTkinterR?t__init__tostenvironR5RtevalR$(Rt
screenNametbaseNamet	classNamettixlib((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs$|jdd�tjj|�dS(NtWM_DELETE_WINDOWt(tprotocolRBR?tdestroy(R((s /sys/lib/python2.7/lib-tk/Tix.pyRN�sN(R<R=R>R$RCRN(((s /sys/lib/python2.7/lib-tk/Tix.pyR?�stFormcBs_eZdZid�ZeZd�Zd�Zd�Zddd�Zd	d�Z
d�ZRS(
s�The Tix Form geometry manager

    Widgets can be arranged by specifying attachments to other widgets.
    See Tix documentation for complete detailscKs)|jjd|j|j||��dS(NttixForm(RRt_wR)(RR*R+((s /sys/lib/python2.7/lib-tk/Tix.pytconfig�scCstj|i||6�dS(N(ROtform(Rtkeytvalue((s /sys/lib/python2.7/lib-tk/Tix.pyt__setitem__�scCs|jjdd|j�S(NRPtcheck(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyRW�scCs|jjdd|j�dS(NRPtforget(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyRX�sicCs�|ro|ro|jjdd|j�}|jj|�}d}x'|D]}||jj|�f}qHW|S|jjdd|j||�S(NRPtgrid((RRRQt	splitlisttgetint(Rtxsizetysizetxtytz((s /sys/lib/python2.7/lib-tk/Tix.pyRY�s
cCsX|s|jjdd|j�S|ddkr<d|}n|jjdd|j|�S(NRPtinfoiR#(RRRQ(RR ((s /sys/lib/python2.7/lib-tk/Tix.pyRas

cCs1t|j|jj|jjdd|j���S(NRPtslaves(tmapt
_nametowidgetRRZRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyRb
s			N(R<R=R>RRRSRVRWRXRYR$RaRb(((s /sys/lib/python2.7/lib-tk/Tix.pyRO�s			
t	TixWidgetcBs}eZdZdddiid�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zidd	�Zd
�Z
RS(sQA TixWidget class is used to package all (or most) Tix widgets.

    Widget initialization is extended in two ways:
       1) It is possible to give a list of options which must be part of
       the creation command (so called Tix 'static' options). These cannot be
       given as a 'config' command later.
       2) It is possible to give the name of an existing TK widget. These are
       child widgets created automatically by a Tix mega-widget. The Tk call
       to create these widgets is therefore bypassed in TixWidget.__init__

    Both options are for use by subclasses only.
    c	Cs�|rt||f�}nt|�}d}|rC|jd�n	dg}xE|j�D]6\}}||krZ|d||f}||=qZqZW||_tj|||�|r�|jj||j|�n|r�j	||�ni|_
dS(NtoptionsR#((Rtappendtitemst
widgetNametWidgett_setupRRRQRRtsubwidget_list(	RtmasterRitstatic_optionsR*R+textratktv((s /sys/lib/python2.7/lib-tk/Tix.pyRC!s$		cCs'||jkr|j|St|�dS(N(RltAttributeError(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyt__getattr__NscCs|jjd|j|�dS(s1Set a variable without calling its action routinettixSetSilentN(RRRQ(RRU((s /sys/lib/python2.7/lib-tk/Tix.pyt
set_silentSscCsT|j|�}|s0td|d|j�n|t|j�d}|j|�S(sSReturn the named subwidget (which must have been created by
        the sub-class).s
Subwidget s not child of i(t_subwidget_nametTclErrort_nametlenRQRd(RR1tn((s /sys/lib/python2.7/lib-tk/Tix.pyt	subwidgetWs
cCsl|j�}|sgSg}xI|D]A}|t|j�d}y|j|j|��Wq#q#Xq#W|S(sReturn all subwidgets.i(t_subwidget_namesRyRQRgRd(RtnamestretlistR1((s /sys/lib/python2.7/lib-tk/Tix.pytsubwidgets_allas
cCs6y|jj|jd|�SWntk
r1dSXdS(s7Get a subwidget name (returns a String, not a Widget !)R{N(RRRQRwR$(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRvps
cCsHy/|jj|jdd�}|jj|�SWntk
rCdSXdS(s"Return the name of all subwidgets.t
subwidgetss-allN(RRRQRZRwR$(RR^((s /sys/lib/python2.7/lib-tk/Tix.pyR|ws

cCs�|dkrdSt|t�s.t|�}nt|t�sLt|�}n|j�}x+|D]#}|jj|dd||�q_WdS(s8Set configuration options for all subwidgets (and self).RLNR"R#(R&R'treprR|RR(RR RUR}R1((s /sys/lib/python2.7/lib-tk/Tix.pyt
config_alls
cKs�|s$tj}|s$td�q$n|rE|rEt||f�}n|rT|}nd}xO|j�D]A\}}t|d�r�|j|�}n|d||f}qgW|jjdd|f|�S(NsToo early to create imaget__call__R#Rtcreate((	RBRtRuntimeErrorRRhthasattrt	_registerRR(RtimgtypeR*RmR+RfRpRq((s /sys/lib/python2.7/lib-tk/Tix.pytimage_create�s		cCs2y|jjdd|�Wntk
r-nXdS(NRtdelete(RRRw(Rtimgname((s /sys/lib/python2.7/lib-tk/Tix.pytimage_delete�s
N(R<R=R>R$RCRsRuR{RRvR|R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyRes,			
				
tTixSubWidgetcBs&eZdZddd�Zd�ZRS(s�Subwidget class.

    This is used to mirror child widgets automatically created
    by Tix/Tk as part of a mega-widget in Python (which is not informed
    of this)icCsE|rR|j|�}y*|t|j�d}|jd�}WqRg}qRXn|s{tj||ddi|d6�n�|}x�tt|�d�D]i}dj||d �}	y|j	|	�}
|
}Wq�t
k
rt|||dddd�}q�Xq�W|r|d}ntj||ddi|d6�||_dS(Nit.R1tdestroy_physicallyitcheck_intermediatei�(
RvRyRQtsplitReRCR$trangetjoinRdtKeyErrorR�R�(RRmR1R�R�tpathtplisttparenttiRztw((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s.
#


 cCs�x!|jj�D]}|j�qW|j|jjkrL|jj|j=n|j|jjkrt|jj|j=n|jr�|jjd|j	�ndS(NRN(
tchildrentvaluesRNRxRmRlR�RRRQ(Rtc((s /sys/lib/python2.7/lib-tk/Tix.pyRN�s	(R<R=R>RCRN(((s /sys/lib/python2.7/lib-tk/Tix.pyR��stDisplayStylecBsSeZdZid�Zd�Zd�Zd�Zd�Zid�Zd�Z	RS(sRDisplayStyle - handle configuration options shared by
    (multiple) Display ItemscKs�t}|r&d|kr&|d}n2|rFd|krF|d}n|sXtd�n|j|_|jjd||j||��|_dS(Nt	refwindows1Too early to create display style: no root windowttixDisplayStyle(RR�RRR)t	stylename(RtitemtypeR*R+Rm((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s

cCs|jS(N(R�(R((s /sys/lib/python2.7/lib-tk/Tix.pyt__str__�scCsk|r!|r!t||f�}n|r0|}nd}x.|j�D] \}}|d||f}qCW|S(NR#((RRh(RR*R+toptsRpRq((s /sys/lib/python2.7/lib-tk/Tix.pyR)�s	cCs|jj|jd�dS(NR�(RRR�(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs$|jj|jdd||�dS(NR"s-%s(RRR�(RRTRU((s /sys/lib/python2.7/lib-tk/Tix.pyRV�scKs"|j|jd|j||��S(NR"(R%R�R)(RR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRR�scCs|jj|jdd|�S(NRs-%s(RRR�(RRT((s /sys/lib/python2.7/lib-tk/Tix.pyt__getitem__�s(
R<R=R>RCR�R)R�RVRRR�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s			
		tBallooncBs2eZdZdid�Zid�Zd�ZRS(sBalloon help widget.

    Subwidget       Class
    ---------       -----
    label           Label
    message         MessagecKsmdddddg}tj||d|||�t|ddd	�|jd<t|d
dd	�|jd
<dS(NRftinstallcolormaptinitwaitt	statusbartcursort
tixBalloontlabelR�itmessage(ReRCt_dummyLabelRl(RRmR*R+tstatic((s /sys/lib/python2.7/lib-tk/Tix.pyRCs	cKs/|jj|jd|j|j||��dS(skBind balloon widget to another.
        One balloon widget may be bound to several widgets at the same timetbindN(RRRQR)(RtwidgetR*R+((s /sys/lib/python2.7/lib-tk/Tix.pytbind_widgetscCs |jj|jd|j�dS(Ntunbind(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
unbind_widgetsN(R<R=R>R$RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�s
t	ButtonBoxcBs2eZdZdid�Zid�Zd�ZRS(sgButtonBox - A container for pushbuttons.
    Subwidgets are the buttons added with the add method.
    cKs&tj||dddg||�dS(NttixButtonBoxtorientationRf(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC%scKsD|jj|jd||j||��}t||�|j|<|S(s$Add a button with given name to box.tadd(RRRQR)t_dummyButtonRl(RR1R*R+tbtn((s /sys/lib/python2.7/lib-tk/Tix.pyR�)s*cCs/||jkr+|jj|jd|�ndS(Ntinvoke(RlRRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR�0sN(R<R=R>R$RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�!stComboBoxcBsAeZdZdid�Zd�Zd�Zd�Zd�ZRS(s�ComboBox - an Entry field with a dropdown menu. The user can select a
    choice by either typing in the entry subwidget or selecting from the
    listbox subwidget.

    Subwidget       Class
    ---------       -----
    entry       Entry
    arrow       Button
    slistbox    ScrolledListBox
    tick        Button
    cross       Button : present if created with the fancy optioncKs�tj||dddddg||�t|d�|jd<t|d�|jd<t|d�|jd<t|d	�|jd	<y0t|d
�|jd
<t|d�|jd<Wntk
r�nXdS(NttixComboBoxteditabletdropdowntfancyRfR�tentrytarrowtslistboxtticktcross(ReRCR�Rlt_dummyEntryR�t_dummyScrolledListBoxt	TypeError(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCBs

cCs|jj|jd|�dS(Nt
addhistory(RRRQ(Rtstr((s /sys/lib/python2.7/lib-tk/Tix.pytadd_historyTscCs|jj|jd|�dS(Nt
appendhistory(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytappend_historyWscCs |jj|jd||�dS(Ntinsert(RRRQ(RtindexR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�ZscCs|jj|jd|�dS(Ntpick(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�]sN(	R<R=R>R$RCR�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�4s			tControlcBsAeZdZdid�Zd�Zd�Zd�Zd�ZRS(s�Control - An entry field with value change arrows.  The user can
    adjust the value by pressing the two arrow buttons or by entering
    the value directly into the entry. The new value will be checked
    against the user-defined upper and lower limits.

    Subwidget       Class
    ---------       -----
    incr       Button
    decr       Button
    entry       Entry
    label       LabelcKs{tj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<dS(Nt
tixControlRftincrtdecrR�R�(ReRCR�RlR�R�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCns
cCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt	decrementuscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt	incrementxscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�{scCs|jj|jd�dS(Ntupdate(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�~sN(	R<R=R>R$RCR�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�`s			tDirListcBs#eZdZid�Zd�ZRS(sRDirList - displays a list view of a directory, its previous
    directories and its sub-directories. The user can choose one of
    the directories displayed in the list or change to another directory.

    Subwidget       Class
    ---------       -----
    hlist       HList
    hsb              Scrollbar
    vsb              ScrollbarcKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(Nt
tixDirListRfthlisttvsbthsb(ReRCt_dummyHListRlt_dummyScrollbar(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs|jj|jd|�dS(Ntchdir(RRRQ(Rtdir((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(R<R=R>RCR�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s	tDirTreecBs#eZdZid�Zd�ZRS(s�DirTree - Directory Listing in a hierarchical view.
    Displays a tree view of a directory, its previous directories and its
    sub-directories. The user can choose one of the directories displayed
    in the list or change to another directory.

    Subwidget       Class
    ---------       -----
    hlist           HList
    hsb             Scrollbar
    vsb             ScrollbarcKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(Nt
tixDirTreeRfR�R�R�(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs|jj|jd|�dS(NR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(R<R=R>RCR�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s
tDirSelectBoxcBseZdZid�ZRS(s�DirSelectBox - Motif style file select box.
    It is generally used for
    the user to choose a file. FileSelectBox stores the files mostly
    recently selected into a ComboBox widget so that they can be quickly
    selected again.

    Subwidget       Class
    ---------       -----
    selection       ComboBox
    filter          ComboBox
    dirlist         ScrolledListBox
    filelist        ScrolledListBoxcKsOtj||ddg||�t|d�|jd<t|d�|jd<dS(NttixDirSelectBoxRftdirlisttdircbx(ReRCt
_dummyDirListRlt_dummyFileComboBox(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��stExFileSelectBoxcBs,eZdZid�Zd�Zd�ZRS(s�ExFileSelectBox - MS Windows style file select box.
    It provides an convenient method for the user to select files.

    Subwidget       Class
    ---------       -----
    cancel       Button
    ok              Button
    hidden       Checkbutton
    types       ComboBox
    dir              ComboBox
    file       ComboBox
    dirlist       ScrolledListBox
    filelist       ScrolledListBoxcKs�tj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d	�|jd	<t|d
�|jd
<dS(NttixExFileSelectBoxRftcanceltokthiddenttypesR�R�tfiletfilelist(ReRCR�Rlt_dummyCheckbuttont_dummyComboBoxR�R�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs|jj|jd�dS(Ntfilter(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s
	tDirSelectDialogcBs,eZdZid�Zd�Zd�ZRS(s#The DirSelectDialog widget presents the directories in the file
    system in a dialog window. The user can use this dialog window to
    navigate through the file system to select the desired directory.

    Subwidgets       Class
    ----------       -----
    dirbox       DirSelectDialogcKs9tj||ddg||�t|d�|jd<dS(NttixDirSelectDialogRftdirbox(ReRCt_dummyDirSelectBoxRl(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs|jj|jd�dS(Ntpopup(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd�dS(Ntpopdown(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s	tExFileSelectDialogcBs,eZdZid�Zd�Zd�ZRS(s�ExFileSelectDialog - MS Windows style file select dialog.
    It provides an convenient method for the user to select files.

    Subwidgets       Class
    ----------       -----
    fsbox       ExFileSelectBoxcKs9tj||ddg||�t|d�|jd<dS(NttixExFileSelectDialogRftfsbox(ReRCt_dummyExFileSelectBoxRl(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�
s(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s	t
FileSelectBoxcBs,eZdZid�Zd�Zd�ZRS(s�ExFileSelectBox - Motif style file select box.
    It is generally used for
    the user to choose a file. FileSelectBox stores the files mostly
    recently selected into a ComboBox widget so that they can be quickly
    selected again.

    Subwidget       Class
    ---------       -----
    selection       ComboBox
    filter          ComboBox
    dirlist         ScrolledListBox
    filelist        ScrolledListBoxcKs{tj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixFileSelectBoxRfR�R�R�t	selection(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCs
cCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytapply_filter"scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�%s(R<R=R>RCRR�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�
s	tFileSelectDialogcBs,eZdZid�Zd�Zd�ZRS(s�FileSelectDialog - Motif style file select dialog.

    Subwidgets       Class
    ----------       -----
    btns       StdButtonBox
    fsbox       FileSelectBoxcKsOtj||ddg||�t|d�|jd<t|d�|jd<dS(NttixFileSelectDialogRftbtnsR�(ReRCt_dummyStdButtonBoxRlt_dummyFileSelectBox(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC2scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�8scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�;s(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR)s	t	FileEntrycBs,eZdZid�Zd�Zd�ZRS(s_FileEntry - Entry field with button that invokes a FileSelectDialog.
    The user can type in the filename manually. Alternatively, the user can
    press the button widget that sits next to the entry, which will bring
    up a file selection dialog.

    Subwidgets       Class
    ----------       -----
    button       Button
    entry       EntrycKsRtj||dddg||�t|d�|jd<t|d�|jd<dS(NttixFileEntryt
dialogtypeRftbuttonR�(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCJscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�PscCsdS(N((R((s /sys/lib/python2.7/lib-tk/Tix.pytfile_dialogSs(R<R=R>RCR�R
(((s /sys/lib/python2.7/lib-tk/Tix.pyR>s		tHListcBseZdZd6id�Zid�Zd6id�Zd�Zd�Zdd6d6d�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zid�Zid�Zd�Zd�Zd�Zd�Zd�Zid�Zid�Zd�Zd�Zd�Zd�Zd�Zd�Z d6d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+id*�Z,id+�Z-d,�Z.d-�Z/d.�Z0id/�Z1d0�Z2d1�Z3id2�Z4d3�Z5d6d4�Z6d5�Z7RS(7sHList - Hierarchy display  widget can be used to display any data
    that have a hierarchical structure, for example, file system directory
    trees. The list entries are indented and connected by branch lines
    according to their places in the hierarchy.

    Subwidgets - NonecKs&tj||dddg||�dS(NttixHListtcolumnsRf(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC_scKs(|jj|jd||j||��S(NR�(RRRQR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR�cscKs7|sd}n|jj|jd||j||��S(NRLtaddchild(RRRQR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyt	add_childfs		cCs |jj|jdd|�dS(Ntanchortset(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
anchor_setlscCs|jj|jdd�dS(NRtclear(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytanchor_clearosicCsK|s%|jj|jdd||�S|jj|jdd|d|�SdS(NRtwidths-char(RRRQ(RtcolRtchars((s /sys/lib/python2.7/lib-tk/Tix.pytcolumn_widthrscCs|jj|jdd�dS(NR�tall(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
delete_allyscCs |jj|jdd|�dS(NR�R�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytdelete_entry|scCs |jj|jdd|�dS(NR�t
offsprings(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytdelete_offspringsscCs |jj|jdd|�dS(NR�tsiblings(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytdelete_siblings�scCs |jj|jdd|�dS(NtdragsiteR(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytdragsite_set�scCs|jj|jdd�dS(NR R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytdragsite_clear�scCs |jj|jdd|�dS(NtdropsiteR(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytdropsite_set�scCs|jj|jdd�dS(NR#R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytdropsite_clear�scKs/|jj|jdd||j||��dS(NtheaderR�(RRRQR)(RRR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyt
header_create�scKsT|dkr%|j|jdd|�S|jj|jdd||j||��dS(NR&R"(R$R%RQRRR)(RRR*R+((s /sys/lib/python2.7/lib-tk/Tix.pytheader_configure�scCs|jj|jdd||�S(NR&R(RRRQ(RRtopt((s /sys/lib/python2.7/lib-tk/Tix.pytheader_cget�scCs|jj|jdd|�S(NR&texists(RRRQ(RR((s /sys/lib/python2.7/lib-tk/Tix.pyt
header_exists�scCs |jj|jdd|�dS(NR&R�(RRRQ(RR((s /sys/lib/python2.7/lib-tk/Tix.pyt
header_delete�scCs|jj|jdd|�S(NR&tsize(RRRQ(RR((s /sys/lib/python2.7/lib-tk/Tix.pytheader_size�scCs |jj|jdd|�dS(NthideR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
hide_entry�scKs/|jj|jdd||j||��dS(Nt	indicatorR�(RRRQR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_create�s	cKsT|dkr%|j|jdd|�S|jj|jdd||j||��dS(NR2R"(R$R%RQRRR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_configure�s
	cCs|jj|jdd||�S(NR2R(RRRQ(RR�R)((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_cget�scCs|jj|jdd|�S(NR2R+(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_exists�scCs |jj|jdd|�dS(NR2R�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_delete�scCs|jj|jdd|�S(NR2R.(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_size�scCs|jj|jdd�S(NRaR(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_anchor�scCs+|j|jj|jdd|��p*dS(NRatbbox(t_getintsRRRQR$(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_bbox�scCs.|jj|jdd|�}|jj|�S(NRaR�(RRRQRZ(RR�R�((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_children�scCs|jj|jdd|�S(NRatdata(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_data�scCs|jj|jdd�S(NRaR (RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_dragsite�scCs|jj|jdd�S(NRaR#(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_dropsite�scCs|jj|jdd|�S(NRaR+(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_exists�scCs|jj|jdd|�S(NRaR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_hidden�scCs|jj|jdd|�S(NRatnext(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_next�scCs|jj|jdd|�S(NRaR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_parent�scCs|jj|jdd|�S(NRatprev(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_prev�scCs+|jj|jdd�}|jj|�S(NRaR�(RRRQRZ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_selection�scCs"|jj|jdd|||�S(NtitemR(RRRQ(RR�RR)((s /sys/lib/python2.7/lib-tk/Tix.pyt	item_cget�sc	KsZ|dkr(|j|jdd||�S|jj|jdd|||j||��dS(NRJR"(R$R%RQRRR)(RR�RR*R+((s /sys/lib/python2.7/lib-tk/Tix.pytitem_configure�sc	Ks2|jj|jdd|||j||��dS(NRJR�(RRRQR)(RR�RR*R+((s /sys/lib/python2.7/lib-tk/Tix.pytitem_create�s	cCs|jj|jdd||�S(NRJR+(RRRQ(RR�R((s /sys/lib/python2.7/lib-tk/Tix.pytitem_exists�scCs#|jj|jdd||�dS(NRJR�(RRRQ(RR�R((s /sys/lib/python2.7/lib-tk/Tix.pytitem_delete�scCs|jj|jd||�S(Nt	entrycget(RRRQ(RR�R)((s /sys/lib/python2.7/lib-tk/Tix.pyRP�scKsN|dkr"|j|jd|�S|jj|jd||j||��dS(Ntentryconfigure(R$R%RQRRR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRQ�scCs|jj|jd|�S(Ntnearest(RRRQ(RR_((s /sys/lib/python2.7/lib-tk/Tix.pyRRscCs|jj|jd|�dS(Ntsee(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRSscKs,|jj|jdd|j||��dS(NR�R(RRRQR)(RR*R+((s /sys/lib/python2.7/lib-tk/Tix.pytselection_clear	scCs|jj|jdd|�S(NR�tincludes(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytselection_includesscCs#|jj|jdd||�dS(NR�R(RRRQ(Rtfirsttlast((s /sys/lib/python2.7/lib-tk/Tix.pyt
selection_setscCs|jj|jdd|�S(NtshowR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
show_entrysN(8R<R=R>R$RCR�RRRRRRRRR!R"R$R%R'R(R*R,R-R/R1R3R4R5R6R7R8R9R<R=R?R@RARBRCRERFRHRIRKRLRMRNRORPRQRRRSRTRVRYR[(((s /sys/lib/python2.7/lib-tk/Tix.pyRWsj																																					t	InputOnlycBseZdZdid�ZRS(s?InputOnly - Invisible widget. Unix only.

    Subwidgets - NonecKs tj||dd||�dS(NttixInputOnly(ReRCR$(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCsN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR\st
LabelEntrycBseZdZdid�ZRS(sLabelEntry - Entry field with label. Packages an entry widget
    and a label into one mega widget. It can beused be used to simplify
    the creation of ``entry-form'' type of interface.

    Subwidgets       Class
    ----------       -----
    label       Label
    entry       EntrycKsRtj||dddg||�t|d�|jd<t|d�|jd<dS(Nt
tixLabelEntryt	labelsideRfR�R�(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC'sN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR^st
LabelFramecBseZdZdid�ZRS(seLabelFrame - Labelled Frame container. Packages a frame widget
    and a label into one mega widget. To create widgets inside a
    LabelFrame widget, one creates the new widgets relative to the
    frame subwidget and manage them inside the frame subwidget.

    Subwidgets       Class
    ----------       -----
    label       Label
    frame       FramecKsRtj||dddg||�t|d�|jd<t|d�|jd<dS(Nt
tixLabelFrameR`RfR�tframe(ReRCR�Rlt_dummyFrame(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC8sN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRa-s	tListNoteBookcBsAeZdZid�Zid�Zd�Zd�Zd�ZRS(sA ListNoteBook widget is very similar to the TixNoteBook widget:
    it can be used to display many windows in a limited space using a
    notebook metaphor. The notebook is divided into a stack of pages
    (windows). At one time only one of these pages can be shown.
    The user can navigate through these pages by
    choosing the name of the desired page in the hlist subwidget.cKsktj||ddg||�t|ddd�|jd<t|d�|jd<t|d�|jd<dS(NttixListNoteBookRftpaneR�iR�tshlist(ReRCt_dummyPanedWindowRlR�t_dummyScrolledHList(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCGs
cKsI|jj|jd||j||��t||�|j|<|j|S(NR�(RRRQR)R�Rl(RR1R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR�Os(cCs
|j|�S(N(R{(RR1((s /sys/lib/python2.7/lib-tk/Tix.pytpageTscCsU|jj|jj|jd��}g}x$|D]}|j|j|��q1W|S(Ntpages(RR�RRQRgR{(RR}tretR^((s /sys/lib/python2.7/lib-tk/Tix.pyRlWs
$
cCs|jj|jd|�dS(Ntraise(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyt
raise_page_s(R<R=R>RCR�RkRlRo(((s /sys/lib/python2.7/lib-tk/Tix.pyRe?s		tMetercBseZdZdid�ZRS(suThe Meter widget can be used to show the progress of a background
    job which may take a long time to execute.
    cKs#tj||ddg||�dS(NttixMeterRf(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCgsN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRpbstNoteBookcBsVeZdZdid�Zid�Zd�Zd�Zd�Zd�Z	d�Z
RS(	s�NoteBook - Multi-page container widget (tabbed notebook metaphor).

    Subwidgets       Class
    ----------       -----
    nbframe       NoteBookFrame
    <pages>       page widgets added dynamically with the add methodcKs?tj||ddg||�t|ddd�|jd<dS(NttixNoteBookRftnbframeR�i(ReRCR�Rl(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCsscKsI|jj|jd||j||��t||�|j|<|j|S(NR�(RRRQR)R�Rl(RR1R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR�xs(cCs8|jj|jd|�|j|j�|j|=dS(NR�(RRRQRlRN(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR�}scCs
|j|�S(N(R{(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRk�scCsU|jj|jj|jd��}g}x$|D]}|j|j|��q1W|S(NRl(RR�RRQRgR{(RR}RmR^((s /sys/lib/python2.7/lib-tk/Tix.pyRl�s
$
cCs|jj|jd|�dS(NRn(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRo�scCs|jj|jd�S(Ntraised(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyRu�sN(R<R=R>R$RCR�R�RkRlRoRu(((s /sys/lib/python2.7/lib-tk/Tix.pyRrks				t
NoteBookFramecBseZRS((R<R=(((s /sys/lib/python2.7/lib-tk/Tix.pyRv�st
OptionMenucBsMeZdZid�Zid�Zid�Zd�Zd�Zd�ZRS(s�OptionMenu - creates a menu button of options.

    Subwidget       Class
    ---------       -----
    menubutton      Menubutton
    menu            MenucKsRtj||dddg||�t|d�|jd<t|d�|jd<dS(Nt
tixOptionMenuR`Rft
menubuttontmenu(ReRCt_dummyMenubuttonRlt
_dummyMenu(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scKs/|jj|jdd||j||��dS(NR�tcommand(RRRQR)(RR1R*R+((s /sys/lib/python2.7/lib-tk/Tix.pytadd_command�scKs/|jj|jdd||j||��dS(NR�t	separator(RRRQR)(RR1R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyt
add_separator�scCs|jj|jd|�dS(NR�(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd|�dS(Ntdisable(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd|�dS(Ntenable(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(	R<R=R>RCR~R�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyRw�s		tPanedWindowcBsVeZdZid�Zid�Zd�Zd�Zd�Zid�Zd�Z	RS(s�PanedWindow - Multi-pane container widget
    allows the user to interactively manipulate the sizes of several
    panes. The panes can be arranged either vertically or horizontally.The
    user changes the sizes of the panes by dragging the resize handle
    between two panes.

    Subwidgets       Class
    ----------       -----
    <panes>       g/p widgets added dynamically with the add method.cKs&tj||dddg||�dS(NttixPanedWindowR�Rf(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scKsO|jj|jd||j||��t||dd�|j|<|j|S(NR�R�i(RRRQR)R�Rl(RR1R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(cCs8|jj|jd|�|j|j�|j|=dS(NR�(RRRQRlRN(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd|�dS(NRX(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRX�scCs|jj|jd||�S(Ntpanecget(RRRQ(RR�R)((s /sys/lib/python2.7/lib-tk/Tix.pyR��scKsN|dkr"|j|jd|�S|jj|jd||j||��dS(Nt
paneconfigure(R$R%RQRRR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCsD|jj|jj|jd��}g|D]}|j|�^q+S(Ntpanes(RRZRRQR{(RR}R^((s /sys/lib/python2.7/lib-tk/Tix.pyR��s$(
R<R=R>RCR�R�RXR�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s				t	PopupMenucBs5eZdZid�Zd�Zd�Zd�ZRS(sPopupMenu widget can be used as a replacement of the tk_popup command.
    The advantage of the Tix PopupMenu widget is it requires less application
    code to manipulate.


    Subwidgets       Class
    ----------       -----
    menubutton       Menubutton
    menu       MenucKsOtj||ddg||�t|d�|jd<t|d�|jd<dS(NttixPopupMenuRfRyRz(ReRCR{RlR|(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs |jj|jd|j�dS(NR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs |jj|jd|j�dS(NR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs&|jj|jd|j||�dS(Ntpost(RRRQ(RR�R^R_((s /sys/lib/python2.7/lib-tk/Tix.pytpost_widget�s(R<R=R>RCR�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s
			tResizeHandlecBs>eZdZid�Zd�Zd�Zd�Zd�ZRS(s;Internal widget to draw resize handles on Scrolled widgets.c	KsAddddddddd	g	}tj||d
|||�dS(NRfR}tcursorfgtcursorbgt
handlesizet	hintcolort	hintwidthR^R_ttixResizeHandle(ReRC(RRmR*R+tflags((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s
	cCs |jj|jd|j�dS(Ntattachwidget(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
attach_widgetscCs |jj|jd|j�dS(Ntdetachwidget(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
detach_widgetscCs |jj|jd|j�dS(NR0(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR0	scCs |jj|jd|j�dS(NRZ(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRZs(R<R=R>RCR�R�R0RZ(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s
			t
ScrolledHListcBseZdZid�ZRS(s0ScrolledHList - HList with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledHListRfR�R�R�(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCs

(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�stScrolledListBoxcBseZdZid�ZRS(s4ScrolledListBox - Listbox with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledListBoxRftlistboxR�R�(ReRCt
_dummyListboxRlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCs(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�stScrolledTextcBseZdZid�ZRS(s.ScrolledText - Text with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledTextRfRR�R�(ReRCt
_dummyTextRlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC(s(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�$st
ScrolledTListcBseZdZid�ZRS(s0ScrolledTList - TList with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledTListRfttlistR�R�(ReRCt_dummyTListRlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC2s

(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�.stScrolledWindowcBseZdZid�ZRS(s2ScrolledWindow - Window with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledWindowRfRR�R�(ReRCRdRlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC=s(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�9stSelectcBs/eZdZid�Zid�Zd�ZRS(s�Select - Container of button subwidgets. It can be used to provide
    radio-box or check-box style of selection options for the user.

    Subwidgets are buttons added dynamically using the add method.c	KsEtj||ddddddg||�t|d�|jd<dS(Nt	tixSelectt	allowzerotradioR�R`RfR�(ReRCR�Rl(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCJs

cKsI|jj|jd||j||��t||�|j|<|j|S(NR�(RRRQR)R�Rl(RR1R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR�Qs(cCs|jj|jd|�dS(NR�(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR�Vs(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�CstShellcBseZdZdid�ZRS(s'Toplevel window.

    Subwidgets - NonecKs&tj||dddg||�dS(NttixShellRfttitle(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC^sN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�YstDialogShellcBs8eZdZdid�Zd�Zd�Zd�ZRS(s�Toplevel window, with popup popdown and center methods.
    It tells the window manager that it is a dialog window and should be
    treated specially. The exact treatment depends on the treatment of
    the window manager.

    Subwidgets - NonecKs5tj||ddddddddg||�dS(	NttixDialogShellRfR�tmappedt	minheighttminwidthR�t	transient(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCjs
	cCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�qscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�tscCs|jj|jd�dS(Ntcenter(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�wsN(R<R=R>R$RCR�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�as
		tStdButtonBoxcBs&eZdZdid�Zd�ZRS(s@StdButtonBox - Standard Button Box (OK, Apply, Cancel and Help) cKs~tj||dddg||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixStdButtonBoxR�RfR�tapplyR�thelp(ReRCR�Rl(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC}scCs/||jkr+|jj|jd|�ndS(NR�(RlRRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR��sN(R<R=R>R$RCR�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�zstTListcBs�eZdZdid�Zd�Zd�Zd�Zd�Zdd�Z	d�Z
d�Zd	�Zd
�Z
id�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zid�Zd�Zdd�ZRS(s�TList - Hierarchy display widget which can be
    used to display data in a tabular format. The list entries of a TList
    widget are similar to the entries in the Tk listbox widget. The main
    differences are (1) the TList widget can display the list entries in a
    two dimensional format and (2) you can use graphical images as well as
    multiple colors and fonts for the list entries.

    Subwidgets - NonecKs#tj||ddg||�dS(NttixTListRf(ReRC(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs |jj|jdd|�dS(NtactiveR(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
active_set�scCs|jj|jdd�dS(NR�R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytactive_clear�scCs |jj|jdd|�dS(NRR(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�scCs|jj|jdd�dS(NRR(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�scCs |jj|jd||�dS(NR�(RRRQ(Rtfrom_tto((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs |jj|jdd|�dS(NR R(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR!�scCs|jj|jdd�dS(NR R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR"�scCs |jj|jdd|�dS(NR#R(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR$�scCs|jj|jdd�dS(NR#R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR%�scKs,|jj|jd||j||��dS(NR�(RRRQR)(RR�R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jdd�S(NRaR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_active�scCs|jj|jdd�S(NRaR(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR9�scCs|jj|jdd|�S(NRatdown(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_down�scCs|jj|jdd|�S(NRatleft(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_left�scCs|jj|jdd|�S(NRatright(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_right�scCs+|jj|jdd�}|jj|�S(NRaR�(RRRQRZ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRI�scCs|jj|jdd�S(NRaR.(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_size�scCs|jj|jdd|�S(NRatup(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_up�scCs|jj|jd||�S(NRR(RRRQ(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pyRR�scCs|jj|jd|�dS(NRS(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRS�scKs,|jj|jdd|j||��dS(NR�R(RRRQR)(RR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRT�scCs|jj|jdd|�S(NR�RU(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRV�scCs#|jj|jdd||�dS(NR�R(RRRQ(RRWRX((s /sys/lib/python2.7/lib-tk/Tix.pyRY�sN(R<R=R>R$RCR�R�RRR�R!R"R$R%R�R�R9R�R�R�RIR�R�RRRSRTRVRY(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s2																			tTreecBsMeZdZdid�Zd�Zd�Zd�Zd�Zdd�Z	RS(	s�Tree - The tixTree widget can be used to display hierarchical
    data in a tree form. The user can adjust
    the view of the tree by opening or closing parts of the tree.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixTreeRfR�R�R�(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s
cCs|jj|jd�dS(sThis command calls the setmode method for all the entries in this
     Tree widget: if an entry has no child entries, its mode is set to
     none. Otherwise, if the entry has any hidden child entries, its mode is
     set to open; otherwise its mode is set to close.tautosetmodeN(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd|�dS(s8Close the entry given by entryPath if its mode is close.tcloseN(RRRQ(Rt	entrypath((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd|�S(s9Returns the current mode of the entry given by entryPath.tgetmode(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs|jj|jd|�dS(s6Open the entry given by entryPath if its mode is open.topenN(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR��stnonecCs |jj|jd||�dS(s�This command is used to indicate whether the entry given by
     entryPath has children entries and whether the children are visible. mode
     must be one of open, close or none. If mode is set to open, a (+)
     indicator is drawn next to the entry. If mode is set to close, a (-)
     indicator is drawn next to the entry. If mode is set to none, no
     indicators will be drawn for this entry. The default mode is none. The
     open mode indicates the entry has hidden children and this entry can be
     opened by the user. The close mode indicates that all the children of the
     entry are now visible and the entry can be closed by the user.tsetmodeN(RRRQ(RR�tmode((s /sys/lib/python2.7/lib-tk/Tix.pyR��s
N(
R<R=R>R$RCR�R�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s				t	CheckListcBsbeZdZd
id�Zd�Zd�Zd�Zd�Zdd�Z	d�Z
dd	�ZRS(s�The CheckList widget
    displays a list of items to be selected by the user. CheckList acts
    similarly to the Tk checkbutton or radiobutton widgets, except it is
    capable of handling many more items than checkbuttons or radiobuttons.
    cKshtj||dddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixCheckListRfR�R�R�R�(ReRCR�RlR�(RRmR*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRCs
cCs|jj|jd�dS(sThis command calls the setmode method for all the entries in this
     Tree widget: if an entry has no child entries, its mode is set to
     none. Otherwise, if the entry has any hidden child entries, its mode is
     set to open; otherwise its mode is set to close.R�N(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�scCs|jj|jd|�dS(s8Close the entry given by entryPath if its mode is close.R�N(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�scCs|jj|jd|�S(s9Returns the current mode of the entry given by entryPath.R�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�#scCs|jj|jd|�dS(s6Open the entry given by entryPath if its mode is open.R�N(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�'stoncCs7|jj|jj|jd|��}|jj|�S(s�Returns a list of items whose status matches status. If status is
     not specified, the list of items in the "on" status will be returned.
     Mode can be on, off, defaulttgetselection(RR�RRQRZ(RR�R�((s /sys/lib/python2.7/lib-tk/Tix.pyR�+s'cCs|jj|jd|�S(s(Returns the current status of entryPath.t	getstatus(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�2scCs |jj|jd||�dS(s~Sets the status of entryPath to be status. A bitmap will be
     displayed next to the entry its status is on, off or default.t	setstatusN(RRRQ(RR�R�((s /sys/lib/python2.7/lib-tk/Tix.pyR�6sN(R<R=R>R$RCR�R�R�R�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�
s					R�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCBs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�AsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCFs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�EsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCJs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�IsRdcBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCNs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRdMsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCRs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�QsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCVs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�UsR|cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCZs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR|YsR{cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC^s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR{]sR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCbs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�asR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCfs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�esR�cBseZdd�ZRS(icCs\tj||||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NR�R�R�(R�RCR�RlR�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCjs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�isR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCqs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�psRjcBseZdd�ZRS(icCs\tj||||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NR�R�R�(R�RCR�RlR�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCus(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRjtsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC|s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�{sR�cBseZdd�ZRS(icCs�tj|||d|g�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<y0t|d�|jd<t|d�|jd<Wntk
r�nXdS(NR�R�R�R�R�R�R�(R�RCR�RlR�R�R�R�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s
(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�sR�cBseZdd�ZRS(icCs\tj||||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NR�R�R�(R�RCR�RlR�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sR�cBseZdd�ZRS(icCsFtj||||�t|d�|jd<t|d�|jd<dS(NR�R�(R�RCR�RlR�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sR�cBseZdd�ZRS(icCs�tj||||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<dS(	NR�R�R�R�R�R�R�R�(R�RCR�RlR�R�R�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sRcBseZdd�ZRS(icCsrtj||||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<dS(NR�R�R�R�(R�RCR�RlR�(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s
(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�sR�cBseZdd�ZRS(icCs0tj||||�t|d�|jd<dS(NR�(R�RCR�Rl(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sRcBseZdd�ZRS(icCsrtj||||�t|d�|jd<t|d�|jd<t|d�|jd<t|d�|jd<dS(NR�R�R�R�(R�RCR�Rl(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s
(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�st_dummyNoteBookFramecBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sRicBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRmR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRi�scCs|jjd|j�S(szReturns the qualified path name for the widget. Normally used to set
    default options for subwidgets. See tixwidgets.pyt
tixOptionName(RRRQ(R�((s /sys/lib/python2.7/lib-tk/Tix.pyt
OptionName�scCsGd}x:|j�D],}|d|d|d||d}qW|S(NRLs{{s} {s - s}} (tkeys(tdicttsttype((s /sys/lib/python2.7/lib-tk/Tix.pytFileTypeList�s*tCObjViewcBseZdZRS(sBThis file implements the Canvas Object View widget. This is a base
    class of IconView. It implements automatic placement/adjustment of the
    scrollbars according to the canvas objects inside the canvas subwidget.
    The scrollbars are adjusted so that the canvas is just large enough
    to see all the objects.
    (R<R=R>(((s /sys/lib/python2.7/lib-tk/Tix.pyR��stGridcBs�eZdZdid�Zd�Zd�Zd�Zdd�Zdd�Z	d�Z
d�Zd	�Zdd
�Z
d�Zd�Zd
�Zd�Zd�Zdd�Zd�Zd�Zd�ZRS(s}The Tix Grid command creates a new window  and makes it into a
    tixGrid widget. Additional options, may be specified on the command
    line or in the option database to configure aspects such as its cursor
    and relief.

    A Grid widget displays its contents in a two dimensional grid of cells.
    Each cell may contain one Tix display item, which may be in text,
    graphics or other formats. See the DisplayStyle class for more information
    about Tix display items. Individual cells, or groups of cells, can be
    formatted with a wide range of attributes, such as its color, relief and
    border.

    Subwidgets - NonecKs/g}||_tj||d|||�dS(NttixGrid(R*ReRC(RRmR*R+R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s	cCs|jj|dd�dS(sRemoves the selection anchor.RRN(RR(R((s /sys/lib/python2.7/lib-tk/Tix.pyRscCs|j|jj|dd��S(s3Get the (x,y) coordinate of the current anchor cellRR5(R;RR(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
anchor_getscCs |jj|dd||�dS(s/Set the selection anchor to the cell at (x, y).RRN(RR(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pyRscCsH|dkr(|jj|dd|�n|jj|dd||�dS(sdDelete rows between from_ and to inclusive.
        If to is not provided,  delete only row at from_R�RN(R$RR(RR�R�((s /sys/lib/python2.7/lib-tk/Tix.pyt
delete_rowscCsH|dkr(|jj|dd|�n|jj|dd||�dS(sjDelete columns between from_ and to inclusive.
        If to is not provided,  delete only column at from_R�RN(R$RR(RR�R�((s /sys/lib/python2.7/lib-tk/Tix.pyt
delete_columnscCs|jj|dd�dS(sUIf any cell is being edited, de-highlight the cell  and  applies
        the changes.teditR�N(RR(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
edit_apply scCs |jj|dd||�dS(smHighlights  the  cell  at  (x, y) for editing, if the -editnotify
        command returns True for this cell.R�RN(RR(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pytedit_set%scCs?|r#|ddkr#d|}n|jj|d|||�S(s&Get the option value for cell at (x,y)iR#RP(RR(RR^R_R ((s /sys/lib/python2.7/lib-tk/Tix.pyRP*s
cKs|jd||f||�S(NRQ(t
_configure(RR^R_R*R+((s /sys/lib/python2.7/lib-tk/Tix.pyRQ0scCs%|j|jj|dd||��S(s+Return True if display item exists at (x,y)RaR+(t_getbooleanRR(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pyRB6scCs|jj|dd||�S(NRaR:(RR(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pyR<:scCs#|jj|dd|||�dS(s�Moves the range of columns from position FROM through TO by
        the distance indicated by OFFSET. For example, move_column(2, 4, 1)
        moves the columns 2,3,4 to columns 3,4,5.tmoveRN(RR(RR�R�toffset((s /sys/lib/python2.7/lib-tk/Tix.pytmove_column>scCs#|jj|dd|||�dS(s�Moves the range of rows from position FROM through TO by
        the distance indicated by OFFSET.
        For example, move_row(2, 4, 1) moves the rows 2,3,4 to rows 3,4,5.R�RN(RR(RR�R�R�((s /sys/lib/python2.7/lib-tk/Tix.pytmove_rowDscCs"|j|jj|d||��S(s8Return coordinate of cell nearest pixel coordinate (x,y)RR(R;RR(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pyRRJscKsT|j|j|�}|dk	r4d|f|}n|jj|d|||�dS(Ns	-itemtypeR(R)R*R$RR(RR^R_R�R+targs((s /sys/lib/python2.7/lib-tk/Tix.pyRTsc	Ks7|jj|jj|jdd||ji|���S(s�Queries or sets the size of the column given by
        INDEX.  INDEX may be any non-negative
        integer that gives the position of a given column.
        INDEX can also be the string "default"; in this case, this command
        queries or sets the default size of all columns.
        When no option-value pair is given, this command returns a tuple
        containing the current size setting of the given column.  When
        option-value pairs are given, the corresponding options of the
        size setting of the given column are changed. Options may be one
        of the follwing:
              pad0 pixels
                     Specifies the paddings to the left of a column.
              pad1 pixels
                     Specifies the paddings to the right of a column.
              size val
                     Specifies the width of a column.  Val may be:
                     "auto" -- the width of the column is set to the
                     width of the widest cell in the column;
                     a valid Tk screen distance unit;
                     or a real number following by the word chars
                     (e.g. 3.4chars) that sets the width of the column to the
                     given number of characters.R.R(RR�RRQR)(RR�R+((s /sys/lib/python2.7/lib-tk/Tix.pytsize_columnZs!c	Ks4|jj|jj|dd||ji|���S(s�Queries or sets the size of the row given by
        INDEX. INDEX may be any non-negative
        integer that gives the position of a given row .
        INDEX can also be the string "default"; in this case, this command
        queries or sets the default size of all rows.
        When no option-value pair is given, this command returns a list con-
        taining the current size setting of the given row . When option-value
        pairs are given, the corresponding options of the size setting of the
        given row are changed. Options may be one of the follwing:
              pad0 pixels
                     Specifies the paddings to the top of a row.
              pad1 pixels
                     Specifies the paddings to the bottom of a row.
              size val
                     Specifies the height of a row.  Val may be:
                     "auto" -- the height of the row is set to the
                     height of the highest cell in the row;
                     a valid Tk screen distance unit;
                     or a real number following by the word chars
                     (e.g. 3.4chars) that sets the height of the row to the
                     given number of characters.R.R(RR�RR)(RR�R+((s /sys/lib/python2.7/lib-tk/Tix.pytsize_rowtscCs |jj|jd||�dS(s7Clears the cell at (x, y) by removing its display item.tunsetN(RRRQ(RR^R_((s /sys/lib/python2.7/lib-tk/Tix.pyR��sN(R<R=R>R$RCRR�RR�R�R�R�RPRQRBR<R�R�RRRR�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(
												
		tScrolledGridcBseZdZdid�ZRS(sScrolled Grid widgetscKs/g}||_tj||d|||�dS(NttixScrolledGrid(R*ReRC(RRmR*R+R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s	N(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��siiiii ((((yRBRRRt	TkVersiontImportErrort_tkintertWINDOWtTEXTtSTATUSt	IMMEDIATEtIMAGEt	IMAGETEXTtBALLOONtAUTOt	ACROSSTOPtASCIItCELLtCOLUMNt
DECREASINGt
INCREASINGtINTEGERtMAINtMAXtREALtROWtS_REGIONtX_REGIONtY_REGIONt
TCL_DONT_WAITtTCL_WINDOW_EVENTStTCL_FILE_EVENTStTCL_TIMER_EVENTStTCL_IDLE_EVENTStTCL_ALL_EVENTSRDRR?RORjt	__bases__ReR�R�R�R�R�R�R�R�R�R�R�R�R�RRtXViewtYViewRR\R^RaReRpRrRvRwR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�tButtonR�tCheckbuttonR�tEntryR�tFrameRdtLabelR�tListboxR�tMenuR|t
MenubuttonR{t	ScrollbarR�tTextR�R�R�RjR�R�R�R�R�RR�RR�RiR�R�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyt<module>s�
�-�8,,!"�#	()


S.7
	
	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].