Provides functions for the communication with the window manager.
|
wm_aspect(self,
minNumer=None,
minDenom=None,
maxNumer=None,
maxDenom=None)
Instruct the window manager to set the aspect ratio (width/height) of
this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. |
|
|
|
aspect(self,
minNumer=None,
minDenom=None,
maxNumer=None,
maxDenom=None)
Instruct the window manager to set the aspect ratio (width/height) of
this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. |
|
|
|
wm_attributes(self,
*args)
This subcommand returns or sets platform specific attributes |
|
|
|
attributes(self,
*args)
This subcommand returns or sets platform specific attributes |
|
|
|
wm_client(self,
name=None)
Store NAME in WM_CLIENT_MACHINE property of this widget. |
|
|
|
client(self,
name=None)
Store NAME in WM_CLIENT_MACHINE property of this widget. |
|
|
|
wm_colormapwindows(self,
*wlist)
Store list of window names (WLIST) into WM_COLORMAPWINDOWS property
of this widget. |
|
|
|
colormapwindows(self,
*wlist)
Store list of window names (WLIST) into WM_COLORMAPWINDOWS property
of this widget. |
|
|
|
wm_command(self,
value=None)
Store VALUE in WM_COMMAND property. |
|
|
|
command(self,
value=None)
Store VALUE in WM_COMMAND property. |
|
|
|
|
|
|
|
|
|
focusmodel(self,
model=None)
Set focus model to MODEL. |
|
|
|
wm_frame(self)
Return identifier for decorative frame of this widget if present. |
|
|
|
frame(self)
Return identifier for decorative frame of this widget if present. |
|
|
|
wm_geometry(self,
newGeometry=None)
Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. |
|
|
|
geometry(self,
newGeometry=None)
Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. |
|
|
|
wm_grid(self,
baseWidth=None,
baseHeight=None,
widthInc=None,
heightInc=None)
Instruct the window manager that this widget shall only be resized on
grid boundaries. |
|
|
|
grid(self,
baseWidth=None,
baseHeight=None,
widthInc=None,
heightInc=None)
Instruct the window manager that this widget shall only be resized on
grid boundaries. |
|
|
|
wm_group(self,
pathName=None)
Set the group leader widgets for related widgets to PATHNAME. |
|
|
|
group(self,
pathName=None)
Set the group leader widgets for related widgets to PATHNAME. |
|
|
|
wm_iconbitmap(self,
bitmap=None,
default=None)
Set bitmap for the iconified widget to BITMAP. |
|
|
|
iconbitmap(self,
bitmap=None,
default=None)
Set bitmap for the iconified widget to BITMAP. |
|
|
|
wm_iconify(self)
Display widget as icon. |
|
|
|
iconify(self)
Display widget as icon. |
|
|
|
wm_iconmask(self,
bitmap=None)
Set mask for the icon bitmap of this widget. |
|
|
|
iconmask(self,
bitmap=None)
Set mask for the icon bitmap of this widget. |
|
|
|
wm_iconname(self,
newName=None)
Set the name of the icon for this widget. |
|
|
|
iconname(self,
newName=None)
Set the name of the icon for this widget. |
|
|
|
wm_iconposition(self,
x=None,
y=None)
Set the position of the icon of this widget to X and Y. |
|
|
|
iconposition(self,
x=None,
y=None)
Set the position of the icon of this widget to X and Y. |
|
|
|
wm_iconwindow(self,
pathName=None)
Set widget PATHNAME to be displayed instead of icon. |
|
|
|
iconwindow(self,
pathName=None)
Set widget PATHNAME to be displayed instead of icon. |
|
|
|
wm_maxsize(self,
width=None,
height=None)
Set max WIDTH and HEIGHT for this widget. |
|
|
|
maxsize(self,
width=None,
height=None)
Set max WIDTH and HEIGHT for this widget. |
|
|
|
wm_minsize(self,
width=None,
height=None)
Set min WIDTH and HEIGHT for this widget. |
|
|
|
minsize(self,
width=None,
height=None)
Set min WIDTH and HEIGHT for this widget. |
|
|
|
wm_overrideredirect(self,
boolean=None)
Instruct the window manager to ignore this widget if BOOLEAN is given
with 1. |
|
|
|
overrideredirect(self,
boolean=None)
Instruct the window manager to ignore this widget if BOOLEAN is given
with 1. |
|
|
|
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". |
|
|
|
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_protocol(self,
name=None,
func=None)
Bind function FUNC to command NAME for this widget. |
|
|
|
protocol(self,
name=None,
func=None)
Bind function FUNC to command NAME for this widget. |
|
|
|
wm_resizable(self,
width=None,
height=None)
Instruct the window manager whether this width can be resized in
WIDTH or HEIGHT. |
|
|
|
resizable(self,
width=None,
height=None)
Instruct the window manager whether this width can be resized in
WIDTH or HEIGHT. |
|
|
|
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". |
|
|
|
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)
Query or set the state of this widget as one of normal, icon, iconic
(see wm_iconwindow), withdrawn, or zoomed (Windows only). |
|
|
|
state(self,
newstate=None)
Query or set the state of this widget as one of normal, icon, iconic
(see wm_iconwindow), withdrawn, or zoomed (Windows only). |
|
|
|
wm_title(self,
string=None)
Set the title of this widget. |
|
|
|
title(self,
string=None)
Set the title of this widget. |
|
|
|
wm_transient(self,
master=None)
Instruct the window manager that this widget is transient with regard
to widget MASTER. |
|
|
|
transient(self,
master=None)
Instruct the window manager that this widget is transient with regard
to widget MASTER. |
|
|
|
wm_withdraw(self)
Withdraw this widget from the screen such that it is unmapped and
forgotten by the window manager. |
|
|
|
withdraw(self)
Withdraw this widget from the screen such that it is unmapped and
forgotten by the window manager. |
|
|