Name
place
- place
operation
[arg arg
...] Communicate with the placer, which provides simple fixed placement geometry management of slave windows inside another window called the master.
The place command can take the following forms:
- place
slave
[slave
...] [options
] Same as place configure.
- place configure
slave [slave...] [options
] Place the given
slave
windows into their master. Valid options are as follows:- -in
master
Pathname of window relative to which
slave
is to be placed.Master
must be eitherslave
’s parent (the default) or a descendant ofslave
’s parent. Also,slave
andmaster
must be descendants of the same top-level window.- -x
location
The x-coordinate within the master of the anchor point for
slave
in screen units.- -relx
location
The x-coordinate within the master of the anchor point for
slave
as a relative distance along the master’s width. A value of 0.0 corresponds to the left edge of the master and 1.0 to the right edge.Location
need not be in the range 0.0–1.0. If both -x and -relx are specified, their values are summed.- -y
location
The y-coordinate within the master of the anchor point for
slave
in screen units.- -rely
location
The y-coordinate within the master of the anchor point for
slave
as a relative distance along the master’s height. A value of 0.0 corresponds to the top edge of the master and 1.0 to the bottom edge.Location
need not be in the range 0.0–1.0. If both -y and -rely are specified, their values are summed.- -anchor
anchorPos
Which point of
slave
is to be positioned ...
- -in
- place
Get Tcl/Tk 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.