Name
place
Synopsis
w
.place(**place_options
)
Delegates geometry management to the
placer. place_options
may include:
-
anchor
The exact spot of
w
other options refer to: may beN
,E
,S
,W
,NE
,NW
,SE
, orSW
, compass directions indicating the corners and sides ofw
; default isNW
(the upper left corner ofw
)-
bordermode
INSIDE
(the default) to indicate that other options refer to the parent’s inside (ignoring the parent’s border);OUTSIDE
otherwise-
height
,width
Height and width in pixels
-
relheight
,relwidth
Height and width as a float between
0.0
and1.0
, as a fraction of the height and width of the parent widget-
relx
,rely
Horizontal and vertical offset as a float between
0.0
and1.0
, as a fraction of the height and width of the parent widget-
x
,y
Horizontal and vertical offset in pixels
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.