set_center_widget


Description:

[ Version ( since = "3.12" ) ]
public void set_center_widget (Widget? widget)

Sets a center widget; that is a child widget that will be centered with respect to the full width of the box, even if the children at either side take up different amounts of space.

Parameters:

this

a Box

widget

the widget to center