Professional Documents
Culture Documents
NAME
DESCRIPTION
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
import tkinter
from tkinter.constants import *
tk = tkinter.Tk()
frame.pack(fill=BOTH,expand=1)
label.pack(fill=X, expand=1)
button = tkinter.Button(frame,text="Exit",command=tk.destroy)
button.pack(side=BOTTOM)
tk.mainloop()
PACKAGE CONTENTS
__main__
colorchooser
commondialog
constants
dialog
dnd
filedialog
font
messagebox
scrolledtext
simpledialog
test (package)
tix
ttk
CLASSES
builtins.object
CallWrapper
Event
Grid
Image
BitmapImage
PhotoImage
Misc
BaseWidget
Toplevel(BaseWidget, Wm)
Button
Checkbutton
Entry(Widget, XView)
Frame
Label
LabelFrame
Menu
Menubutton
OptionMenu
Message
PanedWindow
Radiobutton
Scale
Scrollbar
Spinbox(Widget, XView)
Tk(Misc, Wm)
Pack
Place
Variable
BooleanVar
DoubleVar
IntVar
StringVar
Wm
XView
YView
builtins.str(builtins.object)
EventType(builtins.str, enum.Enum)
enum.Enum(builtins.object)
EventType(builtins.str, enum.Enum)
class BaseWidget(Misc)
|
| Internal class.
| BaseWidget
| Misc
| builtins.object
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
|
| anchor = grid_anchor(self, anchor=None)
| bell(self, displayof=0)
| Bind will return an identifier to allow deletion of the bound function with
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| Return widget which has currently the grab in this application
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| master when no row/column has any weight.
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| Return a list of all existing image names.
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
|
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
|
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
|
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
|
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
|
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class BitmapImage(Image)
| BitmapImage
| Image
| builtins.object
| ----------------------------------------------------------------------
| Methods inherited from Image:
| __del__(self)
| __getitem__(self, key)
| __str__(self)
| Return str(self).
| configure(self, **kw)
| height(self)
| type(self)
| width(self)
|
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class BooleanVar(Variable)
| BooleanVar
| Variable
| builtins.object
| get(self)
| set(self, value)
| ----------------------------------------------------------------------
| __del__(self)
| __eq__(self, other)
| __str__(self)
| such strings.
| trace_info(self)
| trace_vinfo(self)
|
| This deprecated method wraps a deprecated Tcl method that will
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| __hash__ = None
class Button(Widget)
| Button widget.
| Button
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| STANDARD OPTIONS
| highlightbackground, highlightcolor,
| WIDGET-SPECIFIC OPTIONS
|
| command, compound, default, height,
| flash(self)
| disabled.
| invoke(self)
| is disabled.
| ----------------------------------------------------------------------
| destroy(self)
| Destroy this and all descendants widgets.
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
|
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
|
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| Call the mainloop of Tk.
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
|
| register = _register(self, func, subst=None, needcleanup=1)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
|
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
|
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
|
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
|
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| Return a tuple of x and y coordinates of the pointer on the root window.
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
|
| pack = pack_configure(self, cnf={}, **kw)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
|
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class CallWrapper(builtins.object)
| __call__(self, *args)
| Apply first function SUBST to arguments, than FUNC.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| Canvas
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| XView
| YView
| builtins.object
| yscrollcommand, yscrollincrement.
| addtag(self, *args)
| Internal function.
|
| addtag_all(self, newtag)
| All items closer than HALO are considered overlapping (all are
| by X1,Y1,X2,Y2.
| defined by X1,Y1,X2,Y2.
| bbox(self, *args)
| coords(self, *args)
|
| create_oval(self, *args, **kw)
| dchars(self, *args)
| delete(self, *args)
| dtag(self, *args)
| find(self, *args)
| Internal function.
| find_above(self, tagOrId)
| find_all(self)
| find_below(self, tagOrId)
| All items closer than HALO are considered overlapping (all are
| by X1,Y1,X2,Y2.
| find_withtag(self, tagOrId)
| focus(self, *args)
| gettags(self, *args)
| icursor(self, *args)
| index(self, *args)
| insert(self, *args)
|
| itemconfig = itemconfigure(self, tagOrId, cnf=None, **kw)
| move(self, *args)
| rotate, width, x, y.
| scale(self, *args)
| scan_dragto(self, x, y, gain=10)
| scan_mark.
| scan_mark(self, x, y)
| Adjust the end of the selection near the cursor of an item TAGORID to index.
| select_clear(self)
|
| select_item(self)
| Bind to all items with TAGORID at event SEQUENCE a call to function FUNC.
| replace the previous function. See bind for the return value.
| tag_lower(self, *args)
| tag_raise(self, *args)
| Unbind for all items with TAGORID for event SEQUENCE the
|
| tkraise = tag_raise(self, *args)
| type(self, tagOrId)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
|
| bind(self, sequence=None, func=None, add=None)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
|
| FUNC will be called if the event sequence occurs with an
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
|
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
|
| A grab directs all events to this and descendant
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| mainloop(self, n=0)
| Call the mainloop of Tk.
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
|
| register = _register(self, func, subst=None, needcleanup=1)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
|
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
|
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_containing(self, rootX, rootY, displayof=0)
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
|
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| Return the y coordinate of the pointer on the root window.
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
|
| place = place_configure(self, cnf={}, **kw)
| as the master)
| place_forget(self)
| Unmap this widget.
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
| ----------------------------------------------------------------------
| xview(self, *args)
| xview_moveto(self, fraction)
| ----------------------------------------------------------------------
| yview(self, *args)
| yview_moveto(self, fraction)
class Checkbutton(Widget)
| Checkbutton
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| deselect(self)
| flash(self)
|
| invoke(self)
| select(self)
| toggle(self)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
|
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <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
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
|
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
|
| config = configure(self, cnf=None, **kw)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
|
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
|
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| Return owner of X selection.
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| Return the next widget in the focus order which follows
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| Set Tcl internal variable, whether the look and feel
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
|
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
|
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| Return tuple of decimal values for red, green, blue for
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
|
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
|
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| widget in pixel. If there is no virtual root window return the
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
|
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
|
| grid = grid_configure(self, cnf={}, **kw)
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| Unmap this widget but remember the grid options.
| location = grid_location(self, x, y)
class DoubleVar(Variable)
| DoubleVar
| Variable
| builtins.object
| get(self)
| ----------------------------------------------------------------------
| __del__(self)
| __eq__(self, other)
| __str__(self)
| set(self, value)
| such strings.
| trace_info(self)
| trace_vinfo(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| __hash__ = None
| Entry
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| XView
| builtins.object
| xscrollcommand.
| get(self)
| icursor(self, index)
| index(self, index)
| scan_dragto(self, x)
| scan_mark.
| scan_mark(self, x)
| select_clear = selection_clear(self)
| select_present = selection_present(self)
|
| select_to = selection_to(self, index)
| selection_adjust(self, index)
| selection_clear(self)
| selection_from(self, index)
| selection_present(self)
| otherwise.
| selection_to(self, index)
| ----------------------------------------------------------------------
| destroy(self)
| Destroy this and all descendants widgets.
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
|
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
|
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| Call the mainloop of Tk.
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
|
| register = _register(self, func, subst=None, needcleanup=1)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
|
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
|
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_containing(self, rootX, rootY, displayof=0)
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
|
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| Return the y coordinate of the pointer on the root window.
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
|
| place = place_configure(self, cnf={}, **kw)
| as the master)
| place_forget(self)
| Unmap this widget.
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
| ----------------------------------------------------------------------
| xview(self, *args)
| xview_moveto(self, fraction)
class Event(builtins.object)
| Instances of this type are generated if one of the following events occurs:
| following attributes (in braces are the event types for which
| Leave, Motion)
| __repr__(self)
| Return repr(self).
| ----------------------------------------------------------------------
| Data descriptors defined here:
| __dict__
| __weakref__
| An enumeration.
| EventType
| builtins.str
| enum.Enum
| builtins.object
|
| ButtonRelease = <EventType.ButtonRelease: '5'>
|
| NoExpose = <EventType.NoExpose: '14'>
| ----------------------------------------------------------------------
| name
| value
| ----------------------------------------------------------------------
| __members__
| This mapping lists all enum members, including aliases. Note that this
class Frame(Widget)
| Frame widget which may contain other widgets and can have a 3D border.
| Frame
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
|
| __str__(self)
| after_cancel(self, id)
| process.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
|
| deletecommand(self, name)
| Internal function.
|
| event_generate(self, sequence, **kw)
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
|
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
|
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
|
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
|
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
|
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| Return requested width of this widget.
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
|
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
|
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
|
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
|
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Grid(builtins.object)
| forget = grid_forget(self)
| grid_forget(self)
| grid_info(self)
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
|
| A boolean argument specifies whether the geometry information
| grid_remove(self)
| grid_size(self)
| info = grid_info(self)
| location = grid_location(self, x, y)
|
| propagate = grid_propagate(self, flag=['_noarg_'])
| size = grid_size(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class Image(builtins.object)
| __del__(self)
|
| __getitem__(self, key)
| __str__(self)
| Return str(self).
| configure(self, **kw)
| height(self)
| type(self)
| width(self)
|
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class IntVar(Variable)
| IntVar
| Variable
| builtins.object
| get(self)
| ----------------------------------------------------------------------
| __del__(self)
| __eq__(self, other)
| __str__(self)
| set(self, value)
| such strings.
| trace_info(self)
| trace_vinfo(self)
|
| This deprecated method wraps a deprecated Tcl method that will
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| __hash__ = None
class Label(Widget)
| Label
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| STANDARD OPTIONS
| highlightbackground, highlightcolor,
| WIDGET-SPECIFIC OPTIONS
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
|
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
|
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
|
| A grab directs all events to this and descendant
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
|
| propagate = pack_propagate(self, flag=['_noarg_'])
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
|
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| Raise this widget in the stacking order.
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| Return a list of all widgets which are children of this widget.
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| Return height of this widget.
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| Return y coordinate of upper left corner of this widget on the
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
|
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| Return the y offset of the virtual root relative to the root
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
|
| pack_info(self)
| ----------------------------------------------------------------------
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class LabelFrame(Widget)
| labelframe widget.
|
| LabelFrame
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| STANDARD OPTIONS
| highlightbackground, highlightcolor,
| takefocus, text
| WIDGET-SPECIFIC OPTIONS
|
| background, class, colormap, container,
| visual, width
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
|
| A widget specified for the optional displayof keyword
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
|
| The values for resources are specified as keyword
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
|
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
|
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
|
| A boolean argument specifies whether the geometry information
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| Return a list of all resource names of this widget.
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| Return a list of all slaves of this widget
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
|
| selection_handle(self, command, **kw)
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| Wait until the variable is modified.
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| Return number of cells in the colormap for this widget.
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| Return geometry string for this widget in the form "widthxheight+X+Y".
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
|
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
| Listbox
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| XView
| YView
| builtins.object
| activate(self, index)
| bbox(self, index)
| curselection(self)
| index(self, index)
| selectbackground, selectforeground.
| nearest(self, y)
| scan_dragto(self, x, y)
| scan_mark.
| scan_mark(self, x, y)
| see(self, index)
| Scroll such that INDEX is visible.
| selection_anchor(self, index)
| selection_includes(self, index)
| size(self)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
|
| An additional boolean parameter ADD specifies whether FUNC will
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| Set or get the list of bindtags for this widget.
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| Lower this widget in the stacking order.
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
|
| Values with higher priority override lower values.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
|
| quit(self)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
|
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
|
| A single color as argument will cause that all colors of Tk
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets for event SEQUENCE all functions.
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
|
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| Return the number of the cells in the colormap of the screen
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| Return the number of pixels of the width of the screen of
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
|
| Each item in the list consists of a visual name (see winfo_visual), a
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| Return the x coordinate of the upper left corner of this widget
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
|
| pack_configure(self, cnf={}, **kw)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
|
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
| ----------------------------------------------------------------------
| xview(self, *args)
| xview_moveto(self, fraction)
| or "pages" (WHAT).
| ----------------------------------------------------------------------
| yview(self, *args)
| yview_moveto(self, fraction)
class Menu(Widget)
| Menu widget which allows displaying menu bars, pull-down menus and pop-up menus.
| Menu
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| activate(self, index)
| Internal function.
| Add separator.
| index(self, index)
| Return the index of a menu item identified by INDEX.
| Internal function.
| invoke(self, index)
| post(self, x, y)
| Display a menu at position X,Y.
| tk_popup(self, x, y, entry='')
| type(self, index)
| unpost(self)
| Unmap a menu.
| xposition(self, index)
| at INDEX.
| yposition(self, index)
| Return the y-position of the topmost pixel of the menu item at INDEX.
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| Methods inherited from Misc:
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
|
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
|
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| Return the Tkinter instance of a widget identified by
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
|
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
|
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_containing(self, rootX, rootY, displayof=0)
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
|
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| Return the y coordinate of the pointer on the root window.
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
|
| place = place_configure(self, cnf={}, **kw)
| as the master)
| place_forget(self)
| Unmap this widget.
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Menubutton(Widget)
| Menubutton
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
|
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <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
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
|
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
|
| config = configure(self, cnf=None, **kw)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
|
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
|
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| Return owner of X selection.
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| Return the next widget in the focus order which follows
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| Set Tcl internal variable, whether the look and feel
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
|
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
|
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| Return tuple of decimal values for red, green, blue for
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
|
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
|
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| widget in pixel. If there is no virtual root window return the
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
|
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
|
| grid = grid_configure(self, cnf={}, **kw)
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| Unmap this widget but remember the grid options.
| location = grid_location(self, x, y)
class Message(Widget)
| Message widget to display multiline text. Obsolete since Label does it too.
| Message
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
|
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
|
| SEQUENCE is a string of concatenated event
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
|
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| Retrieve data from the clipboard on window's display.
| application.
| selection_get(CLIPBOARD)
|
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| Return the widget which has currently the focus on the
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
|
| If the application currently does not have the focus
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
|
| grid_rowconfigure(self, index, cnf={}, **kw)
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
|
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
|
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
|
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
|
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
|
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
|
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| Return the X identifier for the visual for this widget.
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
|
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
|
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| relheight=amount - height of this widget between 0.0 and 1.0
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Misc(builtins.object)
| Internal class.
|
| Methods defined here:
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| destroy(self)
| Internal function.
|
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| Lower this widget in the stacking order.
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
|
| Values with higher priority override lower values.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
|
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
|
| This function must return the contents of the
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
|
| setvar(self, name='PY_VAR', value='1')
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
|
| unbind(self, sequence, funcid=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
|
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
|
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
|
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| Return the x coordinate of the pointer on the root window.
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
|
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| Return one of the strings directcolor, grayscale, pseudocolor,
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class OptionMenu(Menubutton)
| OptionMenu
| Menubutton
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| __getitem__(self, name)
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
|
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
|
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| Return the Tkinter instance of a widget identified by
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
|
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
|
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_containing(self, rootX, rootY, displayof=0)
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
|
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| Return the y coordinate of the pointer on the root window.
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
|
| place = place_configure(self, cnf={}, **kw)
| as the master)
| place_forget(self)
| Unmap this widget.
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Pack(builtins.object)
| forget = pack_forget(self)
|
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| Return information about the packing options
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| slaves = pack_slaves(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| list of weak references to the object (if defined)
class PanedWindow(Widget)
| panedwindow widget.
| PanedWindow
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| STANDARD OPTIONS
| WIDGET-SPECIFIC OPTIONS
| sashwidth, showhandle,
| identify(self, x, y)
| an empty list.
| are supported:
| after window
| Insert the window after the window specified. window
| before window
| height size
| minsize n
| Tk_GetPixels.
| padx n
| accepted by Tk_GetPixels.
| pady n
| accepted by Tk_GetPixels.
| sticky style
| its cavity.
| width size
| panes(self)
| proxy(self, *args)
| Internal function.
| proxy_coord(self)
| proxy_forget(self)
| proxy_place(self, x, y)
| remove(self, child)
| sash(self, *args)
| Internal function.
|
| sash_coord(self, index)
| Return the current x and y pair for the sash given by index.
| those of the top left corner of the region containing the sash.
| given to the last sash coord command for the given sash. It then
| moves that sash the computed difference. The return value is the
| empty string.
| sash_mark(self, index)
| sash_place(self, index, x, y)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
|
| Identifier returned by after or after_idle must be
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
|
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
|
| The type keyword specifies the form in which the data is
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
|
| event_add(self, virtual, *sequences)
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
|
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
|
| A global grab directs all events to this and
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
|
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
|
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
|
| If no parameter is given self is used.
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| Return the name of all Tcl interpreters for this display.
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
|
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
|
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
|
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
|
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
|
| place = place_configure(self, cnf={}, **kw)
| as the master)
| place_forget(self)
| Unmap this widget.
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class PhotoImage(Image)
| Widget which can display images in PGM, PPM, GIF, PNG format.
| PhotoImage
| Image
| builtins.object
|
| __getitem__(self, key)
| width.
| blank(self)
| cget(self, option)
| copy(self)
| get(self, x, y)
| subsample(self, x, y='')
| Return a new PhotoImage based on the same image as this widget
| but use only every Xth or Yth pixel. If y is not given, the
| transparency_get(self, x, y)
| transparency_set(self, x, y, boolean)
| position FROM_COORDS.
| zoom(self, x, y='')
| ----------------------------------------------------------------------
| __del__(self)
| __str__(self)
| Return str(self).
| configure(self, **kw)
| height(self)
| type(self)
| width(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| list of weak references to the object (if defined)
class Place(builtins.object)
| forget = place_forget(self)
| info = place_info(self)
| as the master)
| place_forget(self)
| place_info(self)
| place_slaves(self)
| slaves = place_slaves(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class Radiobutton(Widget)
| Radiobutton
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| width, wraplength.
| deselect(self)
| flash(self)
| invoke(self)
|
| select(self)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
|
| MS specifies the time in milliseconds. FUNC gives the
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
|
| bind(self, sequence=None, func=None, add=None)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
|
| FUNC will be called if the event sequence occurs with an
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
|
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
|
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| Set grab for this widget.
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
|
| option_get(self, name, className)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
|
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
|
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| Return the number of pixels of the width of the screen of
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
|
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
|
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Scale(Widget)
| Scale
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
|
| coords(self, value=None)
| given.
| get(self)
| identify(self, x, y)
| Return where the point X,Y lies. Valid return values are "slider",
| set(self, value)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
|
| This command is equivalent to:
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
|
| event_delete(self, virtual, *sequences)
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
|
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
|
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| Return None, "local" or "global" if this widget has
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
|
| grid_slaves(self, row=None, column=None)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
|
| option_add(self, pattern, value, priority=None)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| Set or get the status for propagation of geometry information.
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| Become owner of X selection.
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
|
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
|
| If no parameter is given self is used.
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
|
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| Return requested height of this widget.
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| Return information of the X-Server of the screen of this widget in
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| Return the y coordinate of the upper left corner of this widget
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| Return information about the placing options
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Scrollbar(Widget)
| Scrollbar
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
|
| Methods defined here:
| elementborderwidth, highlightbackground,
| troughcolor, width.
| activate(self, index=None)
| the method returns the name of the element that is currently active,
| fraction(self, x, y)
| Return the fractional value which corresponds to a slider
| position of X,Y.
| get(self)
| identify(self, x, y)
| "arrow1","slider","arrow2" or "".
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
|
| This command is equivalent to:
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
|
| event_delete(self, virtual, *sequences)
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
|
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
|
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| Return None, "local" or "global" if this widget has
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
|
| grid_slaves(self, row=None, column=None)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
|
| option_add(self, pattern, value, priority=None)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| Set or get the status for propagation of geometry information.
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| Become owner of X selection.
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
|
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
|
| If no parameter is given self is used.
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
|
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
|
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| Return requested height of this widget.
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| Return information of the X-Server of the screen of this widget in
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| Return the y coordinate of the upper left corner of this widget
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| Return information about the placing options
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
| spinbox widget.
| Spinbox
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| XView
| builtins.object
|
| STANDARD OPTIONS
| highlightbackground, highlightcolor,
| highlightthickness, insertbackground,
| insertborderwidth, insertofftime,
| repeatdelay, repeatinterval,
| selectbackground, selectborderwidth
| xscrollcommand.
| WIDGET-SPECIFIC OPTIONS
| buttonbackground, buttoncursor,
| buttondownrelief, buttonuprelief,
| command, disabledbackground,
| width, wrap,
| bbox(self, index)
| get(self)
| icursor(self, index)
| identify(self, x, y)
| index(self, index)
| insert(self, index, s)
| invoke(self, element)
| scan(self, *args)
| Internal function.
| scan_dragto(self, x)
| scan_mark(self, x)
| selection(self, *args)
| Internal function.
| selection_adjust(self, index)
| given by index,
| selection_clear(self)
| selection_element(self, element=None)
| displayed depressed.
|
| selection_from(self, index)
| selection_present(self)
| otherwise.
| selection_to(self, index)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
|
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
|
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
|
| deletecommand(self, name)
| Internal function.
|
| event_generate(self, sequence, **kw)
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
|
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
|
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
|
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| Return owner of X selection.
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| Return the next widget in the focus order which follows
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| Set Tcl internal variable, whether the look and feel
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
|
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
|
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| Return tuple of decimal values for red, green, blue for
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
|
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
|
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| widget in pixel. If there is no virtual root window return the
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
|
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
|
| grid = grid_configure(self, cnf={}, **kw)
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| Unmap this widget but remember the grid options.
| location = grid_location(self, x, y)
| ----------------------------------------------------------------------
| xview(self, *args)
| xview_moveto(self, fraction)
| or "pages" (WHAT).
class StringVar(Variable)
| StringVar
| Variable
| builtins.object
| get(self)
| ----------------------------------------------------------------------
| __del__(self)
| __eq__(self, other)
| Comparison for equality (==).
| __str__(self)
| set(self, value)
| such strings.
|
| trace_info(self)
|
| MODE is one of "r", "w", "u" for read, write, undefine.
| trace_vinfo(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| __hash__ = None
class Text(Widget, XView, YView)
| Text
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| XView
| YView
| builtins.object
| STANDARD OPTIONS
|
| background, borderwidth, cursor,
| highlightbackground, highlightcolor,
| highlightthickness, insertbackground,
| insertborderwidth, insertofftime,
| relief, selectbackground,
| selectborderwidth, selectforeground,
| setgrid, takefocus,
| xscrollcommand, yscrollcommand,
| WIDGET-SPECIFIC OPTIONS
| bbox(self, index)
|
| count(self, index1, index2, *args)
| The actual items which are counted depends on the options given by
| args. The result is a list of integers, one for the result of each
| debug(self, boolean=None)
| Turn on the internal consistency checks of the B-Tree inside the text
| dlineinfo(self, index)
|
| dump(self, index1, index2=None, command=None, **kw)
| given and true, then the corresponding items are returned. The result
| of the list of triples, with the values of each triple serving as the
| edit(self, *args)
| Internal method
| and edit_undo
|
| edit_modified(self, arg=None)
| edit_redo(self)
| edit_reset(self)
| edit_separator(self)
|
| edit_undo(self)
| image_names(self)
| index(self, index)
| Return the index in the form line.char for INDEX.
| tag can be given in ARGS. Additional CHARS and tags can follow in ARGS.
| mark_names(self)
| mark_next(self, index)
| mark_previous(self, index)
| mark_unset(self, *markNames)
|
| peer_create(self, newPathName, cnf={}, **kw)
| Creates a peer text widget with the given newPathName, and any
| have the same start and end line as the parent widget, but
| peer_names(self)
| See the method insert for some more information about args, and the
| scan_dragto(self, x, y)
| scan_mark.
| scan_mark(self, x, y)
|
| search(self, pattern, index, stopindex=None, forwards=None, backwards=None, exact=None,
regexp=None, nocase=None, count=None, elide=None)
| empty string.
| see(self, index)
| Add tag TAGNAME to all characters between INDEX1 and index2 in ARGS.
| Bind to all characters with TAGNAME at event SEQUENCE a call to function FUNC.
| replace the previous function. See bind for the return value.
| tag_delete(self, *tagNames)
| tag_names(self, index=None)
| Return a list of start and end index for the first sequence of
| characters between INDEX1 and INDEX2 which all have tag TAGNAME.
| Return a list of start and end index for the first sequence of
| characters between INDEX1 and INDEX2 which all have tag TAGNAME.
| tag_ranges(self, tagName)
| Remove tag TAGNAME from all characters between INDEX1 and INDEX2.
| Unbind for all characters with TAGNAME for event SEQUENCE the
| window_names(self)
|
| yview_pickplace(self, *what)
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
|
| MS specifies the time in milliseconds. FUNC gives the
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
|
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
|
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
|
| A grab directs all events to this and descendant
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| Quit the Tcl interpreter. All widgets will be destroyed.
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
|
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| Wait until the visibility of a WIDGET changes
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| Return window class name of this widget.
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| Return identifier ID for this widget.
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
|
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
|
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
|
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
|
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
| ----------------------------------------------------------------------
| xview(self, *args)
| xview_moveto(self, fraction)
| Adjusts the view in the window so that FRACTION of the
| or "pages" (WHAT).
| ----------------------------------------------------------------------
| yview(self, *args)
| yview_moveto(self, fraction)
| Tk
| Misc
| Wm
| builtins.object
| __getattr__(self, attr)
| 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).
| destroy(self)
| loadtk(self)
|
| the Tcl Interpreter and calls exec on the contents of BASENAME.py and
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
|
| after(self, ms, func=None, *args)
| after_cancel(self, id)
| process.
| after_cancel.
|
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| Clear the data in the Tk clipboard.
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| Return a list of all virtual events or the information
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| Release grab for this widget if currently set.
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
|
| grid_bbox(self, column=None, row=None, col2=None, row2=None)
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| Set or get the status for propagation of geometry information.
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
| selection_get(self, **kw)
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
|
| The focus order first goes to the next child, then to
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
|
| A parameter of 1 means adhere to Motif (e.g. no color
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
|
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
|
| winfo_pathname(self, id, displayof=0)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
|
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
|
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
|
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
|
| __weakref__
| ----------------------------------------------------------------------
| deiconify = wm_deiconify(self)
| frame = wm_frame(self)
| iconify = wm_iconify(self)
|
| overrideredirect = wm_overrideredirect(self, boolean=None)
| withdraw = wm_withdraw(self)
| wm_attributes(self, *args)
| The first form returns a list of the platform specific flags and
| their values. The second form returns the value for the specific
| option. The third form sets one or more of the values. The values
| are as follows:
| windows).
| On Macintosh, XXXXX
| wm_client(self, name=None)
| current value.
| wm_colormapwindows(self, *wlist)
| of this widget. This list contains windows whose colormaps differ from their
|
| wm_command(self, value=None)
| wm_deiconify(self)
| wm_focusmodel(self, model=None)
| Set focus model to MODEL. "active" means that this widget will claim
| the focus itself, "passive" means that the window manager shall give
| wm_forget(self, window)
| The window will be unmapped from the screen and will no longer
| windows once they are no longer managed by wm, however, the menu
| wm_frame(self)
| wm_geometry(self, newGeometry=None)
| Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
| resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and
| wm_group(self, pathName=None)
| Set the group leader widgets for related widgets to PATHNAME. Return
| Under Windows, the DEFAULT parameter can be used to set the icon
| for the widget and any descendents that don't have an icon set
| wm_iconify(self)
| wm_iconmask(self, bitmap=None)
| Set mask for the icon bitmap of this widget. Return the
| wm_iconname(self, newName=None)
| Set the name of the icon for this widget. Return the name if
| None is given.
| Sets the titlebar icon for this window based on the named photo
| versa.
| wm_iconwindow(self, pathName=None)
| wm_manage(self, widget)
| The window will be decorated with the window managers title bar,
| etc.
| 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.
| 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.
| wm_overrideredirect(self, boolean=None)
| is given.
| wm_positionfrom(self, who=None)
| 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".
| wm_sizefrom(self, who=None)
| 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".
| wm_state(self, newstate=None)
| wm_title(self, string=None)
| wm_transient(self, master=None)
| wm_withdraw(self)
| Toplevel
| BaseWidget
| Misc
| Wm
| builtins.object
| ----------------------------------------------------------------------
| destroy(self)
| ----------------------------------------------------------------------
|
| __repr__(self)
| Return repr(self).
| __str__(self)
| after_cancel(self, id)
| process.
|
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
|
| bind_all(self, sequence=None, func=None, add=None)
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
|
| clipboard_append(self, string, **kw)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| Return the widget which has currently the focus in the
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
|
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| selection_clear(self, **kw)
|
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
|
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
|
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| Return the number of bits per pixel.
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| Return the window manager name for this widget.
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| screen of this widget.
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| widget in pixels. If there is no virtual root window return the
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| deiconify = wm_deiconify(self)
|
| frame = wm_frame(self)
| iconify = wm_iconify(self)
|
| iconwindow = wm_iconwindow(self, pathName=None)
| withdraw = wm_withdraw(self)
|
| wm_attributes(self, *args)
| The first form returns a list of the platform specific flags and
| their values. The second form returns the value for the specific
| option. The third form sets one or more of the values. The values
| are as follows:
| windows).
| On Macintosh, XXXXX
| wm_client(self, name=None)
| Store NAME in WM_CLIENT_MACHINE property of this widget. Return
| current value.
| wm_colormapwindows(self, *wlist)
| of this widget. This list contains windows whose colormaps differ from their
| wm_command(self, value=None)
| wm_deiconify(self)
| wm_focusmodel(self, model=None)
| Set focus model to MODEL. "active" means that this widget will claim
| the focus itself, "passive" means that the window manager shall give
| wm_forget(self, window)
| The window will be unmapped from the screen and will no longer
| wm_frame(self)
| wm_geometry(self, newGeometry=None)
| resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and
| wm_group(self, pathName=None)
| Set the group leader widgets for related widgets to PATHNAME. Return
|
| Under Windows, the DEFAULT parameter can be used to set the icon
| for the widget and any descendents that don't have an icon set
| wm_iconify(self)
| wm_iconmask(self, bitmap=None)
| Set mask for the icon bitmap of this widget. Return the
| wm_iconname(self, newName=None)
| Set the name of the icon for this widget. Return the name if
| None is given.
| Sets the titlebar icon for this window based on the named photo
| versa.
| wm_iconwindow(self, pathName=None)
| wm_manage(self, widget)
| The window will be decorated with the window managers title bar,
| etc.
|
| 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.
| 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.
| wm_overrideredirect(self, boolean=None)
| is given.
| wm_positionfrom(self, who=None)
| 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".
| wm_sizefrom(self, who=None)
| 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".
| wm_state(self, newstate=None)
| wm_title(self, string=None)
| wm_transient(self, master=None)
| wm_withdraw(self)
| __del__(self)
| __eq__(self, other)
| Construct a variable
| __str__(self)
| get(self)
| set(self, value)
| such strings.
|
| Return the name of the callback.
| trace_info(self)
| trace_vinfo(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| __hash__ = None
| Internal class.
| Base class for a widget which can be positioned with the geometry managers
| Widget
| BaseWidget
| Misc
| Pack
| Place
| Grid
| builtins.object
| destroy(self)
| ----------------------------------------------------------------------
| __repr__(self)
| Return repr(self).
| __str__(self)
|
| after_cancel(self, id)
| process.
| after_cancel.
| bell(self, displayof=0)
| <Alt-A> for pressing A and the Alt key (KeyPress can be omitted).
| Bind will return an identifier to allow deletion of the bound function with
| it will replace the previous function. See bind for the return value.
| bindtags(self, tagList=None)
| set to this list. The bindtags determine in which order events are
| cget(self, key)
| clipboard_clear(self, **kw)
| clipboard_get(self, **kw)
|
| The window keyword defaults to the root window of the Tkinter
| application.
| selection_get(CLIPBOARD)
| deletecommand(self, name)
| Internal function.
|
| event_info(self, virtual=None)
| focus = focus_set(self)
| focus_displayof(self)
| focus_force(self)
| caution!
| focus_get(self)
| application.
| the focus.
| focus_lastfor(self)
| Return the widget which would have the focus if top level
| for this widget gets the focus from the window manager.
| focus_set(self)
| getboolean(self, s)
| Return a boolean value for Tcl boolean values true and false given as parameter.
| getdouble(self, s)
| getint(self, s)
| getvar(self, name='PY_VAR')
| grab_current(self)
| or None.
| grab_release(self)
| grab_set(self)
|
| grab_set_global(self)
| grab_status(self)
| grid_anchor(self, anchor=None)
| The anchor value controls how to place the grid within the
| grid_location(self, x, y)
| widget is located.
| grid_propagate(self, flag=['_noarg_'])
| grid_size(self)
| image_names(self)
| image_types(self)
| keys(self)
| lower(self, belowThis=None)
| mainloop(self, n=0)
| nametowidget(self, name)
| (defaults to 80).
| option_clear(self)
| with CLASSNAME.
| priority.
| pack_propagate(self, flag=['_noarg_'])
| pack_slaves(self)
| place_slaves(self)
| quit(self)
| Quit the Tcl interpreter. All widgets will be destroyed.
| selection_clear(self, **kw)
| selection_get(self, **kw)
| before STRING.
| application.
| selection_own(self, **kw)
| selection_own_get(self, **kw)
| be provided:
| size = grid_size(self)
| slaves = pack_slaves(self)
| tk_bisque(self)
| Change the color scheme to light brown as used in Tk 3.6 and before.
| tk_focusFollowsMouse(self)
| The widget under mouse will get automatically focus. Can not
| be disabled easily.
| tk_focusNext(self)
| to 0.
| tk_focusPrev(self)
| Return previous widget in the focus order. See tk_focusNext for details.
|
| tk_strictMotif(self, boolean=None)
| tkraise(self, aboveThis=None)
| unbind_all(self, sequence)
| Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
| all functions.
| update(self)
| Enter event loop until all pending events have been processed by Tcl.
| update_idletasks(self)
| 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.
| wait_variable(self, name='PY_VAR')
| wait_visibility(self, window=None)
| Wait until the visibility of a WIDGET changes
| (e.g. it appears).
| wait_window(self, window=None)
| winfo_cells(self)
| winfo_children(self)
| winfo_class(self)
| Return window class name of this widget.
| winfo_colormapfull(self)
| Return True if at the last color request the colormap was full.
| winfo_depth(self)
| winfo_exists(self)
| winfo_fpixels(self, number)
| winfo_geometry(self)
| winfo_height(self)
| winfo_id(self)
| Return identifier ID for this widget.
| winfo_interps(self, displayof=0)
| winfo_ismapped(self)
| winfo_manager(self)
| winfo_name(self)
| winfo_parent(self)
| winfo_pixels(self, number)
| winfo_pointerx(self)
| winfo_pointerxy(self)
| winfo_pointery(self)
| winfo_reqheight(self)
| winfo_reqwidth(self)
| winfo_rgb(self, color)
| winfo_rootx(self)
| root window.
| winfo_rooty(self)
| root window.
|
| winfo_screen(self)
| winfo_screencells(self)
| of this widget.
| winfo_screendepth(self)
| Return the number of bits per pixel of the root window of the
| winfo_screenheight(self)
| Return the number of pixels of the height of the screen of this widget
| in pixel.
| winfo_screenmmheight(self)
| winfo_screenmmwidth(self)
| winfo_screenvisual(self)
| winfo_screenwidth(self)
| winfo_server(self)
| winfo_toplevel(self)
| winfo_viewable(self)
| Return true if the widget and all its higher ancestors are mapped.
| winfo_visual(self)
| winfo_visualid(self)
|
| winfo_visualsavailable(self, includeids=False)
| of this widget.
| winfo_vrootheight(self)
| Return the height of the virtual root window associated with this
| winfo_vrootwidth(self)
| Return the width of the virtual root window associated with this
| winfo_vrootx(self)
| winfo_vrooty(self)
|
| winfo_width(self)
| winfo_x(self)
| in the parent.
| winfo_y(self)
| in the parent.
| ----------------------------------------------------------------------
| __dict__
| __weakref__
| ----------------------------------------------------------------------
| forget = pack_forget(self)
|
| info = pack_info(self)
| given direction
| pack_forget(self)
| Unmap this widget and do not use it for the packing order.
| pack_info(self)
| ----------------------------------------------------------------------
| as the master)
| place_forget(self)
| place_info(self)
| ----------------------------------------------------------------------
| grid_forget(self)
| grid_info(self)
| grid_remove(self)
| location = grid_location(self, x, y)
class Wm(builtins.object)
|
| attributes = wm_attributes(self, *args)
| deiconify = wm_deiconify(self)
| frame = wm_frame(self)
| iconify = wm_iconify(self)
|
|
| sizefrom = wm_sizefrom(self, who=None)
| withdraw = wm_withdraw(self)
| wm_attributes(self, *args)
| The first form returns a list of the platform specific flags and
| their values. The second form returns the value for the specific
| option. The third form sets one or more of the values. The values
| are as follows:
| windows).
| On Macintosh, XXXXX
| wm_client(self, name=None)
| current value.
| wm_colormapwindows(self, *wlist)
| of this widget. This list contains windows whose colormaps differ from their
| wm_command(self, value=None)
| wm_deiconify(self)
| wm_focusmodel(self, model=None)
| Set focus model to MODEL. "active" means that this widget will claim
| the focus itself, "passive" means that the window manager shall give
| wm_forget(self, window)
| The window will be unmapped from the screen and will no longer
| windows once they are no longer managed by wm, however, the menu
| wm_frame(self)
| wm_geometry(self, newGeometry=None)
| resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and
| wm_group(self, pathName=None)
| Set the group leader widgets for related widgets to PATHNAME. Return
| Under Windows, the DEFAULT parameter can be used to set the icon
| for the widget and any descendents that don't have an icon set
| wm_iconify(self)
| wm_iconmask(self, bitmap=None)
| Set mask for the icon bitmap of this widget. Return the
| wm_iconname(self, newName=None)
| Set the name of the icon for this widget. Return the name if
| None is given.
|
| Sets the titlebar icon for this window based on the named photo
| versa.
| wm_iconwindow(self, pathName=None)
| wm_manage(self, widget)
| The window will be decorated with the window managers title bar,
| etc.
| 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.
| 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.
| wm_overrideredirect(self, boolean=None)
| is given.
|
| wm_positionfrom(self, who=None)
| 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".
| wm_sizefrom(self, who=None)
| 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".
| wm_state(self, newstate=None)
| wm_title(self, string=None)
| wm_transient(self, master=None)
| wm_withdraw(self)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class XView(builtins.object)
| of a widget's window.
| xview(self, *args)
| Query and change the horizontal position of the view.
| xview_moveto(self, fraction)
| or "pages" (WHAT).
| ----------------------------------------------------------------------
| __dict__
| __weakref__
class YView(builtins.object)
| of a widget's window.
|
| yview(self, *args)
| yview_moveto(self, fraction)
| ----------------------------------------------------------------------
| __dict__
| __weakref__
FUNCTIONS
NoDefaultRoot()
getboolean(s)
image_names()
image_types()
mainloop(n=0)
DATA
ACTIVE = 'active'
ALL = 'all'
ANCHOR = 'anchor'
ARC = 'arc'
BASELINE = 'baseline'
BEVEL = 'bevel'
BOTH = 'both'
BOTTOM = 'bottom'
BROWSE = 'browse'
BUTT = 'butt'
CASCADE = 'cascade'
CENTER = 'center'
CHAR = 'char'
CHECKBUTTON = 'checkbutton'
CHORD = 'chord'
COMMAND = 'command'
CURRENT = 'current'
DISABLED = 'disabled'
DOTBOX = 'dotbox'
E = 'e'
END = 'end'
EW = 'ew'
EXCEPTION = 8
EXTENDED = 'extended'
FALSE = 0
FIRST = 'first'
FLAT = 'flat'
GROOVE = 'groove'
HIDDEN = 'hidden'
HORIZONTAL = 'horizontal'
INSERT = 'insert'
INSIDE = 'inside'
LAST = 'last'
LEFT = 'left'
MITER = 'miter'
MOVETO = 'moveto'
MULTIPLE = 'multiple'
N = 'n'
NE = 'ne'
NO = 0
NONE = 'none'
NORMAL = 'normal'
NS = 'ns'
NSEW = 'nsew'
NUMERIC = 'numeric'
NW = 'nw'
OFF = 0
ON = 1
OUTSIDE = 'outside'
PAGES = 'pages'
PIESLICE = 'pieslice'
PROJECTING = 'projecting'
RADIOBUTTON = 'radiobutton'
RAISED = 'raised'
READABLE = 2
RIDGE = 'ridge'
RIGHT = 'right'
ROUND = 'round'
S = 's'
SCROLL = 'scroll'
SE = 'se'
SEL = 'sel'
SEL_FIRST = 'sel.first'
SEL_LAST = 'sel.last'
SEPARATOR = 'separator'
SINGLE = 'single'
SOLID = 'solid'
SUNKEN = 'sunken'
SW = 'sw'
TOP = 'top'
TRUE = 1
TclVersion = 8.6
TkVersion = 8.6
UNDERLINE = 'underline'
UNITS = 'units'
VERTICAL = 'vertical'
W = 'w'
WORD = 'word'
WRITABLE = 4
X = 'x'
Y = 'y'
YES = 1
wantobjects = 1
FILE
c:\users\user\appdata\local\programs\python\python38-32\lib\tkinter\__init__.py