-
<c       sc    d  Z    d Z   d k Z ! e i d j o " d k Z n # d k Z $ e Z % e i Z & d k T' d k	 T( y ) d k
 Z
 e
 Z [
 Wn * e j
 o + e Z n X- e e i  Z . e e i  Z 0 e i Z 1 e i Z 2 e i Z 5 y 5 e i Wn" 6 e j
 o 6 e e _ n X7 y 7 e i Wn" 8 e j
 o 8 e e _ n X; d   Z E y E e i Z Wn F e j
 o
 F n XH d   Z Y y Y e i Z Wn Z e j
 o
 Z n X\ d f  d     YZ  d	 a  e a  d
   Z  d   Z  d d  Z   d a!  d f  d     YZ"  d e" f d     YZ#  d e" f d     YZ$  d e" f d     YZ%  d e" f d     YZ& d d  Z' 
e( Z) e Z* d   Z+ d f  d     YZ, d f  d     YZ- d f  d      YZ. d! e, e. f d"     YZ/  d# f  d$     YZ0 Ld% f  d&     YZ1 d' f  d(     YZ2 d) e, f d*     YZ3 d+ e3 e0 e1 e2 f d,     YZ4 d- e3 e. f d.     YZ5 d/ e4 f d0     YZ6 +d1   Z7 -d2   Z8 2d3   Z9 4d4   Z: 6e d5  Z; <d6 e4 f d7     YZ< Rd8 e4 f d9     YZ= od: e4 f d;     YZ> d< e4 f d=     YZ? d> e4 f d?     YZ@ d@ e4 f dA     YZA X	dB e4 f dC     YZB 	dD e4 f dE     YZC 	dF e4 f dG     YZD 	dH e4 f dI     YZE 	dJ e4 f dK     YZF 
dL e4 f dM     YZG <
dN e4 f dO     YZH BdP f  dQ     YZI MdR eC f dS     YZJ rdT f  dU     YZK dV eK f dW     YZL dX eK f dY     YZM dZ   ZN d[   ZO d\ e6 f d]     YZP  d^ e6 f d_     YZQ d`   ZR &eS da j o 'eR   n d S(b   s  Wrapper functions for Tcl/Tk.

Tkinter provides classes which allow the display, positioning and
control of widgets. Toplevel widgets are Tk and Toplevel. Other
widgets are Frame, Label, Entry, Text, Canvas, Button, Radiobutton,
Checkbutton, Scale, Listbox, Scrollbar, OptionMenu. Properties of the
widgets are specified with keyword arguments.  Keyword arguments have
the same name as the corresponding resource under Tk.

Widgets are positioned with one of the geometry managers Place, Pack
or Grid. These managers can be called with methods place, pack, grid
available in every Widget.

Actions are bound to events by resources (e.g. keyword argument
command) or with the method bind.

Example (Hello, World):
import Tkinter
from Tkconstants import *
tk = Tkinter.Tk()
frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2)
frame.pack(fill=BOTH,expand=1)
label = Tkinter.Label(frame, text="Hello, World")
label.pack(fill=X, expand=1)
button = Tkinter.Button(frame,text="Exit",command=tk.destroy)
button.pack(side=BOTTOM)
tk.mainloop()
s   $Revision: 1.160 $Ns   win32(   s   *c    s   ; < = f  } > xh |  D> ]] } ? t |  t t f j o @ | t |  } n% A | t j	 o B | | f } n q WC | Sd S(   s   Internal function.N(   s   ress   tuples   items   types	   TupleTypes   ListTypes   _flattens   None(   s   tuples   items   res(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _flatten; s   	
 	c    s   H I J t  |   t j o K |  Sn L t  |   t t f j o M |  Sn O h  } P x t |   DP ]z } Q y R | i |  WnZ S t	 t
 f j
 oE } T d G| GHU x* | i   DU ] \ } } V | | | <q Wn Xqg WW | Sd S(   s   Internal function.s   _cnfmerge: fallback due to:N(   s   types   cnfss   DictionaryTypes   NoneTypes
   StringTypes   cnfs   _flattens   cs   updates   AttributeErrors	   TypeErrors   msgs   itemss   ks   v(   s   cnfss   cs   cnfs   vs   msgs   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   _cnfmergeH s    	 	 s   Eventc      s   \ t  Z d  Z   RS(   s  Container for the properties of an event.

    Instances of this type are generated if one of the following events occurs:

    KeyPress, KeyRelease - for keyboard events
    ButtonPress, ButtonRelease, Motion, Enter, Leave, MouseWheel - for mouse events
    Visibility, Unmap, Map, Expose, FocusIn, FocusOut, Circulate,
    Colormap, Gravity, Reparent, Property, Destroy, Activate,
    Deactivate - for window events.

    If a callback function for one of these events is registered
    using bind, bind_all, bind_class, or tag_bind, the callback is
    called with an Event as first argument. It will have the
    following attributes (in braces are the event types for which
    the attribute is valid):

        serial - serial number of event
    num - mouse button pressed (ButtonPress, ButtonRelease)
    focus - whether the window has the focus (Enter, Leave)
    height - height of the exposed window (Configure, Expose)
    width - width of the exposed window (Configure, Expose)
    keycode - keycode of the pressed key (KeyPress, KeyRelease)
    state - state of the event as a number (ButtonPress, ButtonRelease,
                            Enter, KeyPress, KeyRelease,
                            Leave, Motion)
    state - state as a string (Visibility)
    time - when the event occurred
    x - x-position of the mouse
    y - y-position of the mouse
    x_root - x-position of the mouse on the screen
             (ButtonPress, ButtonRelease, KeyPress, KeyRelease, Motion)
    y_root - y-position of the mouse on the screen
             (ButtonPress, ButtonRelease, KeyPress, KeyRelease, Motion)
    char - pressed character (KeyPress, KeyRelease)
    send_event - see X/Windows documentation
    keysym - keysym of the the event as a string (KeyPress, KeyRelease)
    keysym_num - keysym of the event as a number (KeyPress, KeyRelease)
    type - type of the event as a number
    widget - widget in which the event occurred
    delta - delta of wheel movement (MouseWheel)
    (   s   __name__s
   __module__s   __doc__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Event\ s   )i   c      s(       d a    t a  b d S(   s   Inhibit setting of default root window.

    Call this function to inhibit that the first instance of
    Tk is used for windows without an explicit parent window.
    i    N(   s   _support_default_roots   Nones   _default_root(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   NoDefaultRoot s   		c    s      d S(   s   Internal function.N(    (   s   err(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _tkerror s   s   0c    s      t  |   d S(   sB   Internal function. Calling it will throw the exception SystemExit.N(   s
   SystemExits   code(   s   code(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _exit s   i    s   Variablec      s}    t  Z d  Z   d Z  e d  Z  d   Z  d   Z  d   Z  d   Z	  e	 Z
  d   Z  d   Z RS(	   sD   Internal class. Base class to define value holders for e.g. buttons.s    c    sq       | o  t } n  | |  _  | i |  _  d t |  _  t d a  |  i |  i	  d S(   s{   Construct a variable with an optional MASTER as master widget.
        The variable is named PY_VAR_number in Tcl.
        s   PY_VARi   N(
   s   masters   _default_roots   selfs   _masters   tks   _tks   _varnums   _names   sets   _default(   s   selfs   master(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__ s   c    s       |  i i |  i  d S(   s   Unset the variable in Tcl.N(   s   selfs   _tks   globalunsetvars   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __del__ s   c    s      |  i Sd S(   s'   Return the name of the variable in Tcl.N(   s   selfs   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __str__ s   c    s#      |  i i |  i |  Sd S(   s   Set the variable to VALUE.N(   s   selfs   _tks   globalsetvars   _names   value(   s   selfs   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   set s   c    sH      |  i i |  }  |  i i d d |  i | |   | Sd S(   s
  Define a trace callback for the variable.

        MODE is one of "r", "w", "u" for read, write, undefine.
        CALLBACK must be a function which is called when
        the variable is read, written or undefined.

        Return the name of the callback.
        s   traces   variableN(	   s   selfs   _masters	   _registers   callbacks   cbnames   _tks   calls   _names   mode(   s   selfs   modes   callbacks   cbname(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   trace_variable s   "c    s?      |  i i d d |  i | |   |  i i |  d S(   s   Delete the trace callback for a variable.

        MODE is one of "r", "w", "u" for read, write, undefine.
        CBNAME is the name of the callback returned from trace_variable or trace.
        s   traces   vdeleteN(   s   selfs   _tks   calls   _names   modes   cbnames   _masters   deletecommand(   s   selfs   modes   cbname(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   trace_vdelete s   "c    sA      t  |  i i |  i i |  i i d d |  i    Sd S(   s&   Return all trace callback information.s   traces   vinfoN(   s   maps   selfs   _tks   splits	   splitlists   calls   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   trace_vinfo s   (   s   __name__s
   __module__s   __doc__s   _defaults   Nones   __init__s   __del__s   __str__s   sets   trace_variables   traces   trace_vdeletes   trace_vinfo(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Variable s   		s	   StringVarc      s8    t  Z d  Z   d Z  e d  Z  d   Z RS(   s#   Value holder for strings variables.s    c    s      t  i |  |  d S(   sK   Construct a string variable.

        MASTER can be given as master widget.N(   s   Variables   __init__s   selfs   master(   s   selfs   master(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__ s   c    s       |  i i |  i  Sd S(   s#   Return value of variable as string.N(   s   selfs   _tks   globalgetvars   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   get s   (   s   __name__s
   __module__s   __doc__s   _defaults   Nones   __init__s   get(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   StringVar s   	s   IntVarc      s8    t  Z d  Z   d Z  e d  Z  d   Z RS(   s#   Value holder for integer variables.i    c    s      t  i |  |  d S(   sM   Construct an integer variable.

        MASTER can be given as master widget.N(   s   Variables   __init__s   selfs   master(   s   selfs   master(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__ s   c    s&      t  |  i i |  i   Sd S(   s/   Return the value of the variable as an integer.N(   s   getints   selfs   _tks   globalgetvars   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   get s   (   s   __name__s
   __module__s   __doc__s   _defaults   Nones   __init__s   get(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   IntVar s   	s	   DoubleVarc      s8    t  Z d  Z   d Z  e d  Z  d   Z RS(   s!   Value holder for float variables.f0.0c    s      t  i |  |  d S(   sL   Construct a float variable.

        MASTER can be given as a master widget.N(   s   Variables   __init__s   selfs   master(   s   selfs   master(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__ s   c    s&      t  |  i i |  i   Sd S(   s,   Return the value of the variable as a float.N(   s	   getdoubles   selfs   _tks   globalgetvars   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   get s   (   s   __name__s
   __module__s   __doc__s   _defaults   Nones   __init__s   get(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   DoubleVar s   	s
   BooleanVarc      s8    t  Z d  Z   d Z  e d  Z d   Z RS(   s#   Value holder for boolean variables.s   falsec    s      t  i |  |  d S(   sN   Construct a boolean variable.

        MASTER can be given as a master widget.N(   s   Variables   __init__s   selfs   master(   s   selfs   master(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__ s   c    s,   |  i i |  i i |  i   Sd S(   s+   Return the value of the variable as 0 or 1.N(   s   selfs   _tks
   getbooleans   globalgetvars   _name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   gets   (   s   __name__s
   __module__s   __doc__s   _defaults   Nones   __init__s   get(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   BooleanVar s   	c    s   t  i i |   d S(   s   Run the main loop of Tcl.N(   s   _default_roots   tks   mainloops   n(   s   n(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   mainloops   c    s   t  i i |   Sd S(   s1   Convert true and false to integer values 1 and 0.N(   s   _default_roots   tks
   getbooleans   s(   s   s(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   getbooleans   s   Miscc      s'  t  Z d  Z e Z d   Z $d   Z .e d  Z 7d   Z :d   Z	 Gd   Z
 Jd d  Z Pe Z Qe d	  Z Xe d
  Z `d d d  Z cd d  Z fe Z ge Z hd   Z kd   Z re Z sd   Z xd   Z d   Z d   Z d   Z d   Z d   Z e d  Z d   Z  d   Z! d d  Z" d   Z# d   Z$ d   Z% d   Z& d    Z' d!   Z( d"   Z) e d#  Z* e d$  Z+ d%   Z, 
