SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
Tkinter.Button Class Reference

Button widget. More...

Inheritance diagram for Tkinter.Button:
Tkinter.Widget Tkinter.BaseWidget Tkinter.Pack Tkinter.Place Tkinter.Grid Tkinter.Misc componentedit.GadgetCopyButton componentedit.GadgetLoadButton componentedit.GadgetPasteButton componentedit.GadgetSaveButton dialog.frame.CopyButton dialog.frame.LoadButton dialog.frame.PasteButton dialog.frame.SaveButton Tkinter.Studbutton Tkinter.Tributton

Methods defined here:

def __init__
def flash
def invoke
def tkButtonDown
def tkButtonEnter
def tkButtonInvoke
def tkButtonLeave
def tkButtonUp

Methods inherited from BaseWidget:

def destroy

Methods inherited from Misc:

def __contains__
def cget
def __setitem__
def __str__
def after
def after_cancel
def after_idle
def grid_bbox
def bell
def bind
def bind_all
def bind_class
def bindtags
def cget
def clipboard_append
def clipboard_clear
def clipboard_get
def colormodel
def grid_columnconfigure
def configure
def configure
def deletecommand
def event_add
def event_delete
def event_generate
def event_info
def focus_set
def focus_displayof
def focus_force
def focus_get
def focus_lastfor
def focus_set
def getboolean
def getvar
def grab_current
def grab_release
def grab_set
def grab_set_global
def grab_status
def grid_bbox
def grid_columnconfigure
def grid_location
def grid_propagate
def grid_rowconfigure
def grid_size
def grid_slaves
def image_names
def image_types
def keys
def tkraise
def lower
def mainloop
def nametowidget
def option_add
def option_clear
def option_get
def option_readfile
def pack_propagate
def pack_slaves
def place_slaves
def pack_propagate
def quit
def grid_rowconfigure
def selection_clear
def selection_get
def selection_handle
def selection_own
def selection_own_get
def send
def setvar
def grid_size
def pack_slaves
def tk_bisque
def tk_focusFollowsMouse
def tk_focusNext
def tk_focusPrev
def tk_menuBar
def tk_setPalette
def tk_strictMotif
def tkraise
def unbind
def unbind_all
def unbind_class
def update
def update_idletasks
def wait_variable
def wait_visibility
def wait_window
def wait_variable
def winfo_atom
def winfo_atomname
def winfo_cells
def winfo_children
def winfo_class
def winfo_colormapfull
def winfo_containing
def winfo_depth
def winfo_exists
def winfo_fpixels
def winfo_geometry
def winfo_height
def winfo_id
def winfo_interps
def winfo_ismapped
def winfo_manager
def winfo_name
def winfo_parent
def winfo_pathname
def winfo_pixels
def winfo_pointerx
def winfo_pointerxy
def winfo_pointery
def winfo_reqheight
def winfo_reqwidth
def winfo_rgb
def winfo_rootx
def winfo_rooty
def winfo_screen
def winfo_screencells
def winfo_screendepth
def winfo_screenheight
def winfo_screenmmheight
def winfo_screenmmwidth
def winfo_screenvisual
def winfo_screenwidth
def winfo_server
def winfo_toplevel
def winfo_viewable
def winfo_visual
def winfo_visualid
def winfo_visualsavailable
def winfo_vrootheight
def winfo_vrootwidth
def winfo_vrootx
def winfo_vrooty
def winfo_width
def winfo_x
def winfo_y
def _register

Data and other attributes inherited from Misc:

string getdouble = 'float'
string getint = 'int'

Methods inherited from Pack:

def pack_forget
def pack_info
def pack_configure
def pack_configure
def pack_forget
def pack_info

Methods inherited from Place:

def place_configure
def place_configure
def place_forget
def place_info

Methods inherited from Grid:

def grid_configure
def grid_configure
def grid_forget
def grid_info
def grid_remove
def grid_location

Additional Inherited Members

