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 winReturns the placement parameters of win.
place slaves winReturns 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 winPlaces inside (or relative to) win.
-anchor whereAnchors: center, n, ne, e, se, s, sw, w, or ...

Get Practical Programming in Tcl & Tk, Third Edition 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.