d&   Z- e d'  Z. d(   Z/ d)   Z0 #d*   Z1 2d+   Z2 9d,   Z3 Dd-   Z4 Ge d.  Z* Je d/  Z5 Me5 Z6 Ne d0  Z7 Qd d1  Z8 Ud d2  Z9 Zd3   Z: ^d4   Z; cd5   Z< fd6   Z= jd d7  Z> qd8   Z? td9   Z@ xd:   ZA }d;   ZB d<   ZC d=   ZD d d>  ZE d?   ZF d@   ZG dA   ZH dB   ZI d dC  ZJ dD   ZK dE   ZL dF   ZM dG   ZN dH   ZO dI   ZP dJ   ZQ dK   ZR dL   ZS dM   ZT dN   ZU dO   ZV dP   ZW dQ   ZX dR   ZY dS   ZZ dT   Z[ dU   Z\ dV   Z] dW   Z^ dX   Z_ dY   Z` d dZ  Za d[   Zb d\   Zc d]   Zd d^   Ze d_   Zf "d`   Zg 'da   Zh +db   Zi 0dc   Zj 5dd   Zk 8de   Zl =e df  Zm Idg dh  Zn Ze e e di  Zo e dj  Zp e e e dk  Zq dl   Zr e e e dm  Zs dn   Zt d do  Zu dp   Zv dq   Zw dr   Zx ds   Zy dt   Zz e du  Z{ dv   Z| e| Z} e dg dw  Z~ e~ Z dx   Z dy dz d{ d| d} d~ d d d d d d d d d d d d d f Z d i e  Z d   Z  d   Z 'e d  Z ?e Z @d   Z Ce Z Dd   Z Fd   Z Jd   Z Nd g Z Oe d  Z [e Z \d   Z be Z dd   Z le e e e d  Z e Z d   Z h  d  Z e Z d   Z e d  Z h  d  Z e Z d   Z e Z e e d  Z d   Z d   Z d   Z e d  Z d   Z d   Z RS(   sR   Internal class.

    Base class which defines methods common for interior widgets.c    sZ   |  i t j	 o=  x' |  i D ] } "|  i i |  q& W#t |  _ n d S(   sk   Internal function.

        Delete all Tcl commands created for
        this widget in the Tcl interpreter.N(   s   selfs   _tclCommandss   Nones   names   tks   deletecommand(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   destroys    	c    sS   $')|  i i |  *y +|  i i |  Wn ,t j
 o
 -n Xd S(   sD   Internal function.

        Delete the Tcl command provided in NAME.N(   s   selfs   tks   deletecommands   names   _tclCommandss   removes
   ValueError(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   deletecommand$s   c    s/   .45|  i i |  i i d d |   Sd S(   s   Set Tcl internal variable, whether the look and feel
        should adhere to Motif.

        A parameter of 1 means adhere to Motif (e.g. no color
        change if mouse passes over slider).
        Returns the set value.s   sets   tk_strictMotifN(   s   selfs   tks
   getbooleans   calls   boolean(   s   selfs   boolean(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_strictMotif.s   c    s   789|  i i d  d S(   sD   Change the color scheme to light brown as used in Tk 3.6 and before.s	   tk_bisqueN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tk_bisque7s   c    s:   :DE|  i i d f t |  t | i     d S(   s  Set a new color scheme for all widget elements.

        A single color as argument will cause that all colors of Tk
        widget elements are derived from this.
        Alternatively several keyword parameters and its associated
        colors can be given. The following keywords are valid:
        activeBackground, foreground, selectColor,
        activeForeground, highlightBackground, selectBackground,
        background, highlightColor, selectForeground,
        disabledForeground, insertBackground, troughColor.s   tk_setPaletteN(   s   selfs   tks   calls   _flattens   argss   kws   items(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_setPalette:s   
c    s   GHId S(   s)   Do not use. Needed in Tk 3.6 and earlier.N(    (   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tk_menuBarGs   s   PY_VARc    s#   JNO|  i i d d |  d S(   s   Wait until the variable is modified.

        A parameter of type IntVar, StringVar, DoubleVar or
        BooleanVar must be given.s   tkwaits   variableN(   s   selfs   tks   calls   name(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wait_variableJs   c    sC   QTU| t j o V|  } n W|  i i d d | i  d S(   sQ   Wait until a WIDGET is destroyed.

        If no parameter is given self is used.s   tkwaits   windowN(   s   windows   Nones   selfs   tks   calls   _w(   s   selfs   window(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wait_windowQs   c    sC   X\]| t j o ^|  } n _|  i i d d | i  d S(   sx   Wait until the visibility of a WIDGET changes
        (e.g. it appears).

        If no parameter is given self is used.s   tkwaits
   visibilityN(   s   windows   Nones   selfs   tks   calls   _w(   s   selfs   window(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wait_visibilityXs   s   1c    s    `ab|  i i | |  d S(   s   Set Tcl variable NAME to VALUE.N(   s   selfs   tks   setvars   names   value(   s   selfs   names   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   setvar`s   c    s   cde|  i i |  Sd S(   s"   Return value of Tcl variable NAME.N(   s   selfs   tks   getvars   name(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   getvarcs   c    s   hij|  i i |  Sd S(   sG   Return 0 or 1 for Tcl boolean values true and false given as parameter.N(   s   selfs   tks
   getbooleans   s(   s   selfs   s(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   getbooleanhs   c    s#   kpq|  i i d |  i  d S(   s   Direct input focus to this widget.

        If the application currently does not have the focus
        this widget will get the focus if the application gets
        the focus through the window manager.s   focusN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   focus_setks   c    s&   svw|  i i d d |  i  d S(   st   Direct input focus to this widget even if the
        application does not have the focus. Use with
        caution!s   focuss   -forceN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   focus_forcess   c    sR   x~|  i i d  } | d j p | o t Sn |  i |  Sd S(   s   Return the widget which has currently the focus in the
        application.

        Use focus_displayof to allow working with several
        displays. Return None if application does not have
        the focus.s   focuss   noneN(   s   selfs   tks   calls   names   Nones   _nametowidget(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   focus_getxs
    c    s[   |  i i d d |  i  } | d j p | o t Sn |  i |  Sd S(   s   Return the widget which has currently the focus on the
        display where this widget is located.

        Return None if the application does not have the focus.s   focuss
   -displayofs   noneN(   s   selfs   tks   calls   _ws   names   Nones   _nametowidget(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   focus_displayofs
    c    s[   |  i i d d |  i  } | d j p | o t Sn |  i |  Sd S(   sy   Return the widget which would have the focus if top level
        for this widget gets the focus from the window manager.s   focuss   -lastfors   noneN(   s   selfs   tks   calls   _ws   names   Nones   _nametowidget(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   focus_lastfors
    c    s   |  i i d  d S(   sX   The widget under mouse will get automatically focus. Can not
        be disabled easily.s   tk_focusFollowsMouseN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_focusFollowsMouses   c    sK   |  i i d |  i  } | o t Sn |  i |  Sd S(   sn  Return the next widget in the focus order which follows
        widget which has currently the focus.

        The focus order first goes to the next child, then to
        the children of the child recursively and then to the
        next sibling which is higher in the stacking order.  A
        widget is omitted if it has the takefocus resource set
        to 0.s   tk_focusNextN(   s   selfs   tks   calls   _ws   names   Nones   _nametowidget(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_focusNexts
    c    sK   |  i i d |  i  } | o t Sn |  i |  Sd S(   sH   Return previous widget in the focus order. See tk_focusNext for details.s   tk_focusPrevN(   s   selfs   tks   calls   _ws   names   Nones   _nametowidget(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_focusPrevs
    c    s   | o |  i i d |  n] g  } | | |  | d  } |  i |  } | i
 |  |  i i d | |  Sd S(   s  Call function once after given time.

        MS specifies the time in milliseconds. FUNC gives the
        function which shall be called. Additional parameters
        are given as parameters to the function call.  Return
        identifier to cancel scheduling with after_cancel.s   afterc    s\   z t  |  |  Wd  y | i | d  Wn t j
 o
 n XXd  S(   Ni    (   s   applys   funcs   argss   selfs   deletecommands   tmps   TclError(   s   funcs   argss   selfs   tmp(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   callits   N(   s   funcs   selfs   tks   calls   mss   tmps   argss   callits	   _registers   names   append(   s   selfs   mss   funcs   argss   tmps   callits   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   afters   	c    s'   t  |  i d | f |  Sd S(   s   Call FUNC once if the Tcl main loop has no event to
        process.

        Return an identifier to cancel the scheduling with
        after_cancel.s   idleN(   s   applys   selfs   afters   funcs   args(   s   selfs   funcs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   after_idles   c    s#   |  i i d d |  d S(   s   Cancel scheduling of function identified with ID.

        Identifier returned by after or after_idle must be
        given as first parameter.s   afters   cancelN(   s   selfs   tks   calls   id(   s   selfs   id(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   after_cancels   i    c    s-   |  i i d f |  i |   d S(   s   Ring a display's bell.s   bellN(   s   selfs   tks   calls
   _displayofs	   displayof(   s   selfs	   displayof(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bells   c    sX   | i d  o |  i | d <n |  i i d d f |  i |   d S(   s   Clear the data in the Tk clipboard.

        A widget specified for the optional displayof keyword
        argument specifies the target display.s	   displayofs	   clipboards   clearN(   s   kws   has_keys   selfs   _ws   tks   calls   _options(   s   selfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   clipboard_clears    c    sb   | i d  o |  i | d <n |  i i d d f |  i |  d | f  d S(   s   Append STRING to the Tk clipboard.

        A widget specified at the optional displayof keyword
        argument specifies the target display. The clipboard
        can be retrieved with selection_get.s	   displayofs	   clipboards   appends   --N(   s   kws   has_keys   selfs   _ws   tks   calls   _optionss   string(   s   selfs   strings   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   clipboard_appends    c    sN   |  i i d d |  i  } | o t Sn |  i |  Sd S(   sO   Return widget which has currently the grab in this application
        or None.s   grabs   currentN(   s   selfs   tks   calls   _ws   names   Nones   _nametowidget(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grab_currents
    c    s&   |  i i d d |  i  d S(   s.   Release grab for this widget if currently set.s   grabs   releaseN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grab_releases   c    s&   |  i i d d |  i  d S(   sw   Set grab for this widget.

        A grab directs all events to this and descendant
        widgets in the application.s   grabs   setN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grab_sets   c    s)   |  i i d d d |  i  d S(   s   Set global grab for this widget.

        A global grab directs all events to this and
        descendant widgets on the display. Use with caution -
        other applications do not get events anymore.s   grabs   sets   -globalN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grab_set_globals   c    sL   |  i i d d |  i  } | d j o t } n | Sd S(   sY   Return None, "local" or "global" if this widget has
        no, a local or a global grab.s   grabs   statuss   noneN(   s   selfs   tks   calls   _ws   statuss   None(   s   selfs   status(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grab_statuss
    c    s&   |  i i d |  i |  d S(   s(   Lower this widget in the stacking order.s   lowerN(   s   selfs   tks   calls   _ws	   belowThis(   s   selfs	   belowThis(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   lowers   c    s)   |  i i d d | | |  d S(   s   Set a VALUE (second parameter) for an option
        PATTERN (first parameter).

        An optional third parameter gives the numeric priority
        (defaults to 80).s   options   addN(   s   selfs   tks   calls   patterns   values   priority(   s   selfs   patterns   values   priority(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   option_adds   c    s    	|  i i d d  d S(   sP   Clear the option database.

        It will be reloaded if option_add is called.s   options   clearN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   option_clears   c    s,   
|  i i d d |  i | |  Sd S(   s   Return the value for an option NAME for this widget
        with CLASSNAME.

        Values with higher priority override lower values.s   options   getN(   s   selfs   tks   calls   _ws   names	   className(   s   selfs   names	   className(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   option_get
s   c    s&   |  i i d d | |  d S(   sv   Read file FILENAME into the option database.

        An optional second parameter gives the numeric
        priority.s   options   readfileN(   s   selfs   tks   calls   fileNames   priority(   s   selfs   fileNames   priority(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   option_readfiles   c    sX   | i d  o |  i | d <n |  i i d d f |  i |   d S(   s   Clear the current X selection.s	   displayofs	   selections   clearN(   s   kws   has_keys   selfs   _ws   tks   calls   _options(   s   selfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_clears    c    sX    !| i d  o !|  i | d <n "|  i i d d f |  i |   Sd S(   s   Return the contents of the current X selection.

        A keyword parameter selection specifies the name of
        the selection and defaults to PRIMARY.  A keyword
        parameter displayof specifies a widget on the display
        to use.s	   displayofs	   selections   getN(   s   kws   has_keys   selfs   _ws   tks   calls   _options(   s   selfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_gets    c    sO   #./|  i |  } 0|  i i d d f |  i |  |  i | f  d S(   s  Specify a function COMMAND to call if the X
        selection owned by this widget is queried by another
        application.

        This function must return the contents of the
        selection. The function will be called with the
        arguments OFFSET and LENGTH which allows the chunking
        of very long selections. The following keyword
        parameters can be provided:
        selection - name of the selection (default PRIMARY),
        type - type of the selection (e.g. STRING, FILE_NAME).s	   selections   handleN(	   s   selfs	   _registers   commands   names   tks   calls   _optionss   kws   _w(   s   selfs   commands   kws   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_handle#s   c    s:   267|  i i d d f |  i |  |  i f  d S(   s   Become owner of X selection.

        A keyword parameter selection specifies the name of
        the selection (default PRIMARY).s	   selections   ownN(   s   selfs   tks   calls   _optionss   kws   _w(   s   selfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_own2s   c    s   9?@| i d  o @|  i | d <n A|  i i d d f |  i |   } B| o Bt Sn C|  i	 |  Sd S(   s   Return owner of X selection.

        The following keyword parameter can
        be provided:
        selection - name of the selection (default PRIMARY),
        type - type of the selection (e.g. STRING, FILE_NAME).s	   displayofs	   selections   ownN(
   s   kws   has_keys   selfs   _ws   tks   calls   _optionss   names   Nones   _nametowidget(   s   selfs   kws   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_own_get9s    ( c    s*   DEF|  i i d | | f |  Sd S(   sD   Send Tcl command CMD to different interpreter INTERP to be executed.s   sendN(   s   selfs   tks   calls   interps   cmds   args(   s   selfs   interps   cmds   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   sendDs   c    s&   GHI|  i i d |  i |  d S(   s(   Lower this widget in the stacking order.s   lowerN(   s   selfs   tks   calls   _ws	   belowThis(   s   selfs	   belowThis(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   lowerGs   c    s&   JKL|  i i d |  i |  d S(   s(   Raise this widget in the stacking order.s   raiseN(   s   selfs   tks   calls   _ws	   aboveThis(   s   selfs	   aboveThis(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tkraiseJs   c    s)   NOP|  i i d d |  i |  Sd S(   s   Useless. Not implemented in Tk.s   tks
   colormodelN(   s   selfs   tks   calls   _ws   value(   s   selfs   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   colormodelNs   c    sF   QRSd d f |  i |  | f } Tt |  i i |   Sd S(   s*   Return integer which represents atom NAME.s   winfos   atomN(   s   selfs
   _displayofs	   displayofs   names   argss   getints   tks   call(   s   selfs   names	   displayofs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   winfo_atomQs   #c    s@   UVWd d f |  i |  | f } Y|  i i |  Sd S(   s'   Return name of atom with identifier ID.s   winfos   atomnameN(   s   selfs
   _displayofs	   displayofs   ids   argss   tks   call(   s   selfs   ids	   displayofs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_atomnameUs   #c    s,   Z[\t  |  i i d d |  i   Sd S(   s7   Return number of cells in the colormap for this widget.s   winfos   cellsN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_cellsZs   c    sA   ^_`t  |  i a|  i i |  i i d d |  i    Sd S(   s?   Return a list of all widgets which are children of this widget.s   winfos   childrenN(   s   maps   selfs   _nametowidgets   tks	   splitlists   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_children^s   c    s&   cde|  i i d d |  i  Sd S(   s(   Return window class name of this widget.s   winfos   classN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_classcs   c    s2   fgh|  i i |  i i d d |  i   Sd S(   s?   Return true if at the last color request the colormap was full.s   winfos   colormapfullN(   s   selfs   tks
   getbooleans   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_colormapfullfs   c    sk   jkld d f |  i |  | | f } n|  i i |  } o| o ot	 Sn p|  i
 |  Sd S(   s@   Return the widget which is at the root coordinates ROOTX, ROOTY.s   winfos
   containingN(   s   selfs
   _displayofs	   displayofs   rootXs   rootYs   argss   tks   calls   names   Nones   _nametowidget(   s   selfs   rootXs   rootYs	   displayofs   argss   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_containingjs   & c    s,   qrst  |  i i d d |  i   Sd S(   s$   Return the number of bits per pixel.s   winfos   depthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_depthqs   c    s,   tuvt  |  i i d d |  i   Sd S(   s"   Return true if this widget exists.s   winfos   existsN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_existsts   c    s/   xz{t  |  i i d d |  i |   Sd S(   sW   Return the number of pixels for the given distance NUMBER
        (e.g. "3c") as float.s   winfos   fpixelsN(   s	   getdoubles   selfs   tks   calls   _ws   number(   s   selfs   number(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_fpixelsxs   c    s&   }~|  i i d d |  i  Sd S(   sF   Return geometry string for this widget in the form "widthxheight+X+Y".s   winfos   geometryN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_geometry}s   c    s,   t  |  i i d d |  i   Sd S(   s   Return height of this widget.s   winfos   heightN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_heights   c    s2   |  i i |  i i d d |  i   Sd S(   s%   Return identifier ID for this widget.s   winfos   idN(   s   selfs   tks   getints   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_ids   c    sE   d d f |  i |  } |  i i |  i i |   Sd S(   s9   Return the name of all Tcl interpreters for this display.s   winfos   interpsN(   s   selfs
   _displayofs	   displayofs   argss   tks	   splitlists   call(   s   selfs	   displayofs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_interpss   c    s,   t  |  i i d d |  i   Sd S(   s%   Return true if this widget is mapped.s   winfos   ismappedN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_ismappeds   c    s&   |  i i d d |  i  Sd S(   s0   Return the window mananger name for this widget.s   winfos   managerN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_managers   c    s&   |  i i d d |  i  Sd S(   s   Return the name of this widget.s   winfos   nameN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   winfo_names   c    s&   |  i i d d |  i  Sd S(   s-   Return the name of the parent of this widget.s   winfos   parentN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_parents   c    s@   d d f |  i |  | f } |  i i |  Sd S(   s.   Return the pathname of the widget given by ID.s   winfos   pathnameN(   s   selfs
   _displayofs	   displayofs   ids   argss   tks   call(   s   selfs   ids	   displayofs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_pathnames   #c    s/   t  |  i i d d |  i |   Sd S(   s'   Rounded integer value of winfo_fpixels.s   winfos   pixelsN(   s   getints   selfs   tks   calls   _ws   number(   s   selfs   number(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_pixelss   c    s,   t  |  i i d d |  i   Sd S(   s:   Return the x coordinate of the pointer on the root window.s   winfos   pointerxN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_pointerxs   c    s/   |  i |  i i d d |  i   Sd S(   sH   Return a tuple of x and y coordinates of the pointer on the root window.s   winfos	   pointerxyN(   s   selfs   _getintss   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_pointerxys   c    s,   t  |  i i d d |  i   Sd S(   s:   Return the y coordinate of the pointer on the root window.s   winfos   pointeryN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_pointerys   c    s,   t  |  i i d d |  i   Sd S(   s'   Return requested height of this widget.s   winfos	   reqheightN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_reqheights   c    s,   t  |  i i d d |  i   Sd S(   s&   Return requested width of this widget.s   winfos   reqwidthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_reqwidths   c    s2   |  i |  i i d d |  i |   Sd S(   sU   Return tuple of decimal values for red, green, blue for
        COLOR in this widget.s   winfos   rgbN(   s   selfs   _getintss   tks   calls   _ws   color(   s   selfs   color(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   winfo_rgbs   c    s,   t  |  i i d d |  i   Sd S(   sS   Return x coordinate of upper left corner of this widget on the
        root window.s   winfos   rootxN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_rootxs   c    s,   t  |  i i d d |  i   Sd S(   sS   Return y coordinate of upper left corner of this widget on the
        root window.s   winfos   rootyN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_rootys   c    s&   |  i i d d |  i  Sd S(   s&   Return the screen name of this widget.s   winfos   screenN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screens   c    s,   t  |  i i d d |  i   Sd S(   sT   Return the number of the cells in the colormap of the screen
        of this widget.s   winfos   screencellsN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screencellss   c    s,   t  |  i i d d |  i   Sd S(   s\   Return the number of bits per pixel of the root window of the
        screen of this widget.s   winfos   screendepthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screendepths   c    s,   t  |  i i d d |  i   Sd S(   sX   Return the number of pixels of the height of the screen of this widget
        in pixel.s   winfos   screenheightN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screenheights   c    s,   t  |  i i d d |  i   Sd S(   sU   Return the number of pixels of the height of the screen of
        this widget in mm.s   winfos   screenmmheightN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screenmmheights   c    s,   t  |  i i d d |  i   Sd S(   sT   Return the number of pixels of the width of the screen of
        this widget in mm.s   winfos   screenmmwidthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screenmmwidths   c    s&   |  i i d d |  i  Sd S(   s   Return one of the strings directcolor, grayscale, pseudocolor,
        staticcolor, staticgray, or truecolor for the default
        colormodel of this screen.s   winfos   screenvisualN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screenvisuals   c    s,   t  |  i i d d |  i   Sd S(   sW   Return the number of pixels of the width of the screen of
        this widget in pixel.s   winfos   screenwidthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_screenwidths   c    s&   |  i i d d |  i  Sd S(   sx   Return information of the X-Server of the screen of this widget in
        the form "XmajorRminor vendor vendorVersion".s   winfos   serverN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_servers   c    s/   |  i |  i i d d |  i   Sd S(   s*   Return the toplevel widget of this widget.s   winfos   toplevelN(   s   selfs   _nametowidgets   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_toplevels   c    s,   t  |  i i d d |  i   Sd S(   sB   Return true if the widget and all its higher ancestors are mapped.s   winfos   viewableN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_viewables   c    s&   |  i i d d |  i  Sd S(   s   Return one of the strings directcolor, grayscale, pseudocolor,
        staticcolor, staticgray, or truecolor for the
        colormodel of this widget.s   winfos   visualN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_visuals   c    s&   |  i i d d |  i  Sd S(   s7   Return the X identifier for the visual for this widget.s   winfos   visualidN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_visualids   c    s   |  i i |  i i d d |  i | o d p t   } t |  t	 j o 	|  i i |  g } n 
t
 |  i |  Sd S(   s   Return a list of all visuals available for the screen
        of this widget.

        Each item in the list consists of a visual name (see winfo_visual), a
        depth and if INCLUDEIDS=1 is given also the X identifier.s   winfos   visualsavailables
   includeidsN(   s   selfs   tks   splits   calls   _ws
   includeidss   Nones   datas   types
   StringTypes   maps   _Misc__winfo_parseitem(   s   selfs
   includeidss   data(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_visualsavailables   !c    s/   | d  t t |  i | d   Sd S(   s   Internal function.i   N(   s   ts   tuples   maps   selfs   _Misc__winfo_getint(   s   selfs   t(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __winfo_parseitems   c    s   t  | d  Sd S(   s   Internal function.i    N(   s   ints   x(   s   selfs   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __winfo_getints   c    s,   t  |  i i d d |  i   Sd S(   s   Return the height of the virtual root window associated with this
        widget in pixels. If there is no virtual root window return the
        height of the screen.s   winfos   vrootheightN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_vrootheights   c    s,   t  |  i i d d |  i   Sd S(   s   Return the width of the virtual root window associated with this
        widget in pixel. If there is no virtual root window return the
        width of the screen.s   winfos
   vrootwidthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_vrootwidths   c    s,    t  |  i i d d |  i   Sd S(   si   Return the x offset of the virtual root relative to the root
        window of the screen of this widget.s   winfos   vrootxN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_vrootxs   c    s,   "$%t  |  i i d d |  i   Sd S(   si   Return the y offset of the virtual root relative to the root
        window of the screen of this widget.s   winfos   vrootyN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_vrooty"s   c    s,   '()t  |  i i d d |  i   Sd S(   s    Return the width of this widget.s   winfos   widthN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_width's   c    s,   +-.t  |  i i d d |  i   Sd S(   sV   Return the x coordinate of the upper left corner of this widget
        in the parent.s   winfos   xN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_x+s   c    s,   023t  |  i i d d |  i   Sd S(   sV   Return the y coordinate of the upper left corner of this widget
        in the parent.s   winfos   yN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   winfo_y0s   c    s   567|  i i d  d S(   sE   Enter event loop until all pending events have been processed by Tcl.s   updateN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   update5s   c    s    8;<|  i i d d  d S(   s   Enter event loop until all idle callbacks have been called. This
        will update the display of windows but not process events caused by
        the user.s   updates	   idletasksN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   update_idletasks8s   c    s_   =CD| t j o) E|  i i |  i i d |  i   Sn H|  i i d |  i |  d S(   s,  Set or get the list of bindtags for this widget.

        With no argument return the list of all bindtags associated with
        this widget. With a list of strings as argument the bindtags are
        set to this list. The bindtags determine in which order events are
        processed (see bind).s   bindtagsN(   s   tagLists   Nones   selfs   tks	   splitlists   calls   _w(   s   selfs   tagList(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bindtags=s   )i   c    s   IJKt  |  t j o! L|  i i | | | f  n M| om N|  i | |  i	 O|  } Pd | o d p d | |  i f } T|  i i | | | f  U| SnH V| o W|  i i | | f  Sn  Y|  i i |  i i |   Sd S(   s   Internal function.s"   %sif {"[%s %s]" == "break"} break
s   +s    N(   s   types   funcs
   StringTypes   selfs   tks   calls   whats   sequences	   _registers   _substitutes   needcleanups   funcids   adds   _subst_format_strs   cmds	   splitlist(   s   selfs   whats   sequences   funcs   adds   needcleanups   cmds   funcid(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _bindIs   !
'
c    s,   Z|  i d |  i f | | |  Sd S(   sO  Bind to this widget at event SEQUENCE a call to function FUNC.

        SEQUENCE is a string of concatenated event
        patterns. An event pattern is of the form
        <MODIFIER-MODIFIER-TYPE-DETAIL> where MODIFIER is one
        of Control, Mod2, M2, Shift, Mod3, M3, Lock, Mod4, M4,
        Button1, B1, Mod5, M5 Button2, B2, Meta, M, Button3,
        B3, Alt, Button4, B4, Double, Button5, B5 Triple,
        Mod1, M1. TYPE is one of Activate, Enter, Map,
        ButtonPress, Button, Expose, Motion, ButtonRelease
        FocusIn, MouseWheel, Circulate, FocusOut, Property,
        Colormap, Gravity Reparent, Configure, KeyPress, Key,
        Unmap, Deactivate, KeyRelease Visibility, Destroy,
        Leave and DETAIL is the button number for ButtonPress,
        ButtonRelease and DETAIL is the Keysym for KeyPress and
        KeyRelease. Examples are
        <Control-Button-1> for pressing Control and mouse button 1 or
        <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
        An event pattern can also be a virtual event of the form
        <<AString>> where AString can be arbitrary. This
        event can be generated by event_generate.
        If events are concatenated they must appear shortly
        after each other.

        FUNC will be called if the event sequence occurs with an
        instance of Event as argument. If the return value of FUNC is
        "break" no further bound function is invoked.

        An additional boolean parameter ADD specifies whether FUNC will
        be called additionally to the other bound function or whether
        it will replace the previous function.

        Bind will return an identifier to allow deletion of the bound function with
        unbind without memory leak.

        If FUNC or SEQUENCE is omitted the bound function or list
        of bound events are returned.s   bindN(   s   selfs   _binds   _ws   sequences   funcs   add(   s   selfs   sequences   funcs   add(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bindZs   %c    sG   |  i i d |  i | d  | o |  i |  n d S(   sW   Unbind for this widget for event SEQUENCE  the
        function identified with FUNCID.s   binds    N(   s   selfs   tks   calls   _ws   sequences   funcids   deletecommand(   s   selfs   sequences   funcid(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   unbinds   
c    s,   |  i d d f | | | d  Sd S(   s  Bind to all widgets at an event SEQUENCE a call to function FUNC.
        An additional boolean parameter ADD specifies whether FUNC will
        be called additionally to the other bound function or whether
        it will replace the previous function. See bind for the return value.s   binds   alli    N(   s   selfs   _binds   sequences   funcs   add(   s   selfs   sequences   funcs   add(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bind_alls   c    s&   |  i i d d | d  d S(   s8   Unbind for all widgets for event SEQUENCE all functions.s   binds   alls    N(   s   selfs   tks   calls   sequence(   s   selfs   sequence(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   unbind_alls   c    s,   |  i d | f | | | d  Sd S(   s=  Bind to widgets with bindtag CLASSNAME at event
        SEQUENCE a call of function FUNC. An additional
        boolean parameter ADD specifies whether FUNC will be
        called additionally to the other bound function or
        whether it will replace the previous function. See bind for
        the return value.s   bindi    N(   s   selfs   _binds	   classNames   sequences   funcs   add(   s   selfs	   classNames   sequences   funcs   add(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   bind_classs   c    s&   |  i i d | | d  d S(   sY   Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE
        all functions.s   binds    N(   s   selfs   tks   calls	   classNames   sequence(   s   selfs	   classNames   sequence(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   unbind_classs   c    s   |  i i |  d S(   s   Call the mainloop of Tk.N(   s   selfs   tks   mainloops   n(   s   selfs   n(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   mainloops   c    s   |  i i   d S(   s8   Quit the Tcl interpreter. All widgets will be destroyed.N(   s   selfs   tks   quit(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   quits   c    s:   | o& t t t |  i i |    Sn d S(   s   Internal function.N(   s   strings   tuples   maps   getints   selfs   tks	   splitlist(   s   selfs   string(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _getintss   
c    s:   | o& t t t |  i i |    Sn d S(   s   Internal function.N(   s   strings   tuples   maps	   getdoubles   selfs   tks	   splitlist(   s   selfs   string(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _getdoubless   
c    s+   | o |  i i |  Sn d S(   s   Internal function.N(   s   strings   selfs   tks
   getboolean(   s   selfs   string(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _getbooleans   
c    sP   | o d | f Sn | t j o d |  i f Sn f  Sd S(   s   Internal function.s
   -displayofN(   s	   displayofs   Nones   selfs   _w(   s   selfs	   displayof(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   _displayofs   
c    s   | o t | | f  } n t |  } f  } x | i   D] \ } } | t j	 of | d d j o | d  } n t |  o |  i
 |  } n | d | | f } n qQ W| Sd S(   s   Internal function.is   _s   -N(   s   kws	   _cnfmerges   cnfs   ress   itemss   ks   vs   Nones   callables   selfs	   _register(   s   selfs   cnfs   kws   vs   ress   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _optionss   
	  c    s   |  } | d d j o  | i   } | d } n xx | om | i d  } | d j o% | |  | | d f \ } } n
 d } | i | } | } qI W| Sd S(   sP   Return the Tkinter instance of a widget identified by
        its Tcl name NAME.i    s   .i   s    N(   s   selfs   ws   names   _roots   finds   is   tails   children(   s   selfs   names   is   tails   w(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   nametowidgets   	 
%	c    s   t  | | |   i } t |  } y | i } Wn t	 j
 o
 n Xy | | i
 } Wn t	 j
 o
 n X|  i i | |  | o: |  i t j o g  |  _ n |  i i |  n | Sd S(   s   Return a newly created Tcl function. If this
        function is called, the Python function FUNC will
        be executed. An optional function SUBST can
        be given which will be executed before FUNC.N(   s   CallWrappers   funcs   substs   selfs   __call__s   fs   ids   names   im_funcs   AttributeErrors   __name__s   tks   createcommands   needcleanups   _tclCommandss   Nones   append(   s   selfs   funcs   substs   needcleanups   names   f(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   _registers"   
c    s>   |  } x | i o | i } q W| Sd S(   s   Internal function.N(   s   selfs   ws   master(   s   selfs   w(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _roots   	  s   %#s   %bs   %fs   %hs   %ks   %ss   %ts   %ws   %xs   %ys   %As   %Es   %Ks   %Ns   %Ws   %Ts   %Xs   %Ys   %Ds    c    s  t  |  t  |  i  j o | Sn |  i i } t } | \ } } } } } } } } } } } } } } }	 } } }
 } t   } | |  | _  | |  | _ y | |  | _ Wn t  j
 o
 n X| |  | _! | |  | _" y | |  | _# Wn" 	t$ j
 o 
| | _# n X| |  | _% | |  | _& | |  | _ | |  | _ | | _' y | |  | _( Wn t  j
 o
 n X| | _) | |  | _* | | _+ y |  i, |	  | _- Wn" t. j
 o |	 | _- n X| |  | _/ | |
  | _0 y | |  | _1 Wn" t$ j
 o d | _1 n X| f Sd S(   s   Internal function.i    N(2   s   lens   argss   selfs   _subst_formats   tks
   getbooleans   ints   getints   nsigns   bs   fs   hs   ks   ss   ts   ws   xs   ys   As   Es   Ks   Ns   Ws   Ts   Xs   Ys   Ds   Events   es   serials   nums   focuss   TclErrors   heights   keycodes   states
   ValueErrors   times   widths   chars
   send_events   keysyms
   keysym_nums   types   _nametowidgets   widgets   KeyErrors   x_roots   y_roots   delta(   s   selfs   argss   As   Es   Ds   nsigns   Ks   Ns   Ts   Ws   Ys   Xs
   getbooleans   bs   es   fs   hs   getints   ss   ts   ws   ys   xs   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _substitutesT    	B    c    s_    !"d k  } #| i | i | i f \ } } } $|  i   } %| i
 | | |  d S(   s   Internal function.N(   s   syss   exc_types	   exc_values   exc_tracebacks   excs   vals   tbs   selfs   _roots   roots   report_callback_exception(   s   selfs   syss   excs   vals   tbs   root(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _report_exception s
   $c    sV  '-/| o 0t | | f  } n 1| o 2t |  } n 3| t j oq 4h  } 5xW |  i i |  i i |  i d   D5]. } 7| d d f | d | | d d <q W8| Sn 9t
 |  t j oL :|  i i |  i i |  i d d |   } <| d d f | d Sn =|  i i |  i d f |  i |   d S(   s   Configure resources of a widget.

        The values for resources are specified as keyword
        arguments. To get an overview about
        the allowed keyword arguments call the method keys.
        s	   configurei    i   s   -N(   s   kws	   _cnfmerges   cnfs   Nones   selfs   tks   splits   calls   _ws   xs   types
   StringTypes   _options(   s   selfs   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   configure's   

	( 	,.c    s*   @AB|  i i |  i d d |  Sd S(   s4   Return the resource value for a KEY given as string.s   cgets   -N(   s   selfs   tks   calls   _ws   key(   s   selfs   key(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   cget@s   c    s    DE|  i h  | | < d  S(   N(   s   selfs	   configures   values   key(   s   selfs   keys   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __setitem__Ds   c    s>   FGHt  d   I|  i i |  i i |  i d    Sd S(   s3   Return a list of all resource names of this widget.c    s   H|  d d S(   Ni    i   (   s   x(   s   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   <lambda>Hs    s	   configureN(   s   maps   selfs   tks   splits   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   keysFs   c    s   JKL|  i Sd S(   s+   Return the window path name of this widget.N(   s   selfs   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __str__Js   s   _noarg_c    se   OUV| t i j o) W|  i |  i i d d |  i   Sn  Z|  i i d d |  i |  d S(   s  Set or get the status for propagation of geometry information.

        A boolean argument specifies whether the geometry information
        of the slaves will determine the size of this widget. If no argument
        is given the current setting will be returned.
        s   packs	   propagateN(   s   flags   Miscs   _noarg_s   selfs   _getbooleans   tks   calls   _w(   s   selfs   flag(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   pack_propagateOs   )c    sA   \^_t  |  i `|  i i |  i i d d |  i    Sd S(   sH   Return a list of all slaves of this widget
        in its packing order.s   packs   slavesN(   s   maps   selfs   _nametowidgets   tks	   splitlists   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   pack_slaves\s   c    sA   dfgt  |  i h|  i i |  i i d d |  i    Sd S(   sH   Return a list of all slaves of this widget
        in its packing order.s   places   slavesN(   s   maps   selfs   _nametowidgets   tks	   splitlists   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   place_slavesds   c    s   lwxd d |  i f } y| t j	 o
 | t j	 o z| | | f } n {| t j	 o
 | t j	 o || | | f } n }|  i t	 |  i
 i |   p t Sd S(   s  Return a tuple of integer coordinates for the bounding
        box of this widget controlled by the geometry manager grid.

        If COLUMN, ROW is given the bounding box applies from
        the cell with row and column 0 to the specified
        cell. If COL2 and ROW2 are given the bounding box
        starts at that cell.

        The returned integers specify the offset of the upper left
        corner in the master widget and the width and height.
        s   grids   bboxN(   s   selfs   _ws   argss   columns   Nones   rows   col2s   row2s   _getintss   applys   tks   call(   s   selfs   columns   rows   col2s   row2s   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   grid_bboxls   c    s  t  |  t j o | oZ | d d j o | d  } n | d  d j o d | } n | f }
 n |  i | |  }
 |
 o |  i i d | |  i
 |  } |  i i |  }	 h  } x t d t |	  d  D] } |	 | d } |	 | d } | o t } n3 d | j o t |  } n t |  } | | | <q W| Sn |  i i d | |  i
 | f |
  } t |
  d j oH | o t Sn d | j o t |  Sn t |  Sn d	 S(
   s   Internal function.is   _i   s   -s   gridi    i   s   .N(   s   types   cnfs
   StringTypes   kws   optionss   selfs   _optionss   tks   calls   commands   _ws   indexs   ress	   splitlists   wordss   dicts   ranges   lens   is   keys   values   Nones	   getdoubles   getint(   s   selfs   commands   indexs   cnfs   kws   keys   is   ress   values   wordss   optionss   dict(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _grid_configures>   	 	(  c    s#   |  i d | | |  Sd S(   s   Configure column INDEX of a grid.

        Valid resources are minsize (minimum size of the column),
        weight (how much does additional space propagate to this column)
        and pad (how much space to let additionally).s   columnconfigureN(   s   selfs   _grid_configures   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_columnconfigures   c    s<   |  i |  i i d d |  i | |   p t Sd S(   s   Return a tuple of column and row which identify the cell
        at which the pixel at position X and Y inside the master
        widget is located.s   grids   locationN(   s   selfs   _getintss   tks   calls   _ws   xs   ys   None(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_locations   c    se   | t i j o) |  i |  i i d d |  i   Sn  |  i i d d |  i |  d S(   s  Set or get the status for propagation of geometry information.

        A boolean argument specifies whether the geometry information
        of the slaves will determine the size of this widget. If no argument
        is given, the current setting will be returned.
        s   grids	   propagateN(   s   flags   Miscs   _noarg_s   selfs   _getbooleans   tks   calls   _w(   s   selfs   flag(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_propagates   )c    s#   |  i d | | |  Sd S(   s   Configure row INDEX of a grid.

        Valid resources are minsize (minimum size of the row),
        weight (how much does additional space propagate to this row)
        and pad (how much space to let additionally).s   rowconfigureN(   s   selfs   _grid_configures   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_rowconfigures   c    s6   |  i |  i i d d |  i   p t Sd S(   s<   Return a tuple of the number of column and rows in the grid.s   grids   sizeN(   s   selfs   _getintss   tks   calls   _ws   None(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   grid_sizes   c    s   f  } | t j	 o | d | f } n | t j	 o | d | f } n t |  i |  i i |  i i	 d d |  i
 f |    Sd S(   sH   Return a list of all slaves of this widget
        in its packing order.s   -rows   -columns   grids   slavesN(   s   argss   rows   Nones   columns   maps   selfs   _nametowidgets   tks	   splitlists   calls   _w(   s   selfs   rows   columns   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_slavess   	c    s3   d d | f | } |  i i |  d S(   s   Bind a virtual event VIRTUAL (of the form <<Name>>)
        to an event SEQUENCE such that the virtual event is triggered
        whenever SEQUENCE occurs.s   events   addN(   s   virtuals	   sequencess   argss   selfs   tks   call(   s   selfs   virtuals	   sequencess   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   event_adds   c    s3   d d | f | } |  i i |  d S(   s-   Unbind a virtual event VIRTUAL from SEQUENCE.s   events   deleteN(   s   virtuals	   sequencess   argss   selfs   tks   call(   s   selfs   virtuals	   sequencess   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   event_deletes   c    su   d d |  i | f } x: | i   D]) \ } } | d | t |  f } q. W|  i	 i
 |  d S(   s   Generate an event SEQUENCE. Additional
        keyword arguments specify parameter of the event
        (e.g. x, y, rootx, rooty).s   events   generates   -%sN(   s   selfs   _ws   sequences   argss   kws   itemss   ks   vs   strs   tks   call(   s   selfs   sequences   kws   vs   argss   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   event_generates    !c    s/   |  i i |  i i d d |   Sd S(   su   Return a list of all virtual events or the information
        about the SEQUENCE bound to the virtual event VIRTUAL.s   events   infoN(   s   selfs   tks	   splitlists   calls   virtual(   s   selfs   virtual(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   event_infos   c    s    |  i i d d  Sd S(   s*   Return a list of all existing image names.s   images   namesN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_namess   c    s    |  i i d d  Sd S(   s?   Return a list of all available image types (e.g. phote bitmap).s   images   typesN(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_typess   (   s   __name__s
   __module__s   __doc__s   Nones   _tclCommandss   destroys   deletecommands   tk_strictMotifs	   tk_bisques   tk_setPalettes
   tk_menuBars   wait_variables   waitvars   wait_windows   wait_visibilitys   setvars   getvars   ints   getints   floats	   getdoubles
   getbooleans	   focus_sets   focuss   focus_forces	   focus_gets   focus_displayofs   focus_lastfors   tk_focusFollowsMouses   tk_focusNexts   tk_focusPrevs   afters
   after_idles   after_cancels   bells   clipboard_clears   clipboard_appends   grab_currents   grab_releases   grab_sets   grab_set_globals   grab_statuss   lowers
   option_adds   option_clears
   option_gets   option_readfiles   selection_clears   selection_gets   selection_handles   selection_owns   selection_own_gets   sends   tkraises   lifts
   colormodels
   winfo_atoms   winfo_atomnames   winfo_cellss   winfo_childrens   winfo_classs   winfo_colormapfulls   winfo_containings   winfo_depths   winfo_existss   winfo_fpixelss   winfo_geometrys   winfo_heights   winfo_ids   winfo_interpss   winfo_ismappeds   winfo_managers
   winfo_names   winfo_parents   winfo_pathnames   winfo_pixelss   winfo_pointerxs   winfo_pointerxys   winfo_pointerys   winfo_reqheights   winfo_reqwidths	   winfo_rgbs   winfo_rootxs   winfo_rootys   winfo_screens   winfo_screencellss   winfo_screendepths   winfo_screenheights   winfo_screenmmheights   winfo_screenmmwidths   winfo_screenvisuals   winfo_screenwidths   winfo_servers   winfo_toplevels   winfo_viewables   winfo_visuals   winfo_visualids   winfo_visualsavailables   _Misc__winfo_parseitems   _Misc__winfo_getints   winfo_vrootheights   winfo_vrootwidths   winfo_vrootxs   winfo_vrootys   winfo_widths   winfo_xs   winfo_ys   updates   update_idletaskss   bindtagss   _binds   binds   unbinds   bind_alls
   unbind_alls
   bind_classs   unbind_classs   mainloops   quits   _getintss   _getdoubless   _getbooleans
   _displayofs   _optionss   nametowidgets   _nametowidgets	   _registers   registers   _roots   _subst_formats   joins   _subst_format_strs   _substitutes   _report_exceptions	   configures   configs   cgets   __getitem__s   __setitem__s   keyss   __str__s   _noarg_s   pack_propagates	   propagates   pack_slavess   slavess   place_slavess	   grid_bboxs   bboxs   _grid_configures   grid_columnconfigures   columnconfigures   grid_locations   grid_propagates   grid_rowconfigures   rowconfigures	   grid_sizes   sizes   grid_slavess	   event_adds   event_deletes   event_generates
   event_infos   image_namess   image_types(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Miscs@  	

					

		(
		B)					"				s   CallWrapperc      s,   t  Z d  Z d   Z d   Z RS(   sw   Internal class. Stores function to call when some user
    defined Tcl function is called e.g. after an event occurred.c    s.   | |  _  | |  _ | |  _ d S(   s(   Store FUNC, SUBST and WIDGET as members.N(   s   funcs   selfs   substs   widget(   s   selfs   funcs   substs   widget(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   c    s   	y= 
|  i o t |  i |  } n t |  i |  SWn= t j
 o } t |  n |  i i   n Xd S(   s3   Apply first function SUBST to arguments, than FUNC.N(	   s   selfs   substs   applys   argss   funcs
   SystemExits   msgs   widgets   _report_exception(   s   selfs   argss   msg(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __call__s   (   s   __name__s
   __module__s   __doc__s   __init__s   __call__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   CallWrappers   s   Wmc      s  t  Z d  Z e e e e d  Z e Z  e d  Z $e Z %d   Z -e Z	 .e d  Z
 3e
 Z 4d   Z 8e Z 9e d  Z >e Z ?d   Z Be Z Ce d  Z Ge Z He e e e d	  Z Re Z Se d
  Z We Z Xe d  Z \e Z ]d   Z `e Z ae d  Z ee Z fe d  Z je Z ke e d  Z  pe  Z! qe d  Z" ue" Z# ve e d  Z$ |e$ Z% }e e d  Z& e& Z' e d  Z( e( Z) e d  Z* e* Z+ e e d  Z, e, Z- e e d  Z. e. Z/ e d  Z0 e0 Z1 e d  Z2 e2 Z3 e d  Z4 e4 Z5 e d  Z6 e6 Z7 d   Z8 e8 Z9 RS(   sA   Provides functions for the communication with the window manager.c  	  sA   |  i |  i i d d |  i | | | |   Sd S(   s   Instruct the window manager to set the aspect ratio (width/height)
        of this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. Return a tuple
        of the actual values if no argument is given.s   wms   aspectN(	   s   selfs   _getintss   tks   calls   _ws   minNumers   minDenoms   maxNumers   maxDenom(   s   selfs   minNumers   minDenoms   maxNumers   maxDenom(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   wm_aspects   	c    s)    "#|  i i d d |  i |  Sd S(   sV   Store NAME in WM_CLIENT_MACHINE property of this widget. Return
        current value.s   wms   clientN(   s   selfs   tks   calls   _ws   name(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   wm_client s   c    sh   %()t  |  d j o *| f } n +d d |  i f | } ,t |  i |  i i |   Sd S(   s   Store list of window names (WLIST) into WM_COLORMAPWINDOWS property
        of this widget. This list contains windows whose colormaps differ from their
        parents. Return current list of widgets if WLIST is empty.i   s   wms   colormapwindowsN(	   s   lens   wlists   selfs   _ws   argss   maps   _nametowidgets   tks   call(   s   selfs   wlists   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_colormapwindows%s
   c    s)   .12|  i i d d |  i |  Sd S(   s   Store VALUE in WM_COMMAND property. It is the command
        which shall be used to invoke the application. Return current
        command if VALUE is None.s   wms   commandN(   s   selfs   tks   calls   _ws   value(   s   selfs   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   wm_command.s   c    s&   467|  i i d d |  i  Sd S(   s   Deiconify this widget. If it was never mapped it will not be mapped.
        On Windows it will raise this widget and give it the focus.s   wms	   deiconifyN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_deiconify4s   c    s)   9<=|  i i d d |  i |  Sd S(   s   Set focus model to MODEL. "active" means that this widget will claim
        the focus itself, "passive" means that the window manager shall give
        the focus. Return current focus model if MODEL is None.s   wms
   focusmodelN(   s   selfs   tks   calls   _ws   model(   s   selfs   model(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_focusmodel9s   c    s&   ?@A|  i i d d |  i  Sd S(   sA   Return identifier for decorative frame of this widget if present.s   wms   frameN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_frame?s   c    s)   CEF|  i i d d |  i |  Sd S(   si   Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
        current value if None is given.s   wms   geometryN(   s   selfs   tks   calls   _ws   newGeometry(   s   selfs   newGeometry(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_geometryCs   c  	  s>   HNO|  i |  i i d d |  i Q| | | |   Sd S(   s  Instruct the window manager that this widget shall only be
        resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and
        height of a grid unit in pixels. BASEWIDTH and BASEHEIGHT are the
        number of grid units requested in Tk_GeometryRequest.s   wms   gridN(	   s   selfs   _getintss   tks   calls   _ws	   baseWidths
   baseHeights   widthIncs	   heightInc(   s   selfs	   baseWidths
   baseHeights   widthIncs	   heightInc(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_gridHs   c    s)   SUV|  i i d d |  i |  Sd S(   s~   Set the group leader widgets for related widgets to PATHNAME. Return
        the group leader of this widget if None is given.s   wms   groupN(   s   selfs   tks   calls   _ws   pathName(   s   selfs   pathName(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_groupSs   c    s)   XZ[|  i i d d |  i |  Sd S(   sZ   Set bitmap for the iconified widget to BITMAP. Return
        the bitmap if None is given.s   wms
   iconbitmapN(   s   selfs   tks   calls   _ws   bitmap(   s   selfs   bitmap(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_iconbitmapXs   c    s&   ]^_|  i i d d |  i  Sd S(   s   Display widget as icon.s   wms   iconifyN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   wm_iconify]s   c    s)   acd|  i i d d |  i |  Sd S(   sV   Set mask for the icon bitmap of this widget. Return the
        mask if None is given.s   wms   iconmaskN(   s   selfs   tks   calls   _ws   bitmap(   s   selfs   bitmap(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_iconmaskas   c    s)   fhi|  i i d d |  i |  Sd S(   sS   Set the name of the icon for this widget. Return the name if
        None is given.s   wms   iconnameN(   s   selfs   tks   calls   _ws   newName(   s   selfs   newName(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_iconnamefs   c    s5   kmn|  i |  i i d d |  i | |   Sd S(   s   Set the position of the icon of this widget to X and Y. Return
        a tuple of the current values of X and X if None is given.s   wms   iconpositionN(   s   selfs   _getintss   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_iconpositionks   c    s)   qst|  i i d d |  i |  Sd S(   sg   Set widget PATHNAME to be displayed instead of icon. Return the current
        value if None is given.s   wms
   iconwindowN(   s   selfs   tks   calls   _ws   pathName(   s   selfs   pathName(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_iconwindowqs   c    s5   vyz|  i |  i i d d |  i | |   Sd S(   s   Set max WIDTH and HEIGHT for this widget. If the window is gridded
        the values are given in grid units. Return the current values if None
        is given.s   wms   maxsizeN(   s   selfs   _getintss   tks   calls   _ws   widths   height(   s   selfs   widths   height(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   wm_maxsizevs   c    s5   }|  i |  i i d d |  i | |   Sd S(   s   Set min WIDTH and HEIGHT for this widget. If the window is gridded
        the values are given in grid units. Return the current values if None
        is given.s   wms   minsizeN(   s   selfs   _getintss   tks   calls   _ws   widths   height(   s   selfs   widths   height(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   wm_minsize}s   c    s2   |  i |  i i d d |  i |   Sd S(   s   Instruct the window manager to ignore this widget
        if BOOLEAN is given with 1. Return the current value if None
        is given.s   wms   overrideredirectN(   s   selfs   _getbooleans   tks   calls   _ws   boolean(   s   selfs   boolean(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_overrideredirects   c    s)   |  i i d d |  i |  Sd S(   s   Instruct the window manager that the position of this widget shall
        be defined by the user if WHO is "user", and by its own policy if WHO is
        "program".s   wms   positionfromN(   s   selfs   tks   calls   _ws   who(   s   selfs   who(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_positionfroms   c    s[   t  |  o |  i |  } n
 | } |  i i d d |  i | |  Sd S(   s   Bind function FUNC to command NAME for this widget.
        Return the function bound to NAME if None is given. NAME could be
        e.g. "WM_SAVE_YOURSELF" or "WM_DELETE_WINDOW".s   wms   protocolN(	   s   callables   funcs   selfs	   _registers   commands   tks   calls   _ws   name(   s   selfs   names   funcs   command(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_protocols
   	c    s,   |  i i d d |  i | |  Sd S(   sy   Instruct the window manager whether this width can be resized
        in WIDTH or HEIGHT. Both values are boolean values.s   wms	   resizableN(   s   selfs   tks   calls   _ws   widths   height(   s   selfs   widths   height(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_resizables   c    s)   |  i i d d |  i |  Sd S(   s   Instruct the window manager that the size of this widget shall
        be defined by the user if WHO is "user", and by its own policy if WHO is
        "program".s   wms   sizefromN(   s   selfs   tks   calls   _ws   who(   s   selfs   who(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_sizefroms   c    s)   |  i i d d |  i |  Sd S(   s   Query or set the state of this widget as one of normal, icon,
        iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).s   wms   stateN(   s   selfs   tks   calls   _ws   newstate(   s   selfs   newstate(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_states   c    s)   |  i i d d |  i |  Sd S(   s   Set the title of this widget.s   wms   titleN(   s   selfs   tks   calls   _ws   string(   s   selfs   string(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_titles   c    s)   |  i i d d |  i |  Sd S(   s_   Instruct the window manager that this widget is transient
        with regard to widget MASTER.s   wms	   transientN(   s   selfs   tks   calls   _ws   master(   s   selfs   master(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_transients   c    s&   |  i i d d |  i  Sd S(   s   Withdraw this widget from the screen such that it is unmapped
        and forgotten by the window manager. Re-draw it with wm_deiconify.s   wms   withdrawN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   wm_withdraws   (:   s   __name__s
   __module__s   __doc__s   Nones	   wm_aspects   aspects	   wm_clients   clients   wm_colormapwindowss   colormapwindowss
   wm_commands   commands   wm_deiconifys	   deiconifys   wm_focusmodels
   focusmodels   wm_frames   frames   wm_geometrys   geometrys   wm_grids   grids   wm_groups   groups   wm_iconbitmaps
   iconbitmaps
   wm_iconifys   iconifys   wm_iconmasks   iconmasks   wm_iconnames   iconnames   wm_iconpositions   iconpositions   wm_iconwindows
   iconwindows
   wm_maxsizes   maxsizes
   wm_minsizes   minsizes   wm_overrideredirects   overrideredirects   wm_positionfroms   positionfroms   wm_protocols   protocols   wm_resizables	   resizables   wm_sizefroms   sizefroms   wm_states   states   wm_titles   titles   wm_transients	   transients   wm_withdraws   withdraw(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Wmsn   
								
												
						s   Tkc      sV   t  Z d  Z d Z e e d d  Z d   Z d   Z 	d   Z RS(   sy   Toplevel widget of Tk which represents mostly the main window
    of an appliation. It has an associated Tcl interpreter.s   .s   Tkc 	   s0  t  |  _ h  |  _ | t  j oz d k } d k } | i i | i	 d  } | i i
 |  \ } } | d d d f j o | | } n n t i | | |  |  _ t o t t d  o$ t i d d  |  i   n |  i i d  } | t i j o t d	 t i | f  n |  i i d
  } | t i j o t d t i | f  n t d j  o t d t t   n |  i i d t  |  i i d t  |  i  | |  t! o t" o |  a" n |  i# d |  i$  d S(   s@  Return a new Toplevel widget on screen SCREENNAME. A new Tcl interpreter will
        be created. BASENAME will be used for the identification of the profile file (see
        readprofile).
        It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME
        is the name of the widget class.Ni    s   .pys   .pycs   .pyos   SchedParamsi   s
   tk_versions4   tk.h version (%s) doesn't match libtk.a version (%s)s   tcl_versions6   tcl.h version (%s) doesn't match libtcl.a version (%s)f4.0s)   Tk 4.0 or higher is required; found Tk %ss   tkerrors   exits   WM_DELETE_WINDOW(%   s   Nones   selfs   masters   childrens   baseNames   syss   oss   paths   basenames   argvs   splitexts   exts   _tkinters   creates
   screenNames	   classNames   tks   _MacOSs   hasattrs   SchedParamss   updates   getvars
   tk_versions
   TK_VERSIONs   RuntimeErrors   tcl_versions   TCL_VERSIONs	   TkVersions   strs   createcommands   _tkerrors   _exits   readprofiles   _support_default_roots   _default_roots   protocols   destroy(	   s   selfs
   screenNames   baseNames	   classNames   syss
   tk_versions   exts   tcl_versions   os(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s8   c    s   x' |  i i   D] } | i   q W|  i i d |  i  t i |   t	 o
 t
 |  j o t a
 n d S(   sh   Destroy this and all descendants widgets. This will
        end the application of this Tcl interpreter.s   destroyN(   s   selfs   childrens   valuess   cs   destroys   tks   calls   _ws   Miscs   _support_default_roots   _default_roots   None(   s   selfs   c(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   destroys    	 c 
   s  d k  } | i i d  o | i d } n | i } | i i | d |  } | i i | d |  } | i i | d |  } | i i | d |  } h  |  d <}	  d |	 U| i i |  o |  i i d |  n | i i |  o e | |	  n | i i |  o |  i i d |  n | i i |  o e | |	  n d S(   s   Internal function. It reads BASENAME.tcl and CLASSNAME.tcl into
        the Tcl Interpreter and calls execfile on BASENAME.py and CLASSNAME.py if
        such a file exists in the home directory.Ns   HOMEs   .%s.tcls   .%s.pys   selfs   from Tkinter import *s   source(   s   oss   environs   has_keys   homes   curdirs   paths   joins	   classNames	   class_tcls   class_pys   baseNames   base_tcls   base_pys   selfs   dirs   isfiles   tks   calls   execfile(
   s   selfs   baseNames	   classNames   base_tcls   base_pys   class_pys	   class_tcls   homes   oss   dir(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   readprofiles&    c    sl   	
d k  } d k } | i i d  | | _ | | _ | | _	 | i
 | | |  d S(   s6   Internal function. It reports exception on sys.stderr.Ns   Exception in Tkinter callback
(   s	   tracebacks   syss   stderrs   writes   excs	   last_types   vals
   last_values   tbs   last_tracebacks   print_exception(   s   selfs   excs   vals   tbs   syss	   traceback(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   report_callback_exception	s   (	   s   __name__s
   __module__s   __doc__s   _ws   Nones   __init__s   destroys   readprofiles   report_callback_exception(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Tks   	+	s   Packc      s~    t  Z d  Z #$h  d  Z 6e Z Z Z 7d   Z :e Z ;d   Z	 He	 Z
 Ie i Z Z Je i Z Z RS(   sQ   Geometry manager Pack.

    Base class to use the methods pack_* in every widget.c    s9   $23|  i i d d |  i f |  i | |   d S(   s  Pack a widget in the parent widget. Use as options:
        after=widget - pack it after you have packed widget
        anchor=NSEW (or subset) - position widget according to
                                  given direction
                before=widget - pack it before you will pack widget
        expand=1 or 0 - expand widget if parent size grows
        fill=NONE or X or Y or BOTH - fill widget if widget grows
        in=master - use master to contain this widget
        ipadx=amount - add internal padding in x direction
        ipady=amount - add internal padding in y direction
        padx=amount - add padding in x direction
        pady=amount - add padding in y direction
        side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.
        s   packs	   configureN(   s   selfs   tks   calls   _ws   _optionss   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   pack_configure$s   c    s&   789|  i i d d |  i  d S(   s:   Unmap this widget and do not use it for the packing order.s   packs   forgetN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   pack_forget7s   c    s   ;=>|  i i |  i i d d |  i   } @h  } Ax| t d t |  d  DA]_ } B| | d } C| | d } D| d  d j o E|  i |  } n F| | | <qU WG| Sd S(   sE   Return information about the packing options
        for this widget.s   packs   infoi    i   i   s   .N(   s   selfs   tks	   splitlists   calls   _ws   wordss   dicts   ranges   lens   is   keys   values   _nametowidget(   s   selfs   values   dicts   keys   wordss   i(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   pack_info;s   *	 	(   s   __name__s
   __module__s   __doc__s   pack_configures   packs	   configures   configs   pack_forgets   forgets	   pack_infos   infos   Miscs   pack_propagates	   propagates   pack_slavess   slaves(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Pack s   		s   Placec      sn   Lt  Z d  Z OPh  d  Z le Z Z Z md   Z pe Z qd   Z	 ~e	 Z
 e i Z Z RS(   sS   Geometry manager Place.

    Base class to use the methods place_* in every widget.c    s   PdexJ d g De]< } f| i |  o# g| | | | d  <h| | =n q Wi|  i i d d |  i f |  i | |   d S(   s  Place a widget in the parent widget. Use as options:
        in=master - master relative to which the widget is placed.
        x=amount - locate anchor of this widget at position x of master
        y=amount - locate anchor of this widget at position y of master
        relx=amount - locate anchor of this widget between 0.0 and 1.0
                      relative to width of master (1.0 is right edge)
            rely=amount - locate anchor of this widget between 0.0 and 1.0
                      relative to height of master (1.0 is bottom edge)
            anchor=NSEW (or subset) - position anchor according to given direction
        width=amount - width of this widget in pixel
        height=amount - height of this widget in pixel
        relwidth=amount - width of this widget between 0.0 and 1.0
                          relative to width of master (1.0 is the same width
                  as the master)
            relheight=amount - height of this widget between 0.0 and 1.0
                           relative to height of master (1.0 is the same
                   height as the master)
            bordermode="inside" or "outside" - whether to take border width of master widget
                                               into account
            s   in_is   places	   configureN(	   s   ks   kws   has_keys   selfs   tks   calls   _ws   _optionss   cnf(   s   selfs   cnfs   kws   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   place_configurePs    	c    s&   mno|  i i d d |  i  d S(   s   Unmap this widget.s   places   forgetN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   place_forgetms   c    s   qst|  i i |  i i d d |  i   } vh  } wx| t d t |  d  Dw]_ } x| | d } y| | d } z| d  d j o {|  i |  } n || | | <qU W}| Sd S(   sE   Return information about the placing options
        for this widget.s   places   infoi    i   i   s   .N(   s   selfs   tks	   splitlists   calls   _ws   wordss   dicts   ranges   lens   is   keys   values   _nametowidget(   s   selfs   values   dicts   keys   wordss   i(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   place_infoqs   *	 	(   s   __name__s
   __module__s   __doc__s   place_configures   places	   configures   configs   place_forgets   forgets
   place_infos   infos   Miscs   place_slavess   slaves(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   PlaceLs   		s   Gridc      s   t  Z d  Z h  d  Z e Z Z Z e i Z	 Z e i
 Z Z
 d   Z e Z d   Z d   Z e Z e i Z Z e i Z Z e i Z Z e i Z Z e i Z Z RS(   sQ   Geometry manager Grid.

    Base class to use the methods grid_* in every widget.c    s9   |  i i d d |  i f |  i | |   d S(   s  Position a widget in the parent widget in a grid. Use as options:
        column=number - use cell identified with given column (starting with 0)
        columnspan=number - this widget will span several columns
        in=master - use master to contain this widget
        ipadx=amount - add internal padding in x direction
        ipady=amount - add internal padding in y direction
        padx=amount - add padding in x direction
        pady=amount - add padding in y direction
        row=number - use cell identified with given row (starting with 0)
        rowspan=number - this widget will span several rows
        sticky=NSEW - if cell is larger on which sides will this
                      widget stick to the cell boundary
        s   grids	   configureN(   s   selfs   tks   calls   _ws   _optionss   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_configures   c    s&   |  i i d d |  i  d S(   s   Unmap this widget.s   grids   forgetN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_forgets   c    s&   |  i i d d |  i  d S(   s0   Unmap this widget but remember the grid options.s   grids   removeN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   grid_removes   c    s   |  i i |  i i d d |  i   } h  } x| t d t |  d  D]_ } | | d } | | d } | d  d j o |  i |  } n | | | <qU W| Sd S(   sS   Return information about the options
        for positioning this widget in a grid.s   grids   infoi    i   i   s   .N(   s   selfs   tks	   splitlists   calls   _ws   wordss   dicts   ranges   lens   is   keys   values   _nametowidget(   s   selfs   values   dicts   keys   wordss   i(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   grid_infos   *	 	(   s   __name__s
   __module__s   __doc__s   grid_configures   grids	   configures   configs   Miscs	   grid_bboxs   bboxs   grid_columnconfigures   columnconfigures   grid_forgets   forgets   grid_removes	   grid_infos   infos   grid_locations   locations   grid_propagates	   propagates   grid_rowconfigures   rowconfigures	   grid_sizes   sizes   grid_slavess   slaves(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Grids   		s
   BaseWidgetc      sP   t  Z d  Z d   Z h  h  f  d  Z d   Z f  d  Z RS(   s   Internal class.c    se  t  o: | o( t o t   a n t } n n | |  _ | i |  _ t } | i	 d  o | d } | d =n | o t
 |   } n | |  _ | i d j o d | |  _ n | i d | |  _ h  |  _ |  i i i	 |  i  o |  i i |  i i   n |  |  i i |  i <d S(   s6   Internal function. Sets up information about children.s   names   .N(   s   _support_default_roots   masters   _default_roots   Tks   selfs   tks   Nones   names   cnfs   has_keys   ids   _names   _ws   childrens   destroy(   s   selfs   masters   cnfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _setups.   
	c 	   s  | o t | | f  } n | |  _ t i |  | |  g  } xU | i	   D]D } t |  t j o( | i | | | f  | | =n qd W|  i i | |  i f | |  i |   x* | D] \ } } | i |  |  q Wd S(   sd   Construct a widget with the parent widget MASTER, a name WIDGETNAME
        and appropriate options.N(   s   kws	   _cnfmerges   cnfs
   widgetNames   selfs
   BaseWidgets   _setups   masters   classess   keyss   ks   types	   ClassTypes   appends   tks   calls   _ws   extras   _optionss   vs	   configure(	   s   selfs   masters
   widgetNames   cnfs   kws   extras   classess   vs   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   
	 	-
 c    s   x' |  i i   D] } | i   q W|  i i i |  i  o |  i i |  i =n |  i i	 d |  i
  t i |   d S(   s)   Destroy this and all descendants widgets.s   destroyN(   s   selfs   childrens   valuess   cs   destroys   masters   has_keys   _names   tks   calls   _ws   Misc(   s   selfs   c(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   destroys    	 c    s'   |  i i |  i | f |  Sd  S(   N(   s   selfs   tks   calls   _ws   names   args(   s   selfs   names   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _dos   (   s   __name__s
   __module__s   __doc__s   _setups   __init__s   destroys   _do(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   BaseWidgets
   s   Widgetc      s   t  Z d  Z RS(   sx   Internal class.

    Base class for a widget which can be positioned with the geometry managers
    Pack, Place or Grid.(   s   __name__s
   __module__s   __doc__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Widgets   s   Toplevelc      s&   t  Z d  Z e h  d  Z RS(   s"   Toplevel widget, e.g. for dialogs.c 	   sC  | o t | | f  } n f  } x d d d d d g D]} }  | i |  od | | } | d d j o d | d  } n d | } | | | f } | | =n qK Wt i	 |  | d	 | h  |  	|  i   } 
|  i | i    |  i | i    |  i d
 |  i  d S(   s%  Construct a toplevel widget with the parent MASTER.

        Valid resource names: background, bd, bg, borderwidth, class,
        colormap, container, cursor, height, highlightbackground,
        highlightcolor, highlightthickness, menu, relief, screen, takefocus,
        use, visual, width.s   screens   class_s   classs   visuals   colormapis   _s   -s   toplevels   WM_DELETE_WINDOWN(   s   kws	   _cnfmerges   cnfs   extras   wmkeys   has_keys   vals   opts
   BaseWidgets   __init__s   selfs   masters   _roots   roots   iconnames   titles   protocols   destroy(	   s   selfs   masters   cnfs   kws   opts   vals   extras   wmkeys   root(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s$   
	 	 (   s   __name__s
   __module__s   __doc__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Toplevels   s   Buttonc      sz   t  Z d  Z e h  d  Z d   Z d   Z d   Z  d   Z "d   Z	 $d   Z
 &d   Z RS(	   s   Button widget.c    s&   t  i |  | d | |  d S(   s  Construct a button widget with the parent MASTER.

        Valid resource names: activebackground, activeforeground, anchor,
        background, bd, bg, bitmap, borderwidth, command, cursor, default,
        disabledforeground, fg, font, foreground, height,
        highlightbackground, highlightcolor, highlightthickness, image,
        justify, padx, pady, relief, state, takefocus, text, textvariable,
        underline, width, wraplength.s   buttonN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   c    s    |  i i d |  i  d  S(   Ns   tkButtonEnter(   s   selfs   tks   calls   _w(   s   selfs   dummy(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tkButtonEnters   c    s    |  i i d |  i  d  S(   Ns   tkButtonLeave(   s   selfs   tks   calls   _w(   s   selfs   dummy(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tkButtonLeaves   c    s    |  i i d |  i  d  S(   Ns   tkButtonDown(   s   selfs   tks   calls   _w(   s   selfs   dummy(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tkButtonDowns   c    s     !|  i i d |  i  d  S(   Ns
   tkButtonUp(   s   selfs   tks   calls   _w(   s   selfs   dummy(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tkButtonUp s   c    s    "#|  i i d |  i  d  S(   Ns   tkButtonInvoke(   s   selfs   tks   calls   _w(   s   selfs   dummy(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tkButtonInvoke"s   c    s    $%|  i i |  i d  d  S(   Ns   flash(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   flash$s   c    s    &'|  i i |  i d  Sd  S(   Ns   invoke(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   invoke&s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__s   tkButtonEnters   tkButtonLeaves   tkButtonDowns
   tkButtonUps   tkButtonInvokes   flashs   invoke(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Buttons   
c      s   +,d Sd  S(   Ns   end(    (    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   AtEnd+s   c     sM   -.d } /x0 |  D/]% } 0| o 0| d | } n q W1| Sd  S(   Ns   inserts    (   s   ss   argss   a(   s   argss   as   s(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   AtInsert-s   	
 	
 c      s   23d Sd  S(   Ns	   sel.first(    (    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   AtSelFirst2s   c      s   45d Sd  S(   Ns   sel.last(    (    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   AtSelLast4s   c    s<   67| t j o 8d |  Sn :d |  d | Sd  S(   Ns   @s   ,(   s   ys   Nones   x(   s   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   At6s   s   Canvasc      sE  <t  Z d  Z =>e h  d  Z Id   Z Ld   Z Od   Z Rd   Z Ue e d  Z	 [d   Z
 _d   Z cd	   Z fd
   Z ke d  Z qe e e d  Z ye d  Z ~e d  Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z  d   Z! d   Z" d    Z# e e d!  Z$ d"   Z% d#   Z& d$   Z' d%   Z( d&   Z) d'   Z* d(   Z+ d)   Z, d*   Z- e d+  Z. e. Z/ d,   Z0 e0 Z1 d-   Z2 h  d.  Z3 d/   Z4 e4 Z5 Z6 d0   Z7 d1   Z8 "d2   Z9 'd3   Z: *d4   Z; -d5   Z< 0d6   Z= 3d7   Z> 6d8   Z? 9d9   Z@ >d:   ZA Bd;   ZB Ed<   ZC Jd=   ZD Nd>   ZE RS(?   s?   Canvas widget to display graphical elements like lines or text.c    s&   >GHt  i |  | d | |  d S(   s  Construct a canvas widget with the parent MASTER.

        Valid resource names: background, bd, bg, borderwidth, closeenough,
        confine, cursor, height, highlightbackground, highlightcolor,
        highlightthickness, insertbackground, insertborderwidth,
        insertofftime, insertontime, insertwidth, offset, relief,
        scrollregion, selectbackground, selectborderwidth, selectforeground,
        state, takefocus, width, xscrollcommand, xscrollincrement,
        yscrollcommand, yscrollincrement.s   canvasN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__>s   	c    s*   IJK|  i i |  i d f |  d S(   s   Internal function.s   addtagN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtagIs   c    s    LMN|  i | d |  d S(   s*   Add tag NEWTAG to all items above TAGORID.s   aboveN(   s   selfs   addtags   newtags   tagOrId(   s   selfs   newtags   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtag_aboveLs   c    s   OPQ|  i | d  d S(   s   Add tag NEWTAG to all items.s   allN(   s   selfs   addtags   newtag(   s   selfs   newtag(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   addtag_allOs   c    s    RST|  i | d |  d S(   s*   Add tag NEWTAG to all items below TAGORID.s   belowN(   s   selfs   addtags   newtags   tagOrId(   s   selfs   newtags   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtag_belowRs   c    s)   UYZ|  i | d | | | |  d S(   s   Add tag NEWTAG to item which is closest to pixel at X, Y.
        If several match take the top-most.
        All items closer than HALO are considered overlapping (all are
        closests). If START is specified the next below this tag is taken.s   closestN(   s   selfs   addtags   newtags   xs   ys   halos   start(   s   selfs   newtags   xs   ys   halos   start(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtag_closestUs   c    s)   []^|  i | d | | | |  d S(   sL   Add tag NEWTAG to all items in the rectangle defined
        by X1,Y1,X2,Y2.s   enclosedN(   s   selfs   addtags   newtags   x1s   y1s   x2s   y2(   s   selfs   newtags   x1s   y1s   x2s   y2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtag_enclosed[s   c    s)   _ab|  i | d | | | |  d S(   sW   Add tag NEWTAG to all items which overlap the rectangle
        defined by X1,Y1,X2,Y2.s   overlappingN(   s   selfs   addtags   newtags   x1s   y1s   x2s   y2(   s   selfs   newtags   x1s   y1s   x2s   y2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtag_overlapping_s   c    s    cde|  i | d |  d S(   s)   Add tag NEWTAG to all items with TAGORID.s   withtagN(   s   selfs   addtags   newtags   tagOrId(   s   selfs   newtags   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   addtag_withtagcs   c    s:   fhi|  i |  i i |  i d f |   p t Sd S(   s|   Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle
        which encloses all items with tags specified as arguments.s   bboxN(   s   selfs   _getintss   tks   calls   _ws   argss   None(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bboxfs   c    sJ   kmn|  i i |  i d | | d  o| o p|  i |  n d S(   sb   Unbind for all items with TAGORID for event SEQUENCE  the
        function identified with FUNCID.s   binds    N(   s   selfs   tks   calls   _ws   tagOrIds   sequences   funcids   deletecommand(   s   selfs   tagOrIds   sequences   funcid(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tag_unbindks   "
c    s2   qvw|  i |  i d | f x| | |  Sd S(   s&  Bind to all items with TAGORID at event SEQUENCE a call to function FUNC.

        An additional boolean parameter ADD specifies whether FUNC will be
        called additionally to the other bound function or whether it will
        replace the previous function. See bind for the return value.s   bindN(   s   selfs   _binds   _ws   tagOrIds   sequences   funcs   add(   s   selfs   tagOrIds   sequences   funcs   add(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_bindqs   c    s/   y{|t  |  i i |  i d | |   Sd S(   sr   Return the canvas x coordinate of pixel position SCREENX rounded
        to nearest multiple of GRIDSPACING units.s   canvasxN(   s	   getdoubles   selfs   tks   calls   _ws   screenxs   gridspacing(   s   selfs   screenxs   gridspacing(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   canvasxys   c    s/   ~t  |  i i |  i d | |   Sd S(   sr   Return the canvas y coordinate of pixel position SCREENY rounded
        to nearest multiple of GRIDSPACING units.s   canvasyN(   s	   getdoubles   selfs   tks   calls   _ws   screenys   gridspacing(   s   selfs   screenys   gridspacing(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   canvasy~s   c    sB   t  t |  i i |  i i |  i d f |    Sd S(   s8   Return a list of coordinates for the item given in ARGS.s   coordsN(   s   maps	   getdoubles   selfs   tks	   splitlists   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   coordss   	c    s   t  |  } | d } t |  t t f j o | d  } n
 h  } t t |  i	 i
 |  i d | f | |  i | |    Sd S(   s   Internal function.is   createN(   s   _flattens   argss   cnfs   types   DictionaryTypes	   TupleTypes   getints   applys   selfs   tks   calls   _ws   itemTypes   _optionss   kw(   s   selfs   itemTypes   argss   kws   cnf(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _creates   	c    s    |  i d | |  Sd S(   s6   Create arc shaped region with coordinates x1,y1,x2,y2.s   arcN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   create_arcs   c    s    |  i d | |  Sd S(   s%   Create bitmap with coordinates x1,y1.s   bitmapN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_bitmaps   c    s    |  i d | |  Sd S(   s)   Create image item with coordinates x1,y1.s   imageN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_images   c    s    |  i d | |  Sd S(   s-   Create line with coordinates x1,y1,...,xn,yn.s   lineN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_lines   c    s    |  i d | |  Sd S(   s)   Create oval with coordinates x1,y1,x2,y2.s   ovalN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_ovals   c    s    |  i d | |  Sd S(   s0   Create polygon with coordinates x1,y1,...,xn,yn.s   polygonN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_polygons   c    s    |  i d | |  Sd S(   s.   Create rectangle with coordinates x1,y1,x2,y2.s	   rectangleN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_rectangles   c    s    |  i d | |  Sd S(   s#   Create text with coordinates x1,y1.s   textN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_texts   c    s    |  i d | |  Sd S(   s+   Create window with coordinates x1,y1,x2,y2.s   windowN(   s   selfs   _creates   argss   kw(   s   selfs   argss   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   create_windows   c    s*   |  i i |  i d f |  d S(   s   Delete characters of text items identified by tag or id in ARGS (possibly
        several times) from FIRST to LAST character (including).s   dcharsN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   dcharss   c    s*   |  i i |  i d f |  d S(   s<   Delete items identified by all tag or ids contained in ARGS.s   deleteN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   deletes   c    s*   |  i i |  i d f |  d S(   si   Delete tag or id given as last arguments in ARGS from items
        identified by first argument in ARGS.s   dtagN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   dtags   c    s:   |  i |  i i |  i d f |   p f  Sd S(   s   Internal function.s   findN(   s   selfs   _getintss   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   finds   c    s   |  i d |  Sd S(   s   Return items above TAGORID.s   aboveN(   s   selfs   finds   tagOrId(   s   selfs   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   find_aboves   c    s   |  i d  Sd S(   s   Return all items.s   allN(   s   selfs   find(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   find_alls   c    s   |  i d |  Sd S(   s   Return all items below TAGORID.s   belowN(   s   selfs   finds   tagOrId(   s   selfs   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   find_belows   c    s&   |  i d | | | |  Sd S(   s   Return item which is closest to pixel at X, Y.
        If several match take the top-most.
        All items closer than HALO are considered overlapping (all are
        closests). If START is specified the next below this tag is taken.s   closestN(   s   selfs   finds   xs   ys   halos   start(   s   selfs   xs   ys   halos   start(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   find_closests   c    s&   |  i d | | | |  Sd S(   s=   Return all items in rectangle defined
        by X1,Y1,X2,Y2.s   enclosedN(   s   selfs   finds   x1s   y1s   x2s   y2(   s   selfs   x1s   y1s   x2s   y2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   find_encloseds   c    s&   |  i d | | | |  Sd S(   sL   Return all items which overlap the rectangle
        defined by X1,Y1,X2,Y2.s   overlappingN(   s   selfs   finds   x1s   y1s   x2s   y2(   s   selfs   x1s   y1s   x2s   y2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   find_overlappings   c    s   |  i d |  Sd S(   s   Return all items with TAGORID.s   withtagN(   s   selfs   finds   tagOrId(   s   selfs   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   find_withtags   c    s*   |  i i |  i d f |  Sd S(   s.   Set focus to the first item specified in ARGS.s   focusN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   focuss   c    s6   |  i i |  i i |  i d f |   Sd S(   s=   Return tags associated with the first item specified in ARGS.s   gettagsN(   s   selfs   tks	   splitlists   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   gettagss   c    s*   |  i i |  i d f |  d S(   sd   Set cursor at position POS in the item identified by TAGORID.
        In ARGS TAGORID must be first.s   icursorN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   icursors   c    s0   t  |  i i |  i d f |   Sd S(   s?   Return position of cursor as integer in item specified in ARGS.s   indexN(   s   getints   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   indexs   c    s*   |  i i |  i d f |  d S(   sS   Insert TEXT in item TAGORID at position POS. ARGS must
        be TAGORID POS TEXT.s   insertN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   inserts   c    s4   |  i i |  i d f | d | f  Sd S(   s9   Return the resource value for an OPTION for item TAGORID.s   itemcgets   -N(   s   selfs   tks   calls   _ws   tagOrIds   option(   s   selfs   tagOrIds   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   itemcgets   c    s5  | t j o | ow h  } x] |  i i |  i i |  i d |   D]. } | d d f | d | | d d <qU W| Sn t
 |  t j o | oO |  i i |  i i |  i d | d |   }  | d d f | d Sn |  i i |  i d | f |  i | |   d S(   s   Configure resources of an item TAGORID.

        The values for resources are specified as keyword
        arguments. To get an overview about
        the allowed keyword arguments call the method without arguments.
        s   itemconfigurei    i   s   -N(   s   cnfs   Nones   kws   selfs   tks   splits   calls   _ws   tagOrIds   xs   types
   StringTypes   _options(   s   selfs   tagOrIds   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   itemconfigures   		,1c    s*   
|  i i |  i d f |  d S(   sJ   Lower an item TAGORID given in ARGS
        (optional below another item).s   lowerN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tag_lowers   c    s*   |  i i |  i d f |  d S(   s#   Move an item TAGORID given in ARGS.s   moveN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   moves   c    s6   |  i i |  i d f |  i | |   Sd S(   s   Print the contents of the canvas to a postscript
        file. Valid options: colormap, colormode, file, fontmap,
        height, pageanchor, pageheight, pagewidth, pagex, pagey,
        rotate, witdh, x, y.s
   postscriptN(   s   selfs   tks   calls   _ws   _optionss   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   postscripts   c    s*   |  i i |  i d f |  d S(   sJ   Raise an item TAGORID given in ARGS
        (optional above another item).s   raiseN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tag_raises   c    s*   |  i i |  i d f |  d S(   s9   Scale item TAGORID with XORIGIN, YORIGIN, XSCALE, YSCALE.s   scaleN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   scales   c    s,    !|  i i |  i d d | |  d S(   s&   Remember the current X, Y coordinates.s   scans   markN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   scan_marks   c    s,   "%&|  i i |  i d d | |  d S(   s   Adjust the view of the canvas to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.s   scans   dragtoN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   scan_dragto"s   c    s,   '()|  i i |  i d d | |  d S(   sL   Adjust the end of the selection near the cursor of an item TAGORID to index.s   selects   adjustN(   s   selfs   tks   calls   _ws   tagOrIds   index(   s   selfs   tagOrIds   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   select_adjust's   c    s&   *+,|  i i |  i d d  d S(   s,   Clear the selection if it is in this widget.s   selects   clearN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   select_clear*s   c    s,   -./|  i i |  i d d | |  d S(   s:   Set the fixed end of a selection in item TAGORID to INDEX.s   selects   fromN(   s   selfs   tks   calls   _ws   tagOrIds   index(   s   selfs   tagOrIds   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   select_from-s   c    s&   012|  i i |  i d d  d S(   s(   Return the item which has the selection.s   selects   itemN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   select_item0s   c    s,   345|  i i |  i d d | |  d S(   s=   Set the variable end of a selection in item TAGORID to INDEX.s   selects   toN(   s   selfs   tks   calls   _ws   tagOrIds   index(   s   selfs   tagOrIds   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   select_to3s   c    s-   678|  i i |  i d |  p t Sd S(   s$   Return the type of the item TAGORID.s   typeN(   s   selfs   tks   calls   _ws   tagOrIds   None(   s   selfs   tagOrId(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   type6s   c    s[   9:;| o& <|  i |  i i |  i d   Sn =|  i i |  i d f |  d S(   s1   Query and change horizontal position of the view.s   xviewN(   s   argss   selfs   _getdoubless   tks   calls   _w(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview9s   &c    s)   >@A|  i i |  i d d |  d S(   ss   Adjusts the view in the window so that FRACTION of the
        total width of the canvas is off-screen to the left.s   xviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_moveto>s   c    s,   BCD|  i i |  i d d | |  d S(   sT   Shift the x-view according to NUMBER which is measured in "units" or "pages" (WHAT).s   xviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_scrollBs   c    s[   EFG| o& H|  i |  i i |  i d   Sn I|  i i |  i d f |  d S(   s/   Query and change vertical position of the view.s   yviewN(   s   argss   selfs   _getdoubless   tks   calls   _w(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yviewEs   &c    s)   JLM|  i i |  i d d |  d S(   ss   Adjusts the view in the window so that FRACTION of the
        total height of the canvas is off-screen to the top.s   yviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_movetoJs   c    s,   NOP|  i i |  i d d | |  d S(   sT   Shift the y-view according to NUMBER which is measured in "units" or "pages" (WHAT).s   yviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_scrollNs   (F   s   __name__s
   __module__s   __doc__s   Nones   __init__s   addtags   addtag_aboves
   addtag_alls   addtag_belows   addtag_closests   addtag_encloseds   addtag_overlappings   addtag_withtags   bboxs
   tag_unbinds   tag_binds   canvasxs   canvasys   coordss   _creates
   create_arcs   create_bitmaps   create_images   create_lines   create_ovals   create_polygons   create_rectangles   create_texts   create_windows   dcharss   deletes   dtags   finds
   find_aboves   find_alls
   find_belows   find_closests   find_encloseds   find_overlappings   find_withtags   focuss   gettagss   icursors   indexs   inserts   itemcgets   itemconfigures
   itemconfigs	   tag_lowers   lowers   moves
   postscripts	   tag_raises   lifts   tkraises   scales	   scan_marks   scan_dragtos   select_adjusts   select_clears   select_froms   select_items	   select_tos   types   xviews   xview_movetos   xview_scrolls   yviews   yview_movetos   yview_scroll(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Canvas<s   		s   Checkbuttonc      sb   Rt  Z d  Z STe h  d  Z _d   Z bd   Z ed   Z hd   Z kd   Z	 RS(   s7   Checkbutton widget which is either in on- or off-state.c    s&   T]^t  i |  | d | |  d S(   s  Construct a checkbutton widget with the parent MASTER.

        Valid resource names: activebackground, activeforeground, anchor,
        background, bd, bg, bitmap, borderwidth, command, cursor,
        disabledforeground, fg, font, foreground, height,
        highlightbackground, highlightcolor, highlightthickness, image,
        indicatoron, justify, offvalue, onvalue, padx, pady, relief,
        selectcolor, selectimage, state, takefocus, text, textvariable,
        underline, variable, width, wraplength.s   checkbuttonN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__Ts   	c    s#   _`a|  i i |  i d  d S(   s   Put the button in off-state.s   deselectN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   deselect_s   c    s#   bcd|  i i |  i d  d S(   s   Flash the button.s   flashN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   flashbs   c    s#   efg|  i i |  i d  Sd S(   s<   Toggle the button and invoke a command if given as resource.s   invokeN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   invokees   c    s#   hij|  i i |  i d  d S(   s   Put the button in on-state.s   selectN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selecths   c    s#   klm|  i i |  i d  d S(   s   Toggle the button.s   toggleN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   toggleks   (
   s   __name__s
   __module__s   __doc__s   Nones   __init__s   deselects   flashs   invokes   selects   toggle(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   CheckbuttonRs   s   Entryc      s  ot  Z d  Z pqe h  d  Z }e d  Z d   Z d   Z d   Z d   Z	 d   Z
 d   Z d	   Z e Z d
   Z e Z d   Z e Z d   Z e Z d   Z e Z d   Z e Z d   Z d   Z d   Z RS(   s1   Entry widget which allows to display simple text.c    s&   q{|t  i |  | d | |  d S(   s  Construct an entry widget with the parent MASTER.

        Valid resource names: background, bd, bg, borderwidth, cursor,
        exportselection, fg, font, foreground, highlightbackground,
        highlightcolor, highlightthickness, insertbackground,
        insertborderwidth, insertofftime, insertontime, insertwidth,
        invalidcommand, invcmd, justify, relief, selectbackground,
        selectborderwidth, selectforeground, show, state, takefocus,
        textvariable, validate, validatecommand, vcmd, width,
        xscrollcommand.s   entryN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__qs   
c    s)   }~|  i i |  i d | |  d S(   s.   Delete text from FIRST to LAST (not included).s   deleteN(   s   selfs   tks   calls   _ws   firsts   last(   s   selfs   firsts   last(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   delete}s   c    s#   |  i i |  i d  Sd S(   s   Return the text.s   getN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   gets   c    s&   |  i i |  i d |  d S(   s   Insert cursor at INDEX.s   icursorN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   icursors   c    s,   t  |  i i |  i d |   Sd S(   s   Return position of cursor.s   indexN(   s   getints   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   indexs   c    s)   |  i i |  i d | |  d S(   s   Insert STRING at INDEX.s   insertN(   s   selfs   tks   calls   _ws   indexs   string(   s   selfs   indexs   string(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   inserts   c    s)   |  i i |  i d d |  d S(   s&   Remember the current X, Y coordinates.s   scans   markN(   s   selfs   tks   calls   _ws   x(   s   selfs   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   scan_marks   c    s)   |  i i |  i d d |  d S(   s   Adjust the view of the canvas to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.s   scans   dragtoN(   s   selfs   tks   calls   _ws   x(   s   selfs   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   scan_dragtos   c    s)   |  i i |  i d d |  d S(   s9   Adjust the end of the selection near the cursor to INDEX.s	   selections   adjustN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_adjusts   c    s&   |  i i |  i d d  d S(   s,   Clear the selection if it is in this widget.s	   selections   clearN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_clears   c    s)   |  i i |  i d d |  d S(   s*   Set the fixed end of a selection to INDEX.s	   selections   fromN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_froms   c    s2   |  i i |  i i |  i d d   Sd S(   s,   Return whether the widget has the selection.s	   selections   presentN(   s   selfs   tks
   getbooleans   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_presents   c    s,   |  i i |  i d d | |  d S(   s3   Set the selection from START to END (not included).s	   selections   rangeN(   s   selfs   tks   calls   _ws   starts   end(   s   selfs   starts   end(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_ranges   c    s)   |  i i |  i d d |  d S(   s-   Set the variable end of a selection to INDEX.s	   selections   toN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_tos   c    s&   |  i i |  i d |  d S(   s1   Query and change horizontal position of the view.s   xviewN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xviews   c    s)   |  i i |  i d d |  d S(   sq   Adjust the view in the window so that FRACTION of the
        total width of the entry is off-screen to the left.s   xviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_movetos   c    s,   |  i i |  i d d | |  d S(   sT   Shift the x-view according to NUMBER which is measured in "units" or "pages" (WHAT).s   xviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_scrolls   (   s   __name__s
   __module__s   __doc__s   Nones   __init__s   deletes   gets   icursors   indexs   inserts	   scan_marks   scan_dragtos   selection_adjusts   select_adjusts   selection_clears   select_clears   selection_froms   select_froms   selection_presents   select_presents   selection_ranges   select_ranges   selection_tos	   select_tos   xviews   xview_movetos   xview_scroll(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Entryos0   						s   Framec      s&   t  Z d  Z e h  d  Z RS(   sF   Frame widget which may contain other widgets and can have a 3D border.c    s   t  | | f  } f  } | i d  o! d | d f } | d =n5 | i d  o! d | d f } | d =n t i |  | d | h  |  d S(   s  Construct a frame widget with the parent MASTER.

        Valid resource names: background, bd, bg, borderwidth, class,
        colormap, container, cursor, height, highlightbackground,
        highlightcolor, highlightthickness, relief, takefocus, visual, width.s   class_s   -classs   classs   frameN(	   s	   _cnfmerges   cnfs   kws   extras   has_keys   Widgets   __init__s   selfs   master(   s   selfs   masters   cnfs   kws   extra(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   	(   s   __name__s
   __module__s   __doc__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Frames   s   Labelc      s&   t  Z d  Z e h  d  Z RS(   s0   Label widget which can display text and bitmaps.c    s&   t  i |  | d | |  d S(   s`  Construct a label widget with the parent MASTER.

        Valid resource names: anchor, background, bd, bg, bitmap,
        borderwidth, cursor, fg, font, foreground, height,
        highlightbackground, highlightcolor, highlightthickness, image,
        justify, padx, pady, relief, takefocus, text, textvariable,
        underline, width, wraplength.s   labelN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Labels   s   Listboxc      s  t  Z d  Z e h  d  Z d   Z d   Z d   Z e d  Z e d  Z	 d   Z
 d   Z 	d	   Z 	d
   Z 	d   Z 	d   Z 	d   Z 	e Z 	e d  Z 	e Z 	d   Z 	e Z 	e d  Z "	e Z #	d   Z &	d   Z +	d   Z /	d   Z 2	d   Z 7	d   Z ;	d   Z >	d   Z B	e d  Z  V	e  Z! RS(   s3   Listbox widget which can display a list of strings.c    s&   t  i |  | d | |  d S(   s  Construct a listbox widget with the parent MASTER.

        Valid resource names: background, bd, bg, borderwidth, cursor,
        exportselection, fg, font, foreground, height, highlightbackground,
        highlightcolor, highlightthickness, relief, selectbackground,
        selectborderwidth, selectforeground, selectmode, setgrid, takefocus,
        width, xscrollcommand, yscrollcommand, listvariable.s   listboxN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   c    s&   |  i i |  i d |  d S(   s"   Activate item identified by INDEX.s   activateN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   activates   c    s:   |  i |  i i |  i d f |   p t Sd S(   sv   Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle
        which encloses the item identified by index in ARGS.s   bboxN(   s   selfs   _getintss   tks   calls   _ws   argss   None(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bboxs   c    s/   |  i i |  i i |  i d   Sd S(   s2   Return list of indices of currently selected item.s   curselectionN(   s   selfs   tks	   splitlists   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   curselections   c    s)   |  i i |  i d | |  d S(   s/   Delete items from FIRST to LAST (not included).s   deleteN(   s   selfs   tks   calls   _ws   firsts   last(   s   selfs   firsts   last(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   deletes   c    s_   | o/ |  i i |  i i |  i d | |   Sn |  i i |  i d |  Sd S(   s4   Get list of items from FIRST to LAST (not included).s   getN(   s   lasts   selfs   tks	   splitlists   calls   _ws   first(   s   selfs   firsts   last(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   gets   
/c    sP   |  i i |  i d |  } | d j o t Sn t |  Sd S(   s+   Return index of item identified with INDEX.s   indexs   noneN(   s   selfs   tks   calls   _ws   indexs   is   Nones   getint(   s   selfs   indexs   i(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   indexs
    c    s-    	|  i i |  i d | f |  d S(   s   Insert ELEMENTS at INDEX.s   insertN(   s   selfs   tks   calls   _ws   indexs   elements(   s   selfs   indexs   elements(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   inserts   c    s,   			t  |  i i |  i d |   Sd S(   s5   Get index of item which is nearest to y coordinate Y.s   nearestN(   s   getints   selfs   tks   calls   _ws   y(   s   selfs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   nearest	s   c    s,   			|  i i |  i d d | |  d S(   s&   Remember the current X, Y coordinates.s   scans   markN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   scan_mark	s   c    s,   			|  i i |  i d d | |  d S(   s   Adjust the view of the listbox to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.s   scans   dragtoN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   scan_dragto	s   c    s&   			|  i i |  i d |  d S(   s"   Scroll such that INDEX is visible.s   seeN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   see	s   c    s)   			|  i i |  i d d |  d S(   s-   Set the fixed end oft the selection to INDEX.s	   selections   anchorN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_anchor	s   c    s/   			|  i i |  i 	d d | |  d S(   s6   Clear the selection from FIRST to LAST (not included).s	   selections   clearN(   s   selfs   tks   calls   _ws   firsts   last(   s   selfs   firsts   last(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_clear	s   c    s5   			|  i i |  i i |  i d d |   Sd S(   s+   Return 1 if INDEX is part of the selection.s	   selections   includesN(   s   selfs   tks
   getbooleans   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_includes	s   c    s,   	 	!	|  i i |  i d d | |  d S(   sm   Set the selection from FIRST to LAST (not included) without
        changing the currently selected elements.s	   selections   setN(   s   selfs   tks   calls   _ws   firsts   last(   s   selfs   firsts   last(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   selection_set	s   c    s)   #	$	%	t  |  i i |  i d   Sd S(   s-   Return the number of elements in the listbox.s   sizeN(   s   getints   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   size#	s   c    s[   &	'	(	| o& )	|  i |  i i |  i d   Sn *	|  i i |  i d f |  d S(   s1   Query and change horizontal position of the view.s   xviewN(   s   whats   selfs   _getdoubless   tks   calls   _w(   s   selfs   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview&	s   &c    s)   +	-	.	|  i i |  i d d |  d S(   sq   Adjust the view in the window so that FRACTION of the
        total width of the entry is off-screen to the left.s   xviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_moveto+	s   c    s,   /	0	1	|  i i |  i d d | |  d S(   sT   Shift the x-view according to NUMBER which is measured in "units" or "pages" (WHAT).s   xviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_scroll/	s   c    s[   2	3	4	| o& 5	|  i |  i i |  i d   Sn 6	|  i i |  i d f |  d S(   s/   Query and change vertical position of the view.s   yviewN(   s   whats   selfs   _getdoubless   tks   calls   _w(   s   selfs   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview2	s   &c    s)   7	9	:	|  i i |  i d d |  d S(   sp   Adjust the view in the window so that FRACTION of the
        total width of the entry is off-screen to the top.s   yviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_moveto7	s   c    s,   ;	<	=	|  i i |  i d d | |  d S(   sT   Shift the y-view according to NUMBER which is measured in "units" or "pages" (WHAT).s   yviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_scroll;	s   c    s4   >	?	@	|  i i |  i d f | d | f  Sd S(   s4   Return the resource value for an ITEM and an OPTION.s   itemcgets   -N(   s   selfs   tks   calls   _ws   indexs   option(   s   selfs   indexs   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   itemcget>	s   c    s2  B	I	J	| t j o | ot K	h  } L	xZ |  i i |  i i |  i d |   DL	]. } N	| d d f | d | | d d <qR WO	| Sn P	t
 |  t j o | oO Q	|  i i |  i i |  i d | d |   } S	| d d f | d Sn T	|  i i |  i d | f |  i | |   d S(   s9  Configure resources of an ITEM.

        The values for resources are specified as keyword arguments.
        To get an overview about the allowed keyword arguments
        call the method without arguments.
        Valid resource names: background, bg, foreground, fg,
        selectbackground, selectforeground.s   itemconfigurei    i   s   -N(   s   cnfs   Nones   kws   selfs   tks   splits   calls   _ws   indexs   xs   types
   StringTypes   _options(   s   selfs   indexs   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   itemconfigureB	s   	+ 	,1("   s   __name__s
   __module__s   __doc__s   Nones   __init__s   activates   bboxs   curselections   deletes   gets   indexs   inserts   nearests	   scan_marks   scan_dragtos   sees   selection_anchors   select_anchors   selection_clears   select_clears   selection_includess   select_includess   selection_sets
   select_sets   sizes   xviews   xview_movetos   xview_scrolls   yviews   yview_movetos   yview_scrolls   itemcgets   itemconfigures
   itemconfig(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Listboxs>   					s   Menuc      s  X	t  Z d  Z Y	Z	e h  d  Z b	d   Z d	d   Z f	d   Z h	d   Z j	d   Z	 l	d   Z
 n	d   Z p	d	   Z r	d
   Z t	d   Z v	d   Z x	d d  Z {	d   Z ~	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	h  d  Z 	e d  Z 	d   Z 	e d  Z  	e  Z! 	d   Z" 	d    Z# 	d!   Z$ 	d"   Z% 	d#   Z& 	d$   Z' RS(%   sP   Menu widget which allows to display menu bars, pull-down menus and pop-up menus.c    s&   Z	`	a	t  i |  | d | |  d S(   sA  Construct menu widget with the parent MASTER.

        Valid resource names: activebackground, activeborderwidth,
        activeforeground, background, bd, bg, borderwidth, cursor,
        disabledforeground, fg, font, foreground, postcommand, relief,
        selectcolor, takefocus, tearoff, tearoffcommand, title, type.s   menuN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__Z	s   c    s
   b	c	d  S(   N(    (   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_bindForTraversalb	s   c    s    d	e	|  i i d |  i  d  S(   Ns	   tk_mbPost(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tk_mbPostd	s   c    s   f	g	|  i i d  d  S(   Ns   tk_mbUnpost(   s   selfs   tks   call(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_mbUnpostf	s   c    s#   h	i	|  i i d |  i |  d  S(   Ns   tk_traverseToMenu(   s   selfs   tks   calls   _ws   char(   s   selfs   char(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_traverseToMenuh	s   c    s#   j	k	|  i i d |  i |  d  S(   Ns   tk_traverseWithinMenu(   s   selfs   tks   calls   _ws   char(   s   selfs   char(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_traverseWithinMenuj	s   c    s    l	m	|  i i d |  i  Sd  S(   Ns   tk_getMenuButtons(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_getMenuButtonsl	s   c    s   n	o	|  i i d |  d  S(   Ns   tk_nextMenu(   s   selfs   tks   calls   count(   s   selfs   count(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_nextMenun	s   c    s   p	q	|  i i d |  d  S(   Ns   tk_nextMenuEntry(   s   selfs   tks   calls   count(   s   selfs   count(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_nextMenuEntryp	s   c    s    r	s	|  i i d |  i  d  S(   Ns   tk_invokeMenu(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_invokeMenur	s   c    s    t	u	|  i i d |  i  d  S(   Ns   tk_firstMenu(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_firstMenut	s   c    s    v	w	|  i i d |  i  d  S(   Ns   tk_mbButtonDown(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_mbButtonDownv	s   s    c    s,   x	y	z	|  i i d |  i | | |  d S(   s/   Post the menu at position X,Y with entry ENTRY.s   tk_popupN(   s   selfs   tks   calls   _ws   xs   ys   entry(   s   selfs   xs   ys   entry(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_popupx	s   c    s&   {	|	}	|  i i |  i d |  d S(   s   Activate entry at INDEX.s   activateN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   activate{	s   c    s9   ~			|  i i |  i d | f |  i | |   d S(   s   Internal function.s   addN(   s   selfs   tks   calls   _ws   itemTypes   _optionss   cnfs   kw(   s   selfs   itemTypes   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   add~	s   c    s$   			|  i d | p |  d S(   s   Add hierarchical menu item.s   cascadeN(   s   selfs   adds   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   add_cascade	s   c    s$   			|  i d | p |  d S(   s   Add checkbutton menu item.s   checkbuttonN(   s   selfs   adds   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   add_checkbutton	s   c    s$   			|  i d | p |  d S(   s   Add command menu item.s   commandN(   s   selfs   adds   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   add_command	s   c    s$   			|  i d | p |  d S(   s   Addd radio menu item.s   radiobuttonN(   s   selfs   adds   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   add_radiobutton	s   c    s$   			|  i d | p |  d S(   s   Add separator.s	   separatorN(   s   selfs   adds   cnfs   kw(   s   selfs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   add_separator	s   c    s<   			|  i i |  i d | | f |  i | |   d S(   s   Internal function.s   insertN(	   s   selfs   tks   calls   _ws   indexs   itemTypes   _optionss   cnfs   kw(   s   selfs   indexs   itemTypes   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert	s   c    s'   			|  i | d | p |  d S(   s$   Add hierarchical menu item at INDEX.s   cascadeN(   s   selfs   inserts   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert_cascade	s   c    s'   			|  i | d | p |  d S(   s#   Add checkbutton menu item at INDEX.s   checkbuttonN(   s   selfs   inserts   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert_checkbutton	s   c    s'   			|  i | d | p |  d S(   s   Add command menu item at INDEX.s   commandN(   s   selfs   inserts   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert_command	s   c    s'   			|  i | d | p |  d S(   s   Addd radio menu item at INDEX.s   radiobuttonN(   s   selfs   inserts   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert_radiobutton	s   c    s'   			|  i | d | p |  d S(   s   Add separator at INDEX.s	   separatorN(   s   selfs   inserts   indexs   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert_separator	s   c    s)   			|  i i |  i d | |  d S(   s;   Delete menu items between INDEX1 and INDEX2 (not included).s   deleteN(   s   selfs   tks   calls   _ws   index1s   index2(   s   selfs   index1s   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   delete	s   c    s-   			|  i i |  i d | d |  Sd S(   s>   Return the resource value of an menu item for OPTION at INDEX.s	   entrycgets   -N(   s   selfs   tks   calls   _ws   indexs   option(   s   selfs   indexs   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   entrycget	s   c    s8  			| t j o | ow 	h  } 	x] |  i i |  i i |  i d | f   D	]. } 	| d d f | d | | d d <qU W	| Sn 	t
 |  t j o | oR 	|  i i |  i i |  i d | d | f   } 	| d d f | d Sn 	|  i i |  i d | f |  i | |   d S(   s   Configure a menu item at INDEX.s   entryconfigurei    i   s   -N(   s   cnfs   Nones   kws   selfs   tks   splits   calls   _ws   indexs   xs   types
   StringTypes   _options(   s   selfs   indexs   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   entryconfigure	s   	. 	,4c    sP   			|  i i |  i d |  } 	| d j o 	t Sn 	t |  Sd S(   s4   Return the index of a menu item identified by INDEX.s   indexs   noneN(   s   selfs   tks   calls   _ws   indexs   is   Nones   getint(   s   selfs   indexs   i(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   index	s
    c    s&   			|  i i |  i d |  Sd S(   sR   Invoke a menu item identified by INDEX and execute
        the associated command.s   invokeN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   invoke	s   c    s)   			|  i i |  i d | |  d S(   s   Display a menu at position X,Y.s   postN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   post	s   c    s&   			|  i i |  i d |  Sd S(   s*   Return the type of the menu item at INDEX.s   typeN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   type	s   c    s#   			|  i i |  i d  d S(   s   Unmap a menu.s   unpostN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   unpost	s   c    s,   			t  |  i i |  i d |   Sd S(   sE   Return the y-position of the topmost pixel of the menu item at INDEX.s	   ypositionN(   s   getints   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   yposition	s   ((   s   __name__s
   __module__s   __doc__s   Nones   __init__s   tk_bindForTraversals	   tk_mbPosts   tk_mbUnposts   tk_traverseToMenus   tk_traverseWithinMenus   tk_getMenuButtonss   tk_nextMenus   tk_nextMenuEntrys   tk_invokeMenus   tk_firstMenus   tk_mbButtonDowns   tk_popups   activates   adds   add_cascades   add_checkbuttons   add_commands   add_radiobuttons   add_separators   inserts   insert_cascades   insert_checkbuttons   insert_commands   insert_radiobuttons   insert_separators   deletes	   entrycgets   entryconfigures   entryconfigs   indexs   invokes   posts   types   unposts	   yposition(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   MenuX	sJ   	s
   Menubuttonc      s&   	t  Z d  Z 		e h  d  Z RS(   s(   Menubutton widget, obsolete since Tk8.0.c    s#   		t  i |  | d | |  d  S(   Ns
   menubutton(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__	s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   Menubutton	s   s   Messagec      s&   	t  Z d  Z 		e h  d  Z RS(   sK   Message widget to display multiline text. Obsolete since Label does it too.c    s#   		t  i |  | d | |  d  S(   Ns   message(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__	s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Message	s   s   Radiobuttonc      sV   	t  Z d  Z 		e h  d  Z 	d   Z 	d   Z 	d   Z 	d   Z RS(   sG   Radiobutton widget which shows only one of several buttons in on-state.c    s&   			t  i |  | d | |  d S(   s  Construct a radiobutton widget with the parent MASTER.

        Valid resource names: activebackground, activeforeground, anchor,
        background, bd, bg, bitmap, borderwidth, command, cursor,
        disabledforeground, fg, font, foreground, height,
        highlightbackground, highlightcolor, highlightthickness, image,
        indicatoron, justify, padx, pady, relief, selectcolor, selectimage,
        state, takefocus, text, textvariable, underline, value, variable,
        width, wraplength.s   radiobuttonN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__	s   	c    s#   			|  i i |  i d  d S(   s   Put the button in off-state.s   deselectN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   deselect	s   c    s#   			|  i i |  i d  d S(   s   Flash the button.s   flashN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   flash	s   c    s#   			|  i i |  i d  Sd S(   s<   Toggle the button and invoke a command if given as resource.s   invokeN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   invoke	s   c    s#   			|  i i |  i d  d S(   s   Put the button in on-state.s   selectN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   select	s   (	   s   __name__s
   __module__s   __doc__s   Nones   __init__s   deselects   flashs   invokes   select(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Radiobutton	s   s   Scalec      sY   	t  Z d  Z 		e h  d  Z 
d   Z 
d   Z 
e d  Z 
d   Z RS(   s1   Scale widget which can display a numerical scale.c    s&   		 
t  i |  | d | |  d S(   s  Construct a scale widget with the parent MASTER.

        Valid resource names: activebackground, background, bigincrement, bd,
        bg, borderwidth, command, cursor, digits, fg, font, foreground, from,
        highlightbackground, highlightcolor, highlightthickness, label,
        length, orient, relief, repeatdelay, repeatinterval, resolution,
        showvalue, sliderlength, sliderrelief, state, takefocus,
        tickinterval, to, troughcolor, variable, width.s   scaleN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__	s   c    s_   


|  i i |  i d  } 
y 
t |  SWn# 
t j
 o 
t |  Sn Xd S(   s*   Get the current value as integer or float.s   getN(   s   selfs   tks   calls   _ws   values   getints
   ValueErrors	   getdouble(   s   selfs   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   get
s   c    s&   
	


|  i i |  i d |  d S(   s   Set the value to VALUE.s   setN(   s   selfs   tks   calls   _ws   value(   s   selfs   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   set
s   c    s/   


|  i |  i i |  i d |   Sd S(   s   Return a tuple (X,Y) of the point along the centerline of the
        trough that corresponds to VALUE or the current value if None is
        given.s   coordsN(   s   selfs   _getintss   tks   calls   _ws   value(   s   selfs   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   coords
s   c    s)   


|  i i |  i d | |  Sd S(   sc   Return where the point X,Y lies. Valid return values are "slider",
        "though1" and "though2".s   identifyN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   identify
s   (	   s   __name__s
   __module__s   __doc__s   Nones   __init__s   gets   sets   coordss   identify(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Scale	s   
s	   Scrollbarc      sn   
t  Z d  Z 

e h  d  Z "
d   Z &
d   Z +
d   Z /
d   Z 3
d   Z	 7
d   Z
 RS(   s?   Scrollbar widget which displays a slider at a certain position.c    s&   
 
!
t  i |  | d | |  d S(   sl  Construct a scrollbar widget with the parent MASTER.

        Valid resource names: activebackground, activerelief,
        background, bd, bg, borderwidth, command, cursor,
        elementborderwidth, highlightbackground,
        highlightcolor, highlightthickness, jump, orient,
        relief, repeatdelay, repeatinterval, takefocus,
        troughcolor, width.s	   scrollbarN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__
s   c    s&   "
$
%
|  i i |  i d |  d S(   sx   Display the element at INDEX with activebackground and activerelief.
        INDEX can be "arrow1","slider" or "arrow2".s   activateN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   activate"
s   c    s/   &
(
)
t  |  i i |  i d | |   Sd S(   sn   Return the fractional change of the scrollbar setting if it
        would be moved by DELTAX or DELTAY pixels.s   deltaN(   s	   getdoubles   selfs   tks   calls   _ws   deltaxs   deltay(   s   selfs   deltaxs   deltay(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   delta&
s   c    s/   +
-
.
t  |  i i |  i d | |   Sd S(   sR   Return the fractional value which corresponds to a slider
        position of X,Y.s   fractionN(   s	   getdoubles   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   fraction+
s   c    s)   /
1
2
|  i i |  i d | |  Sd S(   sY   Return the element under position X,Y as one of
        "arrow1","slider","arrow2" or "".s   identifyN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   identify/
s   c    s,   3
5
6
|  i |  i i |  i d   Sd S(   sZ   Return the current fractional values (upper and lower end)
        of the slider position.s   getN(   s   selfs   _getdoubless   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   get3
s   c    s*   7
9
:
|  i i |  i d f |  d S(   si   Set the fractional values of the slider position (upper and
        lower ends as value between 0 and 1).s   setN(   s   selfs   tks   calls   _ws   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   set7
s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__s   activates   deltas   fractions   identifys   gets   set(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   Scrollbar
s   
s   Textc      s  <
t  Z d  Z =
?
e h  d  Z K
d   Z P
d   Z R
d   Z T
d   Z V
d   Z	 X
d   Z
 ]
e d  Z b
e d	  Z e
d
   Z j
e d  Z n
d   Z u
h  d  Z 
h  d  Z 
d   Z 
d   Z 
d   Z 
e d  Z 
d   Z 
d   Z 
d   Z 
d   Z 
d   Z 
d   Z 
d   Z 
e e e e e e e d  Z 
d   Z 
d   Z 
e d  Z  
e d  Z! 
d   Z" 
h  d   Z# 
e# Z$ 
d!   Z% 
e d"  Z& 
e d#  Z' 
e d$  Z( 
e d%  Z) 
e d&  Z* d'   Z+ e d(  Z, 	d)   Z- h  d*  Z. e. Z/ h  d+  Z0  d,   Z1 $d-   Z2 )d.   Z3 -d/   Z4 1d0   Z5 6d1   Z6 :d2   Z7 >d3   Z8 RS(4   s4   Text widget which can display text in various forms.c    s&   ?
I
J
t  i |  | d | |  d S(   s  Construct a text widget with the parent MASTER.

        Valid resource names: background, bd, bg, borderwidth, cursor,
        exportselection, fg, font, foreground, height,
        highlightbackground, highlightcolor, highlightthickness,
        insertbackground, insertborderwidth, insertofftime,
        insertontime, insertwidth, padx, pady, relief,
        selectbackground, selectborderwidth, selectforeground,
        setgrid, spacing1, spacing2, spacing3, state, tabs, takefocus,
        width, wrap, xscrollcommand, yscrollcommand.s   textN(   s   Widgets   __init__s   selfs   masters   cnfs   kw(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__?
s   
c    s:   K
M
N
|  i |  i i |  i d f |   p t Sd S(   s   Return a tuple of (x,y,width,height) which gives the bounding
        box of the visible part of the character at the index in ARGS.s   bboxN(   s   selfs   _getintss   tks   calls   _ws   argss   None(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   bboxK
s   c    s#   P
Q
|  i i d |  i |  d  S(   Ns   tk_textSelectTo(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_textSelectToP
s   c    s    R
S
|  i i d |  i  d  S(   Ns   tk_textBackspace(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_textBackspaceR
s   c    s)   T
U
|  i i d |  i | | |  d  S(   Ns   tk_textIndexCloser(   s   selfs   tks   calls   _ws   as   bs   c(   s   selfs   as   bs   c(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_textIndexCloserT
s   c    s#   V
W
|  i i d |  i |  d  S(   Ns   tk_textResetAnchor(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tk_textResetAnchorV
s   c    s8   X
Z
[
|  i i |  i i |  i d | | |   Sd S(   s   Return whether between index INDEX1 and index INDEX2 the
        relation OP is satisfied. OP is one of <, <=, ==, >=, >, or !=.s   compareN(   s   selfs   tks
   getbooleans   calls   _ws   index1s   ops   index2(   s   selfs   index1s   ops   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   compareX
s   c    s2   ]
_
`
|  i i |  i i |  i d |   Sd S(   sj   Turn on the internal consistency checks of the B-Tree inside the text
        widget according to BOOLEAN.s   debugN(   s   selfs   tks
   getbooleans   calls   _ws   boolean(   s   selfs   boolean(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   debug]
s   c    s)   b
c
d
|  i i |  i d | |  d S(   s?   Delete the characters between INDEX1 and INDEX2 (not included).s   deleteN(   s   selfs   tks   calls   _ws   index1s   index2(   s   selfs   index1s   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   deleteb
s   c    s/   e
h
i
|  i |  i i |  i d |   Sd S(   s   Return tuple (x,y,width,height,baseline) giving the bounding box
        and baseline position of the visible part of the line containing
        the character at INDEX.s	   dlineinfoN(   s   selfs   _getintss   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   dlineinfoe
s   c    s)   j
k
l
|  i i |  i d | |  Sd S(   s5   Return the text from INDEX1 to INDEX2 (not included).s   getN(   s   selfs   tks   calls   _ws   index1s   index2(   s   selfs   index1s   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   getj
s   c    sv   n
o
p
| d  d j o q
d | } n r
| d d j o s
| d  } n t
|  i i |  i d d | |  Sd S(   s9   Return the value of OPTION of an embedded image at INDEX.i   s   -is   _s   images   cgetN(   s   options   selfs   tks   calls   _ws   index(   s   selfs   indexs   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   image_cgetn
s   c    s   u
v
w
| o | ow x
h  } y
x] |  i i |  i i |  i d d |   Dy
]. } |
| d d f | d | | d d <qP W}
| Sn ~
t	 |  i i 
|  i d d | f |  i
 | |   d S(   s%   Configure an embedded image at INDEX.s   images	   configurei    i   N(   s   cnfs   kws   selfs   tks   splits   calls   _ws   indexs   xs   applys   _options(   s   selfs   indexs   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_configureu
s   	. 	,c    sB   


t  |  i i 
|  i d d | f |  i | |   Sd S(   s"   Create an embedded image at INDEX.s   images   createN(	   s   applys   selfs   tks   calls   _ws   indexs   _optionss   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_create
s   c    s&   


|  i i |  i d d  Sd S(   s3   Return all names of embedded images in this widget.s   images   namesN(   s   selfs   tks   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_names
s   c    s&   


|  i i |  i d |  Sd S(   s1   Return the index in the form line.char for INDEX.s   indexN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   index
s   c    s0   


|  i i |  i d | | f |  d S(   s   Insert CHARS before the characters at INDEX. An additional
        tag can be given in ARGS. Additional CHARS and tags can follow in ARGS.s   insertN(   s   selfs   tks   calls   _ws   indexs   charss   args(   s   selfs   indexs   charss   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   insert
s   c    s/   


|  i i |  i d d | | f  Sd S(   s   Change the gravity of a mark MARKNAME to DIRECTION (LEFT or RIGHT).
        Return the current value if None is given for DIRECTION.s   marks   gravityN(   s   selfs   tks   calls   _ws   markNames	   direction(   s   selfs   markNames	   direction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   mark_gravity
s   c    s2   


|  i i |  i i |  i d d   Sd S(   s   Return all mark names.s   marks   namesN(   s   selfs   tks	   splitlists   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   mark_names
s   c    s,   


|  i i |  i d d | |  d S(   s0   Set mark MARKNAME before the character at INDEX.s   marks   setN(   s   selfs   tks   calls   _ws   markNames   index(   s   selfs   markNames   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   mark_set
s   c    s-   


|  i i |  i d d f |  d S(   s   Delete all marks in MARKNAMES.s   marks   unsetN(   s   selfs   tks   calls   _ws	   markNames(   s   selfs	   markNames(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   mark_unset
s   c    s0   


|  i i |  i d d |  p t Sd S(   s-   Return the name of the next mark after INDEX.s   marks   nextN(   s   selfs   tks   calls   _ws   indexs   None(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   mark_next
s   c    s0   


|  i i |  i d d |  p t Sd S(   s2   Return the name of the previous mark before INDEX.s   marks   previousN(   s   selfs   tks   calls   _ws   indexs   None(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   mark_previous
s   c    s,   


|  i i |  i d d | |  d S(   s&   Remember the current X, Y coordinates.s   scans   markN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   scan_mark
s   c    s,   


|  i i |  i d d | |  d S(   s~   Adjust the view of the text to 10 times the
        difference between X and Y and the coordinates given in
        scan_mark.s   scans   dragtoN(   s   selfs   tks   calls   _ws   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   scan_dragto
s   c
    s\  


|  i d g }
 
| o 
|
 i d  n 
| o 
|
 i d  n 
| o 
|
 i d  n 
| o 
|
 i d  n 
| o 
|
 i d  n 
|	 o! 
|
 i d  |
 i |	  n 
| d d	 j o 
|
 i d
  n 
|
 i |  
|
 i |  
| o 
|
 i |  n 
|  i i t |
   Sd S(   s   Search PATTERN beginning from INDEX until STOPINDEX.
        Return the index of the first character of a match or an empty string.s   searchs	   -forwardss
   -backwardss   -exacts   -regexps   -nocases   -counti    s   -s   --N(   s   selfs   _ws   argss   forwardss   appends	   backwardss   exacts   regexps   nocases   counts   patterns   indexs	   stopindexs   tks   calls   tuple(   s   selfs   patterns   indexs	   stopindexs   forwardss	   backwardss   exacts   regexps   nocases   counts   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   search
s*   
 
 
 
 
 
 ! 
 c    s&   


|  i i |  i d |  d S(   s3   Scroll such that the character at INDEX is visible.s   seeN(   s   selfs   tks   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   see
s   c    s3   


|  i i |  i d d | | f |  d S(   s|   Add tag TAGNAME to all characters between INDEX1 and index2 in ARGS.
        Additional pairs of indices may follow in ARGS.s   tags   addN(   s   selfs   tks   calls   _ws   tagNames   index1s   args(   s   selfs   tagNames   index1s   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_add
s   c    sM   


|  i i |  i d d | | d  
| o 
|  i |  n d S(   sg   Unbind for all characters with TAGNAME for event SEQUENCE  the
        function identified with FUNCID.s   tags   binds    N(   s   selfs   tks   calls   _ws   tagNames   sequences   funcids   deletecommand(   s   selfs   tagNames   sequences   funcid(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tag_unbind
s   %
c    s5   


|  i |  i d d | f 
| | |  Sd S(   s+  Bind to all characters with TAGNAME at event SEQUENCE a call to function FUNC.

        An additional boolean parameter ADD specifies whether FUNC will be
        called additionally to the other bound function or whether it will
        replace the previous function. See bind for the return value.s   tags   bindN(   s   selfs   _binds   _ws   tagNames   sequences   funcs   add(   s   selfs   tagNames   sequences   funcs   add(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_bind
s   c    sv   


| d  d j o 
d | } n 
| d d j o 
| d  } n 
|  i i |  i d d | |  Sd S(   s+   Return the value of OPTION for tag TAGNAME.i   s   -is   _s   tags   cgetN(   s   options   selfs   tks   calls   _ws   tagName(   s   selfs   tagNames   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_cget
s   c    s   


t  |  t j oR 
|  i i |  i i |  i d d | d |   } 
| d d f | d Sn 
|  i i |  i d d | f |  i
 | |   d S(   s   Configure a tag TAGNAME.s   tags	   configures   -i    i   N(   s   types   cnfs
   StringTypes   selfs   tks   splits   calls   _ws   tagNames   xs   _optionss   kw(   s   selfs   tagNames   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_configure
s
   4c    s-   


|  i i |  i d d f |  d S(   s   Delete all tags in TAGNAMES.s   tags   deleteN(   s   selfs   tks   calls   _ws   tagNames(   s   selfs   tagNames(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tag_delete
s   c    s,   


|  i i |  i d d | |  d S(   s`   Change the priority of tag TAGNAME such that it is lower
        than the priority of BELOWTHIS.s   tags   lowerN(   s   selfs   tks   calls   _ws   tagNames	   belowThis(   s   selfs   tagNames	   belowThis(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tag_lower
s   c    s5   


|  i i |  i i |  i d d |   Sd S(   s   Return a list of all tag names.s   tags   namesN(   s   selfs   tks	   splitlists   calls   _ws   index(   s   selfs   index(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tag_names
s   c    s;   


|  i i |  i i |  i d d | | |   Sd S(   s   Return a list of start and end index for the first sequence of
        characters between INDEX1 and INDEX2 which all have tag TAGNAME.
        The text is searched forward from INDEX1.s   tags	   nextrangeN(   s   selfs   tks	   splitlists   calls   _ws   tagNames   index1s   index2(   s   selfs   tagNames   index1s   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_nextrange
s   c    s;   


|  i i |  i i |  i d d | | |   Sd S(   s   Return a list of start and end index for the first sequence of
        characters between INDEX1 and INDEX2 which all have tag TAGNAME.
        The text is searched backwards from INDEX1.s   tags	   prevrangeN(   s   selfs   tks	   splitlists   calls   _ws   tagNames   index1s   index2(   s   selfs   tagNames   index1s   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   tag_prevrange
s   c    s,   


|  i i |  i d d | |  d S(   sa   Change the priority of tag TAGNAME such that it is higher
        than the priority of ABOVETHIS.s   tags   raiseN(   s   selfs   tks   calls   _ws   tagNames	   aboveThis(   s   selfs   tagNames	   aboveThis(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   tag_raise
s   c    s5   |  i i |  i i |  i d d |   Sd S(   s7   Return a list of ranges of text which have tag TAGNAME.s   tags   rangesN(   s   selfs   tks	   splitlists   calls   _ws   tagName(   s   selfs   tagName(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tag_rangess   c    s/   |  i i |  i d d | | |  d S(   sA   Remove tag TAGNAME from all characters between INDEX1 and INDEX2.s   tags   removeN(   s   selfs   tks   calls   _ws   tagNames   index1s   index2(   s   selfs   tagNames   index1s   index2(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   tag_removes   c    sv   	
| d  d j o d | } n | d d j o | d  } n |  i i |  i d d | |  Sd S(   s:   Return the value of OPTION of an embedded window at INDEX.i   s   -is   _s   windows   cgetN(   s   options   selfs   tks   calls   _ws   index(   s   selfs   indexs   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   window_cget	s   c    s   t  |  t j oU |  i i |  i i |  i d d | d |   } | d d f | d Sn |  i i |  i d d | f |  i
 | |   d S(   s&   Configure an embedded window at INDEX.s   windows	   configures   -i    i   N(   s   types   cnfs
   StringTypes   selfs   tks   splits   calls   _ws   indexs   xs   _optionss   kw(   s   selfs   indexs   cnfs   kws   x(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   window_configures   !c    s<   |  i i |  i d d | f |  i | |   d S(   s   Create a window at INDEX.s   windows   createN(   s   selfs   tks   calls   _ws   indexs   _optionss   cnfs   kw(   s   selfs   indexs   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   window_creates   c    s2    !"|  i i |  i i |  i d d   Sd S(   s4   Return all names of embedded windows in this widget.s   windows   namesN(   s   selfs   tks	   splitlists   calls   _w(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   window_names s   c    s[   $%&| o& '|  i |  i i |  i d   Sn (|  i i |  i d f |  d S(   s1   Query and change horizontal position of the view.s   xviewN(   s   whats   selfs   _getdoubless   tks   calls   _w(   s   selfs   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview$s   &c    s)   )+,|  i i |  i d d |  d S(   ss   Adjusts the view in the window so that FRACTION of the
        total width of the canvas is off-screen to the left.s   xviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_moveto)s   c    s,   -/0|  i i |  i d d | |  d S(   s\   Shift the x-view according to NUMBER which is measured
        in "units" or "pages" (WHAT).s   xviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   xview_scroll-s   c    s[   123| o& 4|  i |  i i |  i d   Sn 5|  i i |  i d f |  d S(   s/   Query and change vertical position of the view.s   yviewN(   s   whats   selfs   _getdoubless   tks   calls   _w(   s   selfs   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview1s   &c    s)   689|  i i |  i d d |  d S(   ss   Adjusts the view in the window so that FRACTION of the
        total height of the canvas is off-screen to the top.s   yviews   movetoN(   s   selfs   tks   calls   _ws   fraction(   s   selfs   fraction(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_moveto6s   c    s,   :<=|  i i |  i d d | |  d S(   s\   Shift the y-view according to NUMBER which is measured
        in "units" or "pages" (WHAT).s   yviews   scrollN(   s   selfs   tks   calls   _ws   numbers   what(   s   selfs   numbers   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_scroll:s   c    s-   >?@|  i i |  i d d f |  d S(   s   Obsolete function, use see.s   yviews
   -pickplaceN(   s   selfs   tks   calls   _ws   what(   s   selfs   what(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   yview_pickplace>s   (9   s   __name__s
   __module__s   __doc__s   Nones   __init__s   bboxs   tk_textSelectTos   tk_textBackspaces   tk_textIndexClosers   tk_textResetAnchors   compares   debugs   deletes	   dlineinfos   gets
   image_cgets   image_configures   image_creates   image_namess   indexs   inserts   mark_gravitys
   mark_namess   mark_sets
   mark_unsets	   mark_nexts   mark_previouss	   scan_marks   scan_dragtos   searchs   sees   tag_adds
   tag_unbinds   tag_binds   tag_cgets   tag_configures
   tag_configs
   tag_deletes	   tag_lowers	   tag_namess   tag_nextranges   tag_prevranges	   tag_raises
   tag_rangess
   tag_removes   window_cgets   window_configures   window_configs   window_creates   window_namess   xviews   xview_movetos   xview_scrolls   yviews   yview_movetos   yview_scrolls   yview_pickplace(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Text<
sl   !		
	s   _setitc      s/   Bt  Z d  Z CDe d  Z Hd   Z RS(   s>   Internal class. It wraps the command in the widget OptionMenu.c    s+   DE| |  _ F| |  _ G| |  _ d  S(   N(   s   values   selfs   _setit__values   vars   _setit__vars   callbacks   _setit__callback(   s   selfs   vars   values   callback(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__Ds   c    sK   HI|  i i |  i  J|  i o! Kt |  i |  i f |  n d  S(   N(   s   selfs   _setit__vars   sets   _setit__values   _setit__callbacks   applys   args(   s   selfs   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __call__Hs   (   s   __name__s
   __module__s   __doc__s   Nones   __init__s   __call__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _setitBs   s
   OptionMenuc      s8   Mt  Z d  Z NOd   Z hd   Z md   Z RS(   s?   OptionMenu which allows the user to select a value from a menu.c 
 	  sn  OSTh  d d <| d <d d <t d <d d <d d	 <}	 Wt i |  | d
 |	  Xd |  _ Yt |  d d d d } |  _
 Z| i |  _ \| i d  } ]| i d  o ^| d =n _| o `t d | i   d  n a| i d | bd t | | |   cx9 | Dc]. } d| i d | ed t | | |   q(Wf| |  d <d S(   s   Construct an optionmenu widget with the parent MASTER, with
        the resource textvariable set to VARIABLE, the initially selected
        value VALUE, the other menu values VALUES and an additional
        keyword argument command.i   s   borderwidths   textvariablei   s   indicatorons   reliefs   cs   anchors   highlightthicknesss
   menubuttons   tk_optionMenus   names   menus   tearoffi    s   commands   unknown option -s   labelN(   s   variables   RAISEDs   kws   Widgets   __init__s   selfs   masters
   widgetNames   Menus   menus   _OptionMenu__menus   _ws   menunames   kwargss   gets   callbacks   has_keys   TclErrors   keyss   add_commands   values   _setits   valuess   v(
   s   selfs   masters   variables   values   valuess   kwargss   vs   callbacks   menus   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__Os$   ?"

 	c    s8   hi| d j o j|  i Sn kt i |  |  Sd  S(   Ns   menu(   s   names   selfs   _OptionMenu__menus   Widgets   __getitem__(   s   selfs   name(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __getitem__hs   c    s&   mnot  i |   pt |  _ d S(   s,   Destroy this widget and the associated menu.N(   s
   Menubuttons   destroys   selfs   Nones   _OptionMenu__menu(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   destroyms   (   s   __name__s
   __module__s   __doc__s   __init__s   __getitem__s   destroy(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   OptionMenuMs   s   Imagec      s   rt  Z d  Z std Z ue h  e d  Z d   Z d   Z d   Z d   Z	 d   Z
 e
 Z d   Z d	   Z d
   Z RS(   s   Base class for images.i    c 	   s  uvt  |  _ w| o( xt } y| o zt d  n n {| i |  _ || oP }t i d 7_ ~d t i } | d d j o d | d } n n | o | o t | | f  } n | o | } n f  } xZ | i   D]I \ } } t |  o |  i |  } n | d | | f } qW|  i i d d | | f |  | |  _ d  S(	   Ns   Too early to create imagei   s   pyimagei    s   -s   _s   images   create(   s   Nones   selfs   names   masters   _default_roots   RuntimeErrors   tks   Images   _last_ids   kws   cnfs	   _cnfmerges   optionss   itemss   ks   vs   callables	   _registers   calls   imgtype(	   s   selfs   imgtypes   names   cnfs   masters   kws   optionss   vs   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__us.   	  
 	 #c    s   |  i Sd  S(   N(   s   selfs   name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __str__s    c    sW   |  i oC y  |  i i d d |  i  Wn t j
 o
 n Xn d  S(   Ns   images   delete(   s   selfs   names   tks   calls   TclError(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __del__s
    c    s*   |  i i |  i d d | |  d  S(   Ns	   configures   -(   s   selfs   tks   calls   names   keys   value(   s   selfs   keys   value(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __setitem__s   c    s'   |  i i |  i d d |  Sd  S(   Ns	   configures   -(   s   selfs   tks   calls   names   key(   s   selfs   key(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __getitem__s   c    s   f  } x t |  i   D] \ } } | t j	 of | d d j o | d  } n t |  o |  i	 |  } n | d | | f } n q% W|  i
 i |  i d f |  d S(   s   Configure the image.is   _s   -s   configN(   s   ress	   _cnfmerges   kws   itemss   ks   vs   Nones   callables   selfs	   _registers   tks   calls   name(   s   selfs   kws   vs   ress   k(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   configures   	  c    s,   t  |  i i d d |  i   Sd S(   s   Return the height of the image.s   images   heightN(   s   getints   selfs   tks   calls   name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   heights   c    s&   |  i i d d |  i  Sd S(   s8   Return the type of the imgage, e.g. "photo" or "bitmap".s   images   typeN(   s   selfs   tks   calls   name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   types   c    s,   t  |  i i d d |  i   Sd S(   s   Return the width of the image.s   images   widthN(   s   getints   selfs   tks   calls   name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   widths   (   s   __name__s
   __module__s   __doc__s   _last_ids   Nones   __init__s   __str__s   __del__s   __setitem__s   __getitem__s	   configures   configs   heights   types   width(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   Imagers   	
	s
   PhotoImagec      s   t  Z d  Z e h  e d  Z d   Z d   Z d   Z d   Z d d  Z	 d d  Z
 d	   Z e d
  Z e e d  Z RS(   s?   Widget which can display colored images in GIF, PPM/PGM format.c    s/   t  t i |  d | | | f |  d S(   st   Create an image with NAME.

        Valid resource names: data, format, file, gamma, height, palette,
        width.s   photoN(   s   applys   Images   __init__s   selfs   names   cnfs   masters   kw(   s   selfs   names   cnfs   masters   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   c    s#   |  i i |  i d  d S(   s   Display a transparent image.s   blankN(   s   selfs   tks   calls   name(   s   self(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   blanks   c    s*   |  i i |  i d d |  Sd S(   s   Return the value of OPTION.s   cgets   -N(   s   selfs   tks   calls   names   option(   s   selfs   option(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   cgets   c    s'   |  i i |  i d d |  Sd  S(   Ns   cgets   -(   s   selfs   tks   calls   names   key(   s   selfs   key(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __getitem__s   c    s9   t    } |  i i | d |  i  | Sd S(   s;   Return a new PhotoImage with the same image as this widget.s   copyN(   s
   PhotoImages	   destImages   selfs   tks   calls   name(   s   selfs	   destImage(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   copys   s    c    s_   t    } | d j o | } n |  i i | d |  i d | |  | Sd S(   s\   Return a new PhotoImage with the same image as this widget
        but zoom it with X and Y.s    s   copys   -zoomN(   s
   PhotoImages	   destImages   ys   xs   selfs   tks   calls   name(   s   selfs   xs   ys	   destImage(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   zooms    %c    s_   t    } | d j o | } n |  i i | d |  i d | |  | Sd S(   sk   Return a new PhotoImage based on the same image as this widget
        but use only every Xth or Yth pixel.s    s   copys
   -subsampleN(   s
   PhotoImages	   destImages   ys   xs   selfs   tks   calls   name(   s   selfs   xs   ys	   destImage(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   subsamples    %c    s)   |  i i |  i d | |  Sd S(   s8   Return the color (red, green, blue) of the pixel at X,Y.s   getN(   s   selfs   tks   calls   names   xs   y(   s   selfs   xs   y(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   gets   c    s   |  i d | f } | oC | d d j o | d } n | d f t |  } n |  i i |  d S(   sy   Put row formated colors to image starting from
        position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))s   puti    s   -toi   N(   s   selfs   names   datas   argss   tos   tuples   tks   call(   s   selfs   datas   tos   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   puts   
c    s{   |  i d | f } | o | d | f } n | o | d f t |  } n |  i i |  d S(   sR   Write image to file FILENAME in FORMAT starting from
        position FROM_COORDS.s   writes   -formats   -fromN(	   s   selfs   names   filenames   argss   formats   from_coordss   tuples   tks   call(   s   selfs   filenames   formats   from_coordss   args(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   writes   

(   s   __name__s
   __module__s   __doc__s   Nones   __init__s   blanks   cgets   __getitem__s   copys   zooms	   subsamples   gets   puts   write(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   PhotoImages   
s   BitmapImagec      s)   t  Z d  Z e h  e d  Z RS(   s"   Widget which can display a bitmap.c    s/   t  t i |  d | | | f |  d S(   sq   Create a bitmap with NAME.

        Valid resource names: background, data, file, foreground, maskdata, maskfile.s   bitmapN(   s   applys   Images   __init__s   selfs   names   cnfs   masters   kw(   s   selfs   names   cnfs   masters   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   BitmapImages   c      s   t  i i d d  Sd  S(   Ns   images   names(   s   _default_roots   tks   call(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_namess    c      s   t  i i d d  Sd  S(   Ns   images   types(   s   _default_roots   tks   call(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   image_typess    s
   Studbuttonc      s   t  Z e h  d  Z RS(   Nc    s{   t  i |  | d | |  |  i d |  i  |  i d |  i  |  i d |  i	  |  i d |  i
  d  S(   Ns
   studbuttons   <Any-Enter>s   <Any-Leave>s   <1>s   <ButtonRelease-1>(   s   Widgets   __init__s   selfs   masters   cnfs   kws   binds   tkButtonEnters   tkButtonLeaves   tkButtonDowns
   tkButtonUp(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s
   (   s   __name__s
   __module__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys
   Studbuttons   	s	   Tributtonc      s    t  Z e h  d  Z RS(   Nc    s   t  i |  | d | |  |  i d |  i  |  i d |  i  |  i d |  i	  |  i d |  i
  |  d |  d <|  d |  d <d  S(	   Ns	   tributtons   <Any-Enter>s   <Any-Leave>s   <1>s   <ButtonRelease-1>s   bgs   fgs   activebackground(   s   Widgets   __init__s   selfs   masters   cnfs   kws   binds   tkButtonEnters   tkButtonLeaves   tkButtonDowns
   tkButtonUp(   s   selfs   masters   cnfs   kw(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   __init__s   (   s   __name__s
   __module__s   Nones   __init__(    (    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys	   Tributton s   	c     s.  t    } d t } t d j o@ y | t d d  } Wn t j
 o
 n Xn t | d | } | i   t	 | d d d | d  } | i   | | _
 t	 | d d	 d | i }  |  i   !| i   "| i   #| i   $| i   d  S(
   Ns   This is Tcl/Tk version %sf8.0999999999999996s   
This should be a cedilla: s
   iso-8859-1s   texts	   Click me!s   commandc    s!   |  i i d d |  i d  S(   Ns   texts   [%s](   s   roots   tests	   configure(   s   root(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   <lambda>s    s   QUIT(   s   Tks   roots
   TclVersions   texts   unicodes	   NameErrors   Labels   labels   packs   Buttons   tests   destroys   quits   iconifys   updates	   deiconifys   mainloop(   s   quits   texts   tests   labels   root(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   _tests(   s   __main__(T   s   __doc__s   __version__s   syss   platforms   FixTks   _tkinters   tkinters   TclErrors   typess   Tkconstantss   MacOSs   _MacOSs   ImportErrors   Nones   floats
   TK_VERSIONs	   TkVersions   TCL_VERSIONs
   TclVersions   READABLEs   WRITABLEs	   EXCEPTIONs   createfilehandlers   AttributeErrors   deletefilehandlers   _flattens	   _cnfmerges   Events   _support_default_roots   _default_roots   NoDefaultRoots   _tkerrors   _exits   _varnums   Variables	   StringVars   IntVars	   DoubleVars
   BooleanVars   mainloops   ints   getints	   getdoubles
   getbooleans   Miscs   CallWrappers   Wms   Tks   Packs   Places   Grids
   BaseWidgets   Widgets   Toplevels   Buttons   AtEnds   AtInserts
   AtSelFirsts	   AtSelLasts   Ats   Canvass   Checkbuttons   Entrys   Frames   Labels   Listboxs   Menus
   Menubuttons   Messages   Radiobuttons   Scales	   Scrollbars   Texts   _setits
   OptionMenus   Images
   PhotoImages   BitmapImages   image_namess   image_typess
   Studbuttons	   Tributtons   _tests   __name__(C   s   MacOSs   FixTks   mainloops   _tests	   EXCEPTIONs   Labels   WRITABLEs	   _cnfmerges   Tks   IntVars
   AtSelFirsts
   BaseWidgets   image_typess   AtInserts   TclErrors
   getbooleans   AtEnds
   TclVersions   _tkinters   Toplevels   _MacOSs   Images   Wms   READABLEs   Checkbuttons   Grids   Menus   Variables   _setits   __version__s   image_namess   Buttons   Canvass	   DoubleVars
   BooleanVars	   Tributtons
   PhotoImages   Messages   _tkerrors   Widgets   NoDefaultRoots   syss	   getdoubles	   Scrollbars   Places
   Studbuttons   Entrys   Scales   Packs
   OptionMenus	   AtSelLasts   tkinters   BitmapImages   Listboxs   Frames
   Menubuttons   Miscs   CallWrappers	   StringVars   getints   Radiobuttons   _flattens   Ats   Texts	   TkVersions   _exits   Event(    (    s$   /usr/lib/python2.2/lib-tk/Tkinter.pys   ? s   		

    
    ,			2		   d,546" Jx!& %<<