insert


Description:

[ Version ( since = "3.12" ) ]
public void insert (Widget widget, int position)

Inserts the widget into this at position.

If a sort function is set, the widget will actually be inserted at the calculated position and this function has the same effect as add.

If position is -1, or larger than the total number of children in the this, then the widget will be appended to the end.

Parameters:

this

a FlowBox

widget

the Widget to add

position

the position to insert child in




2022 vala-language.org