tk/grid rowconfigure

(tk/grid 'rowconfigure master index ?#:option value...?)
Query or set the row properties of the index row of the geometry master, master. The valid options are #:minsize, #:weight, #:uniform and #:pad.

If one or more options are provided, then index may be given as a list of row indeces to which the configuration options will operate on.

The #:minsize option sets the minimum size, in screen units, that will be permitted for this row.

The #:weight option (an integer value) sets the relative weight for apportioning any extra spaces among rows. A weight of zero (0) indicates the row will not deviate from its requested size. A row whose weight is two will grow at twice the rate as a row of weight one when extra space is allocated to the layout.

The #:uniform option, when a non-empty value is supplied, places the row in a uniform group with other rows that have the same value for #:uniform. The space for rows belonging to a uniform group is allocated so that their sizes are always in strict proportion to their #:weight values.

The #:pad option specifies the number of screen units that will be added to the largest window contained completely in that row when the grid geometry manager requests a size from the containing window.

If only an option is specified, with no value, the current value of that option is returned.

If only the master window and index is specified, all the current settings are returned in an list of -option value pairs.


© Author | Home | Sitemap