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

Provides functions for the communication with the window manager. More...

Inheritance diagram for Tkinter.Wm:
Tkinter.Tk Tkinter.Toplevel

Methods defined here:

def wm_aspect
def wm_attributes
def wm_client
def wm_colormapwindows
def wm_command
def wm_deiconify
def wm_focusmodel
def wm_frame
def wm_geometry
def wm_grid
def wm_group
def wm_iconbitmap
def wm_iconify
def wm_iconmask
def wm_iconname
def wm_iconposition
def wm_iconwindow
def wm_maxsize
def wm_minsize
def wm_overrideredirect
def wm_positionfrom
def wm_protocol
def wm_resizable
def wm_sizefrom
def wm_state
def wm_title
def wm_transient
def wm_withdraw
def wm_aspect
def wm_attributes
def wm_client
def wm_colormapwindows
def wm_command
def wm_deiconify
def wm_focusmodel
def wm_frame
def wm_geometry
def wm_grid
def wm_group
def wm_iconbitmap
def wm_iconify
def wm_iconmask
def wm_iconname
def wm_iconposition
def wm_iconwindow
def wm_maxsize
def wm_minsize
def wm_overrideredirect
def wm_positionfrom
def wm_protocol
def wm_resizable
def wm_sizefrom
def wm_state
def wm_title
def wm_transient
def wm_withdraw

Detailed Description

Provides functions for the communication with the window manager.

Member Function Documentation

def Tkinter.Wm.wm_aspect (   args)
 aspect = wm_aspect(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_aspect (   args)
 Instruct the window manager to set the aspect ratio (width/height)
 of this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. Return a tuple
 of the actual values if no argument is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_attributes (   args)
 attributes = wm_attributes(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_attributes (   args)
 This subcommand returns or sets platform specific attributes
 
 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:
 
 On Windows, -disabled gets or sets whether the window is in a
 disabled state. -toolwindow gets or sets the style of the window
 to toolwindow (as defined in the MSDN). -topmost gets or sets
 whether this is a topmost window (displays above all other
 windows).
 
 On Macintosh, XXXXX
 
 On Unix, there are currently no special attribute values.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_client (   args)
 client = wm_client(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_client (   args)
 Store NAME in WM_CLIENT_MACHINE property of this widget. Return
 current value.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_colormapwindows (   args)
 colormapwindows = wm_colormapwindows(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_colormapwindows (   args)
 Store list of window names (WLIST) into WM_COLORMAPWINDOWS property
 of this widget. This list contains windows whose colormaps differ from their
 parents. Return current list of widgets if WLIST is empty.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_command (   args)
 command = wm_command(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_command (   args)
 Store VALUE in WM_COMMAND property. It is the command
 which shall be used to invoke the application. Return current
 command if VALUE is None.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_deiconify (   args)
 deiconify = wm_deiconify(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_deiconify (   args)
 Deiconify this widget. If it was never mapped it will not be mapped.
 On Windows it will raise this widget and give it the focus.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_focusmodel (   args)
 focusmodel = wm_focusmodel(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_focusmodel (   args)
 Set focus model to MODEL. "active" means that this widget will claim
 the focus itself, "passive" means that the window manager shall give
 the focus. Return current focus model if MODEL is None.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_frame (   args)
 frame = wm_frame(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_frame (   args)
 Return identifier for decorative frame of this widget if present.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_geometry (   args)
 geometry = wm_geometry(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_geometry (   args)
 Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
 current value if None is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_grid (   args)
 grid = wm_grid(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_grid (   args)
 Instruct the window manager that this widget shall only be
 resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and
 height of a grid unit in pixels. BASEWIDTH and BASEHEIGHT are the
 number of grid units requested in Tk_GeometryRequest.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_group (   args)
 group = wm_group(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_group (   args)
 Set the group leader widgets for related widgets to PATHNAME. Return
 the group leader of this widget if None is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconbitmap (   args)
 iconbitmap = wm_iconbitmap(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconbitmap (   args)
 Set bitmap for the iconified widget to BITMAP. Return
 the bitmap if None is given.
 
 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
 explicitly.  DEFAULT can be the relative path to a .ico file
 (example: root.iconbitmap(default='myicon.ico') ).  See Tk
 documentation for more information.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconify (   args)
 iconify = wm_iconify(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconify (   args)
 Display widget as icon.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconmask (   args)
 iconmask = wm_iconmask(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconmask (   args)
 Set mask for the icon bitmap of this widget. Return the
 mask if None is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconname (   args)
 iconname = wm_iconname(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconname (   args)
 Set the name of the icon for this widget. Return the name if
 None is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconposition (   args)
 iconposition = wm_iconposition(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconposition (   args)
 Set the position of the icon of this widget to X and Y. Return
 a tuple of the current values of X and X if None is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconwindow (   args)
 iconwindow = wm_iconwindow(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_iconwindow (   args)
 Set widget PATHNAME to be displayed instead of icon. Return the current
 value if None is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_maxsize (   args)
 maxsize = wm_maxsize(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_maxsize (   args)
 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.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_minsize (   args)
 minsize = wm_minsize(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_minsize (   args)
 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.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_overrideredirect (   args)
 overrideredirect = wm_overrideredirect(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_overrideredirect (   args)
 Instruct the window manager to ignore this widget
 if BOOLEAN is given with 1. Return the current value if None
 is given.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_positionfrom (   args)
 positionfrom = wm_positionfrom(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_positionfrom (   args)
 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".

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_protocol (   args)
 protocol = wm_protocol(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_protocol (   args)
 Bind function FUNC to command NAME for this widget.
 Return the function bound to NAME if None is given. NAME could be
 e.g. "WM_SAVE_YOURSELF" or "WM_DELETE_WINDOW".

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_resizable (   args)
 resizable = wm_resizable(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_resizable (   args)
 Instruct the window manager whether this width can be resized
 in WIDTH or HEIGHT. Both values are boolean values.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_sizefrom (   args)
 sizefrom = wm_sizefrom(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_sizefrom (   args)
 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".

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_state (   args)
 state = wm_state(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_state (   args)
 Query or set the state of this widget as one of normal, icon,
 iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_title (   args)
 title = wm_title(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_title (   args)
 Set the title of this widget.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_transient (   args)
 transient = wm_transient(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_transient (   args)
 Instruct the window manager that this widget is transient
 with regard to widget MASTER.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_withdraw (   args)
 withdraw = wm_withdraw(args)

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.

def Tkinter.Wm.wm_withdraw (   args)
 Withdraw this widget from the screen such that it is unmapped
 and forgotten by the window manager. Re-draw it with wm_deiconify.

Reimplemented in Tkinter.Toplevel, Tkinter.Toplevel, Tkinter.Tk, and Tkinter.Tk.