- Public Member Functions inherited from Tkinter.Widget
- Public Member Functions inherited from Tkinter.BaseWidget
- Public Member Functions inherited from Tkinter.Misc
- Public Member Functions inherited from Tkinter.Pack
- Public Member Functions inherited from Tkinter.Place
- Public Member Functions inherited from Tkinter.Grid
- Static Public Attributes inherited from Tkinter.Widget
string getdouble = 'float'
string getint = 'int'
- Static Public Attributes inherited from Tkinter.BaseWidget
string getdouble = 'float'
string getint = 'int'
- Static Public Attributes inherited from Tkinter.Misc
string getdouble = 'float'
string getint = 'int'

Detailed Description

Button widget.

Method resolution order

Button
Widget
BaseWidget
Misc
Pack
Place
Grid

Constructor & Destructor Documentation

def Tkinter.Button.__init__ (   args)
 Construct a button widget with the parent MASTER.
 
 STANDARD OPTIONS
 
     activebackground, activeforeground, anchor,
     background, bitmap, borderwidth, cursor,
     disabledforeground, font, foreground
     highlightbackground, highlightcolor,
     highlightthickness, image, justify,
     padx, pady, relief, repeatdelay,
     repeatinterval, takefocus, text,
     textvariable, underline, wraplength
 
 WIDGET-SPECIFIC OPTIONS
 
     command, compound, default, height,
     overrelief, state, width

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

Member Function Documentation

def Tkinter.Button.__contains__ (   args)
def Tkinter.Button.__setitem__ (   args)
def Tkinter.Button.__str__ (   args)
def Tkinter.Button._register (   args)
private
 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.
