PyDocs

Nav

Graphical user interfaces with Tk

Tk

tkinter

class
  • Tk(screenName=None, baseName=None, className='Tk', useTk=True, sync=False, use=None)
Construct a toplevel Tk widget, which is usually the main window of an application, and initialize a Tcl interpreter for this widget. Each instance has its own associated Tcl interpreter. Inherits from Misc and Wm.
Members of Tk

c

children
The immediate descendants of this widget as a dict with the child widget names as the keys and the child instance objects as the values.

d

destroy
Destroy this and all descendant widgets and, for the main window, end the connection to the underlying Tcl interpreter.

l

loadtk
Finish loading and initializing the Tk subsystem.

m

master
The widget object that contains this widget.

r

readprofile
Read and source the user’s profile files .className.tcl and .baseName.tcl into the Tcl interpreter, and execute the corresponding .className.py and .baseName.py files.
report_callback_exception
Report a callback exception.

t

tk
The Tk application object created by instantiating Tk.
0 Examples
No examples for tkinter/Tk.
See Also
No see-alsos for tkinter/Tk
0 Notes
No notes for Tk