The grid Command
Table 24-1 summarizes the usage of the grid command.
grid bbox master ?c1 r1? ?c2 r2? | Returns the bounding box, of the whole grid, the cell at c1, r1, or the cells from c1, r1 to c2, r2. |
grid columnconfigure master col ?options? | Sets or queries the configuration of col. Options are -minsize, -weight, and -pad. |
grid configure win ?win ...? ?options? | Grids one or more widgets according to the options, which are given in Table 24-2. |
grid forget win ?win...? | Unmaps the specified windows. |
grid info win | Returns the grid parameters of win. |
grid location master x y | Returns the cell column and row under the point x, y in master. |
grid propagate master ?boolean? | Enables or disables shrink-wrapping of master. |
grid rowconfigure ... |
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.