def Tkinter.Button.after (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.after_cancel (   args)
 Cancel scheduling of function identified with ID.
 
 Identifier returned by after or after_idle must be
 given as first parameter.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.after_idle (   args)
 Call FUNC once if the Tcl main loop has no event to
 process.
 
 Return an identifier to cancel the scheduling with
 after_cancel.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.bell (   args)
def Tkinter.Button.bind (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.bind_all (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.bind_class (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.bindtags (   args)
 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).

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.cget (   args)
def Tkinter.Button.cget (   args)
def Tkinter.Button.clipboard_append (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.clipboard_clear (   args)
 Clear the data in the Tk clipboard.
 
 A widget specified for the optional displayof keyword
 argument specifies the target display.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.clipboard_get (   args)
 Retrieve data from the clipboard on window's display.
 
 The window keyword defaults to the root window of the Tkinter
 application.
 
 The type keyword specifies the form in which the data is
 to be returned and should be an atom name such as STRING
 or FILE_NAME.  Type defaults to STRING.
 
 This command is equivalent to:
 
 selection_get(CLIPBOARD)

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.colormodel (   args)
def Tkinter.Button.configure (   args)
def Tkinter.Button.configure (   args)
def Tkinter.Button.deletecommand (   args)
def Tkinter.Button.destroy (   args)
def Tkinter.Button.event_add (   args)
 Bind a virtual event VIRTUAL (of the form <<Name>>)
 to an event SEQUENCE such that the virtual event is triggered
 whenever SEQUENCE occurs.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.event_delete (   args)
def Tkinter.Button.event_generate (   args)
 Generate an event SEQUENCE. Additional
 keyword arguments specify parameter of the event
 (e.g. x, y, rootx, rooty).

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.event_info (   args)
def Tkinter.Button.flash (   args)
 Flash the button.
 
 This is accomplished by redisplaying
 the button several times, alternating between active and
 normal colors. At the end of the flash the button is left
 in the same normal/active state as when the command was
 invoked. This command is ignored if the button's state is
 disabled.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.focus_displayof (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.focus_force (   args)
def Tkinter.Button.focus_get (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.focus_lastfor (   args)
 Return the widget which would have the focus if top level
 for this widget gets the focus from the window manager.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.focus_set (   args)
def Tkinter.Button.focus_set (   args)
def Tkinter.Button.getboolean (   args)
def Tkinter.Button.getvar (   args)
def Tkinter.Button.grab_current (   args)
def Tkinter.Button.grab_release (   args)
def Tkinter.Button.grab_set (   args)
def Tkinter.Button.grab_set_global (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.grab_status (   args)
def Tkinter.Button.grid_bbox (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.grid_bbox (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.grid_columnconfigure (   args)
def Tkinter.Button.grid_columnconfigure (   args)
def Tkinter.Button.grid_configure (   args)
 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
 in_=master - see 'in' option description
 ipadx=amount - add internal padding in x direction
 ipady=amount - add internal padding in y direction
 padx=amount - add padding in x direction
 pady=amount - add padding in y direction
 row=number - use cell identified with given row (starting with 0)
 rowspan=number - this widget will span several rows
 sticky=NSEW - if cell is larger on which sides will this
               widget stick to the cell boundary

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.grid_configure (   args)
 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
 in_=master - see 'in' option description
 ipadx=amount - add internal padding in x direction
 ipady=amount - add internal padding in y direction
 padx=amount - add padding in x direction
 pady=amount - add padding in y direction
 row=number - use cell identified with given row (starting with 0)
 rowspan=number - this widget will span several rows
 sticky=NSEW - if cell is larger on which sides will this
               widget stick to the cell boundary

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.grid_forget (   args)
def Tkinter.Button.grid_info (   args)
def Tkinter.Button.grid_location (   args)
def Tkinter.Button.grid_location (   args)
def Tkinter.Button.grid_propagate (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.grid_remove (   args)
def Tkinter.Button.grid_rowconfigure (   args)
def Tkinter.Button.grid_rowconfigure (   args)
def Tkinter.Button.grid_size (   args)
def Tkinter.Button.grid_size (   args)
def Tkinter.Button.grid_slaves (   args)
def Tkinter.Button.image_names (   args)
def Tkinter.Button.image_types (   args)
def Tkinter.Button.invoke (   args)
 Invoke the command associated with the button.
 
 The return value is the return value from the command,
 or an empty string if there is no command associated with
 the button. This command is ignored if the button's state
 is disabled.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.keys (   args)
def Tkinter.Button.lower (   args)
def Tkinter.Button.mainloop (   args)
def Tkinter.Button.nametowidget (   args)
def Tkinter.Button.option_add (   args)
 Set a VALUE (second parameter) for an option
 PATTERN (first parameter).
 
 An optional third parameter gives the numeric priority
 (defaults to 80).

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.option_clear (   args)
def Tkinter.Button.option_get (   args)
 Return the value for an option NAME for this widget
 with CLASSNAME.
 
 Values with higher priority override lower values.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.option_readfile (   args)
def Tkinter.Button.pack_configure (   args)
 Pack a widget in the parent widget. Use as options:
 after=widget - pack it after you have packed widget
 anchor=NSEW (or subset) - position widget according to
                           given direction
 before=widget - pack it before you will pack widget
 expand=bool - expand widget if parent size grows
 fill=NONE or X or Y or BOTH - fill widget if widget grows
 in=master - use master to contain this widget
 in_=master - see 'in' option description
 ipadx=amount - add internal padding in x direction
 ipady=amount - add internal padding in y direction
 padx=amount - add padding in x direction
 pady=amount - add padding in y direction
 side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.pack_configure (   args)
 Pack a widget in the parent widget. Use as options:
 after=widget - pack it after you have packed widget
 anchor=NSEW (or subset) - position widget according to
                           given direction
 before=widget - pack it before you will pack widget
 expand=bool - expand widget if parent size grows
 fill=NONE or X or Y or BOTH - fill widget if widget grows
 in=master - use master to contain this widget
 in_=master - see 'in' option description
 ipadx=amount - add internal padding in x direction
 ipady=amount - add internal padding in y direction
 padx=amount - add padding in x direction
 pady=amount - add padding in y direction
 side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.pack_forget (   args)
def Tkinter.Button.pack_forget (   args)
def Tkinter.Button.pack_info (   args)
def Tkinter.Button.pack_info (   args)
def Tkinter.Button.pack_propagate (   args)
def Tkinter.Button.pack_propagate (   args)
def Tkinter.Button.pack_slaves (   args)
def Tkinter.Button.pack_slaves (   args)
def Tkinter.Button.place_configure (   args)
 Place a widget in the parent widget. Use as options:
 in=master - master relative to which the widget is placed
 in_=master - see 'in' option description
 x=amount - locate anchor of this widget at position x of master
 y=amount - locate anchor of this widget at position y of master
 relx=amount - locate anchor of this widget between 0.0 and 1.0
               relative to width of master (1.0 is right edge)
 rely=amount - locate anchor of this widget between 0.0 and 1.0
               relative to height of master (1.0 is bottom edge)
 anchor=NSEW (or subset) - position anchor according to given direction
 width=amount - width of this widget in pixel
 height=amount - height of this widget in pixel
 relwidth=amount - width of this widget between 0.0 and 1.0
                   relative to width of master (1.0 is the same width
                   as the master)
 relheight=amount - height of this widget between 0.0 and 1.0
                    relative to height of master (1.0 is the same
                    height as the master)
 bordermode="inside" or "outside" - whether to take border width of
                                    master widget into account

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.place_configure (   args)
 Place a widget in the parent widget. Use as options:
 in=master - master relative to which the widget is placed
 in_=master - see 'in' option description
 x=amount - locate anchor of this widget at position x of master
 y=amount - locate anchor of this widget at position y of master
 relx=amount - locate anchor of this widget between 0.0 and 1.0
               relative to width of master (1.0 is right edge)
 rely=amount - locate anchor of this widget between 0.0 and 1.0
               relative to height of master (1.0 is bottom edge)
 anchor=NSEW (or subset) - position anchor according to given direction
 width=amount - width of this widget in pixel
 height=amount - height of this widget in pixel
 relwidth=amount - width of this widget between 0.0 and 1.0
                   relative to width of master (1.0 is the same width
                   as the master)
 relheight=amount - height of this widget between 0.0 and 1.0
                    relative to height of master (1.0 is the same
                    height as the master)
 bordermode="inside" or "outside" - whether to take border width of
                                    master widget into account

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Tributton, Tkinter.Studbutton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.SaveButton, dialog.frame.PasteButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, dialog.frame.CopyButton, componentedit.GadgetCopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.place_forget (   args)
def Tkinter.Button.place_info (   args)
def Tkinter.Button.place_slaves (   args)
def Tkinter.Button.quit (   args)
def Tkinter.Button.selection_clear (   args)
def Tkinter.Button.selection_get (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.selection_handle (   args)
 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).

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.selection_own (   args)
 Become owner of X selection.
 
 A keyword parameter selection specifies the name of
 the selection (default PRIMARY).

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.selection_own_get (   args)
 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).

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.send (   args)
def Tkinter.Button.setvar (   args)
def Tkinter.Button.tk_bisque (   args)
def Tkinter.Button.tk_focusFollowsMouse (   args)
def Tkinter.Button.tk_focusNext (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.tk_focusPrev (   args)
def Tkinter.Button.tk_menuBar (   args)
def Tkinter.Button.tk_setPalette (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.tk_strictMotif (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.tkButtonDown (   args)
def Tkinter.Button.tkButtonEnter (   args)
def Tkinter.Button.tkButtonInvoke (   args)
def Tkinter.Button.tkButtonLeave (   args)
def Tkinter.Button.tkButtonUp (   args)
def Tkinter.Button.tkraise (   args)
def Tkinter.Button.tkraise (   args)
def Tkinter.Button.unbind (   args)
def Tkinter.Button.unbind_all (   args)
def Tkinter.Button.unbind_class (   args)
def Tkinter.Button.update (   args)
def Tkinter.Button.update_idletasks (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.wait_variable (   args)
def Tkinter.Button.wait_variable (   args)
def Tkinter.Button.wait_visibility (   args)
def Tkinter.Button.wait_window (   args)
def Tkinter.Button.winfo_atom (   args)
def Tkinter.Button.winfo_atomname (   args)
def Tkinter.Button.winfo_cells (   args)
def Tkinter.Button.winfo_children (   args)
def Tkinter.Button.winfo_class (   args)
def Tkinter.Button.winfo_colormapfull (   args)
def Tkinter.Button.winfo_containing (   args)
def Tkinter.Button.winfo_depth (   args)
def Tkinter.Button.winfo_exists (   args)
def Tkinter.Button.winfo_fpixels (   args)
def Tkinter.Button.winfo_geometry (   args)
def Tkinter.Button.winfo_height (   args)
def Tkinter.Button.winfo_id (   args)
def Tkinter.Button.winfo_interps (   args)
def Tkinter.Button.winfo_ismapped (   args)
def Tkinter.Button.winfo_manager (   args)
def Tkinter.Button.winfo_name (   args)
def Tkinter.Button.winfo_parent (   args)
def Tkinter.Button.winfo_pathname (   args)
def Tkinter.Button.winfo_pixels (   args)
def Tkinter.Button.winfo_pointerx (   args)
def Tkinter.Button.winfo_pointerxy (   args)
def Tkinter.Button.winfo_pointery (   args)
def Tkinter.Button.winfo_reqheight (   args)
def Tkinter.Button.winfo_reqwidth (   args)
def Tkinter.Button.winfo_rgb (   args)
def Tkinter.Button.winfo_rootx (   args)
def Tkinter.Button.winfo_rooty (   args)
def Tkinter.Button.winfo_screen (   args)
def Tkinter.Button.winfo_screencells (   args)
def Tkinter.Button.winfo_screendepth (   args)
def Tkinter.Button.winfo_screenheight (   args)
def Tkinter.Button.winfo_screenmmheight (   args)
def Tkinter.Button.winfo_screenmmwidth (   args)
def Tkinter.Button.winfo_screenvisual (   args)
 Return one of the strings directcolor, grayscale, pseudocolor,
 staticcolor, staticgray, or truecolor for the default
 colormodel of this screen.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.winfo_screenwidth (   args)
def Tkinter.Button.winfo_server (   args)
 Return information of the X-Server of the screen of this widget in
 the form "XmajorRminor vendor vendorVersion".

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.winfo_toplevel (   args)
def Tkinter.Button.winfo_viewable (   args)
def Tkinter.Button.winfo_visual (   args)
 Return one of the strings directcolor, grayscale, pseudocolor,
 staticcolor, staticgray, or truecolor for the
 colormodel of this widget.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.winfo_visualid (   args)
def Tkinter.Button.winfo_visualsavailable (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.winfo_vrootheight (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.winfo_vrootwidth (   args)
 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.

Reimplemented from Tkinter.Widget.

Reimplemented in Tkinter.Tributton, Tkinter.Studbutton, dialog.frame.SaveButton, dialog.frame.PasteButton, componentedit.GadgetSaveButton, dialog.frame.LoadButton, componentedit.GadgetPasteButton, componentedit.GadgetLoadButton, dialog.frame.CopyButton, and componentedit.GadgetCopyButton.

def Tkinter.Button.winfo_vrootx (   args)
def Tkinter.Button.winfo_vrooty (   args)
def Tkinter.Button.winfo_width (   args)
def Tkinter.Button.winfo_x (   args)
def Tkinter.Button.winfo_y (   args)

Member Data Documentation

string Tkinter.Button.getdouble = 'float'
static
float(x) -> floating point number

Convert a string or number to a floating point number, if possible.
string Tkinter.Button.getint = 'int'
static
int(x[, base]) -> integer

Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.  If base is zero, the proper base is guessed based on the
string content.  If the argument is outside the integer range a
long object will be returned instead.