Package: gtk

Function gtk:size-group-add-widget

Lambda List

gtk:size-group-add-widget (group widget)

Arguments

group -- a gtk:size-group object
widget -- a gtk:widget object to add

Details

Adds a widget to a size group. In the future, the requisition of the widget will be determined as the maximum of its requisition and the requisition of the other widgets in the size group. Whether this applies horizontally, vertically, or in both directions depends on the mode of the size group. See the gtk:size-group-mode function.

When the widget is destroyed or no longer referenced elsewhere, it will be removed from the size group.
 

See also

2025-2-23