Method

GtkFlowBoxinsert

since: 3.12

Declaration [src]

void
gtk_flow_box_insert (
  GtkFlowBox* box,
  GtkWidget* widget,
  gint position
)

Description [src]

Inserts the widget into box 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 gtk_container_add().

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

Available since: 3.12

Parameters

widget

Type: GtkWidget

The GtkWidget to add.

The data is owned by the caller of the method.
position

Type: gint

The position to insert child in.