O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required