The place Command
Table 25-1 summarizes the usage of the place command.
Table 25-1. The place command.
|place win ?win ..? ?options?||This is just like place configure.|
|place configure win ?win ...? ?options?||Places one or more widgets according to the options, which are given Table 25-2.|
|place forget win ?win...?||Unmaps the specified windows.|
|place info win||Returns the placement parameters of win.|
|place slaves win||Returns the list of widgets managed by win.|
Table 25-2 summarizes the placement options for a widget. These are set with the place configure command, and the current settings are returned by the place info command.
Table 25-2. Placement options.
|-in win||Places inside (or relative to) win.|
|-anchor where||Anchors: center, n, ne, e, se, s, sw, w, or nw. Default: nw.|
|-x coord||X position, in screen units, of the anchor point.|
|-relx offset||Relative X position. 0.0 is the left edge. 1.0 is the right edge.|
|-y coord||Y position, in screen units, of the anchor point.|
|-rely offset||Relative Y position. 0.0 is the top edge. 1.0 is the bottom edge.|
|-width size||Width of the window, in screen units.|
|-relwidth size||Width relative to parent's width. 1.0 is full width.|
|-height size||Height of the window, in screen units.|
|-relheight size||Height relative to the parent's height. 1.0 is full height.|
|-bordermode mode||If mode is inside, then size and position are inside the parent's border. If mode is outside, then size and position are relative to the outer edge of the parent. The default is inside.|