add_widget


Description:

public void add_widget (Widget widget)

Adds a widget to a SizeGroup.

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

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

Parameters:

this

a SizeGroup

widget

the Widget to add




2022 vala-language.org