A VBox is a container where all children are layed out in rows.
Parameters: LandWidget * base
Call this before adding many items to the vbox, then call land_widget_vbox_update when done. This can speed things up, since there is no need to calculate intermediate layouts for each single added item.
Update the vbox, after updates have previously been disabled with land_widget_vbox_disable_updates.
This is called when a child is done adding itself. It’s the earliest time we can calculate the layout.
FIXME: the layout also is calculated in the add method, but that's wrong
Parameters: LandWidget * base, LandWidget * add
Add a widget to the vbox. It will be put to the end, going left to right in columns and top to bottom in rows.
Parameters: LandWidget * base, LandWidget * rem
Remove a widget from the vbox.
Parameters: LandWidget * base, int n
Specify the number of columns for the vbox. By default, it is 1.
Parameters: LandWidget * base, LandWidget * parent, int x, int y, int w, int h
Initialize the given vbox widget.
Parameters: LandWidget * parent, int x, int y, int w, int h
Returns: LandWidget*
Create a new vbox widget.
no parameters