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

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


��Qc@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,�Z+d-d�d.��YZ,d/e)fd0��YZ-d1e)fd2��YZ.d3e)fd4��YZ/d5e)fd6��YZ0d7e)fd8��YZ1d9e)fd:��YZ2d;e)fd<��YZ3d=e)fd>��YZ4d?e)fd@��YZ5dAe)fdB��YZ6dCe)fdD��YZ7dEe)fdF��YZ8dGe)fdH��YZ9dIe)e:e;fdJ��YZ<dKe)fdL��YZ=dMe)fdN��YZ>dOe)fdP��YZ?dQe)fdR��YZ@dSe)fdT��YZAdUe)fdV��YZBdWe)fdX��YZCdYe)fdZ��YZDd[e)fd\��YZEd]e)fd^��YZFd_e)fd`��YZGdae)fdb��YZHdce)fdd��YZIdee)fdf��YZJdge)fdh��YZKdie)fdj��YZLdke)fdl��YZMdme)fdn��YZNdoe)fdp��YZOdqe)fdr��YZPdse)e:e;fdt��YZQdue)fdv��YZRdwe)fdx��YZSdyeTe*fdz��YZUd{eVe*fd|��YZWd}eXe*fd~��YZYdeZe*fd���YZ[d�e\e*fd���YZ]d�e^e*fd���YZ_d�e`e*fd���YZad�ebe*fd���YZcd�ede*fd���YZed�efe*fd���YZgd�eIe*fd���YZhd�e<e*fd���YZid�eHe*fd���YZjd�eQe*fd���YZkd�e/e*fd���YZld�e1e*fd���YZmd�e3e*fd���YZnd�e4e*fd���YZod�e7e*fd���YZpd�e/e*fd���YZqd�ePe*fd���YZrd�eCe*fd���YZsd�eEe*fd���YZtd��Zud��Zvd�e)fd���YZwd�e)e:e;fd���YZxd�exfd���YZydS(�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|dkr�i}xN|jj|jjdd��D]+}|ddf|d||dd<qdW|St|t�r�jj|jjddd|��}|ddf|dS|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	configureiit-N(stixR"(RtNoneRtsplitRt
isinstancet
StringTypet_options(Rtcnftkwtx((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(RtxsizetysizeR+tytz((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.pyR`s

cCs1t|j|jj|jjdd|j���S(NRPtslaves(tmapt
_nametowidgetRRZRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyRas			N(R<R=R>RRRSRVRWRXRYR$R`Ra(((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(	RtmasterRhtstatic_optionsR)R*textratktv((s /sys/lib/python2.7/lib-tk/Tix.pyRC%s$		cCs'||jkr|j|St|�dS(N(RktAttributeError(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyt__getattr__RscCs|jjd|j|�dS(s1Set a variable without calling its action routinettixSetSilentN(RRRQ(RRU((s /sys/lib/python2.7/lib-tk/Tix.pyt
set_silentWscCsT|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_nametlenRQRc(RR1tn((s /sys/lib/python2.7/lib-tk/Tix.pyt	subwidget[s
cCsl|j�}|sgSg}xI|D]A}|t|j�d}y|j|j|��Wq#q#Xq#W|S(sReturn all subwidgets.i(t_subwidget_namesRxRQRfRc(RtnamestretlistR1((s /sys/lib/python2.7/lib-tk/Tix.pytsubwidgets_alles
cCs6y|jj|jd|�SWntk
r1dSXdS(s7Get a subwidget name (returns a String, not a Widget !)RzN(RRRQRvR$(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRuts
cCsHy/|jj|jdd�}|jj|�SWntk
rCdSXdS(s"Return the name of all subwidgets.t
subwidgetss-allN(RRRQR%RvR$(RR+((s /sys/lib/python2.7/lib-tk/Tix.pyR{{s

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_all�s
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RuntimeErrorRRgthasattrt	_registerRR(RtimgtypeR)RlR*ReRoRp((s /sys/lib/python2.7/lib-tk/Tix.pytimage_create�s		cCs2y|jjdd|�Wntk
r-nXdS(NRtdelete(RRRv(Rtimgname((s /sys/lib/python2.7/lib-tk/Tix.pytimage_delete�s
N(R<R=R>R$RCRrRtRzR~RuR{R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyRds,			
				
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�(
RuRxRQR%RdRCR$trangetjoinRctKeyErrorR�R�(RRlR1R�R�tpathtplisttparenttiRytw((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(
tchildrentvaluesRNRwRlRkR�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��scCs@i}x3|D]+}|ddf|d||dd<q
W|S(Nii((tlsttdictR+((s /sys/lib/python2.7/lib-tk/Tix.pyt	_lst2dict�s
)t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*Rl((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#((RRg(RR)R*toptsRoRp((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.pyRVscKs7t|jj|jj|jd|j||����S(NR"(R�RR%RR�R((RR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRRs		cCs|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(NRetinstallcolormaptinitwaitt	statusbartcursort
tixBalloontlabelR�itmessage(RdRCt_dummyLabelRk(RRlR)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_widget&scCs |jj|jd|j�dS(Ntunbind(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
unbind_widget+sN(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tixButtonBoxtorientationRe(RdRC(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC2scKsD|jj|jd||j||��}t||�|j|<|S(s$Add a button with given name to box.tadd(RRRQR(t_dummyButtonRk(RR1R)R*tbtn((s /sys/lib/python2.7/lib-tk/Tix.pyR�6s*cCs/||jkr+|jj|jd|�ndS(Ntinvoke(RkRRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR�=sN(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(NttixComboBoxteditabletdropdowntfancyReR�tentrytarrowtslistboxtticktcross(RdRCR�Rkt_dummyEntryR�t_dummyScrolledListBoxt	TypeError(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRCOs

cCs|jj|jd|�dS(Nt
addhistory(RRRQ(Rtstr((s /sys/lib/python2.7/lib-tk/Tix.pytadd_historyascCs|jj|jd|�dS(Nt
appendhistory(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytappend_historydscCs |jj|jd||�dS(Ntinsert(RRRQ(RtindexR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�gscCs|jj|jd|�dS(Ntpick(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�jsN(	R<R=R>R$RCR�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�As			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
tixControlRetincrtdecrR�R�(RdRCR�RkR�R�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC{s
cCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt	decrement�scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt	increment�scCs|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�ms			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
tixDirListRethlisttvsbthsb(RdRCt_dummyHListRkt_dummyScrollbar(RRlR)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
tixDirTreeReR�R�R�(RdRCR�RkR�(RRlR)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(NttixDirSelectBoxRetdirlisttdircbx(RdRCt
_dummyDirListRkt_dummyFileComboBox(RRlR)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(NttixExFileSelectBoxRetcanceltokthiddenttypesR�R�tfiletfilelist(RdRCR�Rkt_dummyCheckbuttont_dummyComboBoxR�R�(RRlR)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(NttixDirSelectDialogRetdirbox(RdRCt_dummyDirSelectBoxRk(RRlR)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(NttixExFileSelectDialogRetfsbox(RdRCt_dummyExFileSelectBoxRk(RRlR)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(NttixFileSelectBoxReR�R�R�t	selection(RdRCR�RkR�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC(s
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�2s(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(NttixFileSelectDialogRetbtnsR�(RdRCt_dummyStdButtonBoxRkt_dummyFileSelectBox(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC?scCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�EscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�Hs(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR6s	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
dialogtypeRetbuttonR�(RdRCR�RkR�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRCWscCs|jj|jd�dS(NR�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR�]scCsdS(N((R((s /sys/lib/python2.7/lib-tk/Tix.pytfile_dialog`s(R<R=R>RCR�R(((s /sys/lib/python2.7/lib-tk/Tix.pyRKs		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(NttixHListtcolumnsRe(RdRC(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRClscKs(|jj|jd||j||��S(NR�(RRRQR((RR�R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyR�pscKs7|sd}n|jj|jd||j||��S(NRLtaddchild(RRRQR((RR�R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyt	add_childss		cCs |jj|jdd|�dS(Ntanchortset(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
anchor_setyscCs|jj|jdd�dS(NRtclear(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytanchor_clear|sicCsK|s%|jj|jdd||�S|jj|jdd|d|�SdS(NRtwidths-char(RRRQ(RtcolRtchars((s /sys/lib/python2.7/lib-tk/Tix.pytcolumn_widthscCs|jj|jdd�dS(NR�tall(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
delete_all�scCs |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_offsprings�scCs |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�scKsi|dkr:t|jj|jj|jdd|���S|jj|jdd||j||��dS(NR'R"(R$R�RR%RRQR((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	cKsi|dkr:t|jj|jj|jdd|���S|jj|jdd||j||��dS(NR3R"(R$R�RR%RRQR((RR�R)R*((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_configure�s	"	cCs|jj|jdd||�S(NR3R(RRRQ(RR�R*((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_cget�scCs|jj|jdd|�S(NR3R,(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_exists�scCs |jj|jdd|�dS(NR3R�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_delete�scCs|jj|jdd|�S(NR3R/(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytindicator_size�scCs|jj|jdd�S(NR`R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_anchor�scCs+|j|jj|jdd|��p*dS(NR`tbbox(t_getintsRRRQR$(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_bbox�scCs.|jj|jdd|�}|jj|�S(NR`R�(RRRQRZ(RR�R�((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_children�scCs|jj|jdd|�S(NR`tdata(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_data�scCs|jj|jdd�S(NR`R!(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_dragsite�scCs|jj|jdd�S(NR`R$(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_dropsite�scCs|jj|jdd|�S(NR`R,(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_exists�scCs|jj|jdd|�S(NR`R�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_hidden�scCs|jj|jdd|�S(NR`tnext(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_next�scCs|jj|jdd|�S(NR`R�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_parent�scCs|jj|jdd|�S(NR`tprev(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_prev�scCs+|jj|jdd�}|jj|�S(NR`R(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	Kso|dkr=t|jj|jj|jdd||���S|jj|jdd|||j||��dS(NRKR"(R$R�RR%RRQR((RR�RR)R*((s /sys/lib/python2.7/lib-tk/Tix.pytitem_configure�s	%c	Ks2|jj|jdd|||j||��dS(NRKR�(RRRQR((RR�RR)R*((s /sys/lib/python2.7/lib-tk/Tix.pytitem_creates	cCs|jj|jdd||�S(NRKR,(RRRQ(RR�R((s /sys/lib/python2.7/lib-tk/Tix.pytitem_existsscCs#|jj|jdd||�dS(NRKR�(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.pyRQscKsc|dkr7t|jj|jj|jd|���S|jj|jd||j||��dS(Ntentryconfigure(R$R�RR%RRQR((RR�R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRRs	cCs|jj|jd|�S(Ntnearest(RRRQ(RR^((s /sys/lib/python2.7/lib-tk/Tix.pyRSscCs|jj|jd|�dS(Ntsee(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRTscKs,|jj|jdd|j||��dS(NRR(RRRQR((RR)R*((s /sys/lib/python2.7/lib-tk/Tix.pytselection_clearscCs|jj|jdd|�S(NRtincludes(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytselection_includes scCs#|jj|jdd||�dS(NRR(RRRQ(Rtfirsttlast((s /sys/lib/python2.7/lib-tk/Tix.pyt
selection_set#scCs|jj|jdd|�S(NtshowR�(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
show_entry&sN(8R<R=R>R$RCR�RRRRRRRR R"R#R%R&R(R)R+R-R.R0R2R4R5R6R7R8R9R:R=R>R@RARBRCRDRFRGRIRJRLRMRNRORPRQRRRSRTRURWRZR\(((s /sys/lib/python2.7/lib-tk/Tix.pyRdsj																																					t	InputOnlycBseZdZdid�ZRS(s?InputOnly - Invisible widget. Unix only.

    Subwidgets - NonecKs tj||dd||�dS(NttixInputOnly(RdRCR$(RRlR)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
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	labelsideReR�R�(RdRCR�RkR�(RRlR)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_1st
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
tixLabelFrameRaReR�tframe(RdRCR�Rkt_dummyFrame(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRCLsN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRbAs	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(NttixListNoteBookRetpaneR�iR�tshlist(RdRCt_dummyPanedWindowRkR�t_dummyScrolledHList(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC[s
cKsI|jj|jd||j||��t||�|j|<|j|S(NR�(RRRQR(R�Rk(RR1R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyR�cs(cCs
|j|�S(N(Rz(RR1((s /sys/lib/python2.7/lib-tk/Tix.pytpagehscCsU|jj|jj|jd��}g}x$|D]}|j|j|��q1W|S(Ntpages(RR%RRQRfRz(RR|tretR+((s /sys/lib/python2.7/lib-tk/Tix.pyRmks
$
cCs|jj|jd|�dS(Ntraise(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyt
raise_pagess(R<R=R>RCR�RlRmRp(((s /sys/lib/python2.7/lib-tk/Tix.pyRfSs		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(NttixMeterRe(RdRC(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC{sN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRqvstNoteBookcBsVeZdZdid�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(NttixNoteBookRetnbframeR�i(RdRCR�Rk(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scKsI|jj|jd||j||��t||�|j|<|j|S(NR�(RRRQR(R�Rk(RR1R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(cCs8|jj|jd|�|j|j�|j|=dS(NR�(RRRQRkRN(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR��scCs
|j|�S(N(Rz(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRl�scCsU|jj|jj|jd��}g}x$|D]}|j|j|��q1W|S(NRm(RR%RRQRfRz(RR|RnR+((s /sys/lib/python2.7/lib-tk/Tix.pyRm�s
$
cCs|jj|jd|�dS(NRo(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyRp�scCs|jj|jd�S(Ntraised(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyRv�sN(R<R=R>R$RCR�R�RlRmRpRv(((s /sys/lib/python2.7/lib-tk/Tix.pyRss				t
NoteBookFramecBseZRS((R<R=(((s /sys/lib/python2.7/lib-tk/Tix.pyRw�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
tixOptionMenuRaRet
menubuttontmenu(RdRCt_dummyMenubuttonRkt
_dummyMenu(RRlR)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>RCRR�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyRx�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�Re(RdRC(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scKsO|jj|jd||j||��t||dd�|j|<|j|S(NR�R�i(RRRQR(R�Rk(RR1R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(cCs8|jj|jd|�|j|j�|j|=dS(NR�(RRRQRkRN(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��scKsc|dkr7t|jj|jj|jd|���S|jj|jd||j||��dS(Nt
paneconfigure(R$R�RR%RRQR((RR�R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyR��s
	cCsD|jj|jj|jd��}g|D]}|j|�^q+S(Ntpanes(RRZRRQRz(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tixPopupMenuReRzR{(RdRCR|RkR}(RRlR)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(NReR~tcursorfgtcursorbgt
handlesizet	hintcolort	hintwidthR+R^ttixResizeHandle(RdRC(RRlR)R*tflags((s /sys/lib/python2.7/lib-tk/Tix.pyRCs
	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(NR1(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR1scCs |jj|jd|j�dS(NR[(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR["s(R<R=R>RCR�R�R1R[(((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(NttixScrolledHListReR�R�R�(RdRCR�RkR�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC)s

(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(NttixScrolledListBoxRetlistboxR�R�(RdRCt
_dummyListboxRkR�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC4s(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�0stScrolledTextcBseZdZid�ZRS(s.ScrolledText - Text with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledTextReRR�R�(RdRCt
_dummyTextRkR�(RRlR)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(NttixScrolledTListRettlistR�R�(RdRCt_dummyTListRkR�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRCHs

(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�DstScrolledWindowcBseZdZid�ZRS(s2ScrolledWindow - Window with automatic scrollbars.cKsetj||ddg||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NttixScrolledWindowReRR�R�(RdRCReRkR�(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRCSs(R<R=R>RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�OstSelectcBs/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�RaReR�(RdRCR�Rk(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC`s

cKsI|jj|jd||j||��t||�|j|<|j|S(NR�(RRRQR(R�Rk(RR1R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyR�gs(cCs|jj|jd|�dS(NR�(RRRQ(RR1((s /sys/lib/python2.7/lib-tk/Tix.pyR�ls(R<R=R>RCR�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�YstShellcBseZdZdid�ZRS(s'Toplevel window.

    Subwidgets - NonecKs&tj||dddg||�dS(NttixShellRettitle(RdRC(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRCtsN(R<R=R>R$RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�ostDialogShellcBs8eZdZdid�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(	NttixDialogShellReR�tmappedt	minheighttminwidthR�t	transient(RdRC(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s
	cCs|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��scCs|jj|jd�dS(Ntcenter(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR��sN(R<R=R>R$RCR�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR�ws
		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�ReR�tapplyR�thelp(RdRCR�Rk(RRlR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRC�scCs/||jkr+|jj|jd|�ndS(NR�(RkRRRQ(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��stTListcBs�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(NttixTListRe(RdRC(RRlR)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(NR`R�(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_active�scCs|jj|jdd�S(NR`R(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyR:�scCs|jj|jdd|�S(NR`tdown(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_down�scCs|jj|jdd|�S(NR`tleft(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_left�scCs|jj|jdd|�S(NR`tright(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyt
info_right�scCs+|jj|jdd�}|jj|�S(NR`R(RRRQRZ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRJ�scCs|jj|jdd�S(NR`R/(RRRQ(R((s /sys/lib/python2.7/lib-tk/Tix.pyt	info_size�scCs|jj|jdd|�S(NR`tup(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pytinfo_up�scCs|jj|jd||�S(NRS(RRRQ(RR+R^((s /sys/lib/python2.7/lib-tk/Tix.pyRS�scCs|jj|jd|�dS(NRT(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRT�scKs,|jj|jdd|j||��dS(NRR(RRRQR((RR)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRU�scCs|jj|jdd|�S(NRRV(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyRW�scCs#|jj|jdd||�dS(NRR(RRRQ(RRXRY((s /sys/lib/python2.7/lib-tk/Tix.pyRZ�sN(R<R=R>R$RCR�R�RRR�R"R#R%R&R�R�R:R�R�R�RJR�R�RSRTRURWRZ(((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(NttixTreeReR�R�R�(RdRCR�RkR�(RRlR)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tixCheckListReR�R�R�R�(RdRCR�RkR�(RRlR)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.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�5scCs|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�9scCs|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�As'cCs|jj|jd|�S(s(Returns the current status of entryPath.t	getstatus(RRRQ(RR�((s /sys/lib/python2.7/lib-tk/Tix.pyR�HscCs |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�LsN(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(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCXs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�WsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((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(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC`s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�_sRecBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCds(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRecsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRChs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�gsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCls(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�ksR}cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCps(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR}osR|cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCts(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR|ssR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCxs(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR�wsR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((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�RkR�(RRlR1R�((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(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sRkcBseZdd�ZRS(icCs\tj||||�t|d�|jd<t|d�|jd<t|d�|jd<dS(NR�R�R�(R�RCR�RkR�(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRk�sR�cBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((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�RkR�R�R�R�(RRlR1R�((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�RkR�(RRlR1R�((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�RkR�(RRlR1R�((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�RkR�R�R�(RRlR1R�((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�RkR�(RRlR1R�((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�Rk(RRlR1R�((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�Rk(RRlR1R�((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(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyR��sRjcBseZdd�ZRS(icCstj||||�dS(N(R�RC(RRlR1R�((s /sys/lib/python2.7/lib-tk/Tix.pyRC�s(R<R=RC(((s /sys/lib/python2.7/lib-tk/Tix.pyRj�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(R�tsttype((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)RdRC(RRlR)R*R�((s /sys/lib/python2.7/lib-tk/Tix.pyRCs	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_row&s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_column.s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_apply6scCs |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#RQ(RR(RR+R^R ((s /sys/lib/python2.7/lib-tk/Tix.pyRQ@s
cKs|jd||f||�S(NRR(t
_configure(RR+R^R)R*((s /sys/lib/python2.7/lib-tk/Tix.pyRRFscCs%|j|jj|dd||��S(s+Return True if display item exists at (x,y)R`R,(t_getbooleanRR(RR+R^((s /sys/lib/python2.7/lib-tk/Tix.pyRCLscCs|jj|dd||�S(NR`R;(RR(RR+R^((s /sys/lib/python2.7/lib-tk/Tix.pyR=PscCs#|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_columnTscCs#|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_rowZscCs"|j|jj|d||��S(s8Return coordinate of cell nearest pixel coordinate (x,y)RS(R<RR(RR+R^((s /sys/lib/python2.7/lib-tk/Tix.pyRS`scKsT|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.pyRjs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_columnps!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_row�scCs |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�RQRRRCR=R�R�RSRR�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyR��s(
												
		tScrolledGridcBseZdZdid�ZRS(sScrolled Grid widgetscKs/g}||_tj||d|||�dS(NttixScrolledGrid(R)RdRC(RRlR)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 ((((zRBRRRt	TkVersiontImportErrort_tkintertWINDOWtTEXTtSTATUSt	IMMEDIATEtIMAGEt	IMAGETEXTtBALLOONtAUTOt	ACROSSTOPtASCIItCELLtCOLUMNt
DECREASINGt
INCREASINGtINTEGERtMAINtMAXtREALtROWtS_REGIONtX_REGIONtY_REGIONt
TCL_DONT_WAITtTCL_WINDOW_EVENTStTCL_FILE_EVENTStTCL_TIMER_EVENTStTCL_IDLE_EVENTStTCL_ALL_EVENTSRDRR?RORit	__bases__RdR�R�R�R�R�R�R�R�R�R�R�R�R�R�RRtXViewtYViewRR]R_RbRfRqRsRwRxR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�tButtonR�tCheckbuttonR�tEntryR�tFrameRetLabelR�tListboxR�tMenuR}t
MenubuttonR|t	ScrollbarR�tTextR�R�R�RkR�R�R�R�R�RR�RR�RjR�R�R�R�R�(((s /sys/lib/python2.7/lib-tk/Tix.pyt<module>s�
�-�7	.,!"�#	(+


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].