DEFINITION MODULE FOR "C" GtkFlowBox ; (* m2-GTK4 - GtkFlowBox and GtkFlowBoxChild: a reflowing grid of widgets. Mapped onto . Children are added directly (gtk_flow_box_append) or wrapped in a GtkFlowBoxChild for custom content. Signal: "child-activated". *) FROM SYSTEM IMPORT ADDRESS; FROM GtkEnums IMPORT GtkSelectionMode; EXPORT UNQUALIFIED GtkFlowBox, GtkFlowBoxChild, gtk_flow_box_new, gtk_flow_box_append, gtk_flow_box_insert, gtk_flow_box_set_max_children_per_line, gtk_flow_box_set_selection_mode, gtk_flow_box_child_new, gtk_flow_box_child_set_child; TYPE GtkFlowBox = ADDRESS; GtkFlowBoxChild = ADDRESS; (* GtkWidget *gtk_flow_box_new(void) *) PROCEDURE gtk_flow_box_new () : GtkFlowBox; (* void gtk_flow_box_append(GtkFlowBox *self, GtkWidget *child) *) PROCEDURE gtk_flow_box_append (self: GtkFlowBox; child: ADDRESS); (* void gtk_flow_box_insert(GtkFlowBox *box, GtkWidget *widget, int position) *) PROCEDURE gtk_flow_box_insert (box: GtkFlowBox; widget: ADDRESS; position: INTEGER); (* void gtk_flow_box_set_max_children_per_line(GtkFlowBox *box, guint n_children) *) PROCEDURE gtk_flow_box_set_max_children_per_line (box: GtkFlowBox; n_children: CARDINAL); (* void gtk_flow_box_set_selection_mode(GtkFlowBox *box, GtkSelectionMode mode) *) PROCEDURE gtk_flow_box_set_selection_mode (box: GtkFlowBox; mode: GtkSelectionMode); (* GtkWidget *gtk_flow_box_child_new(void) *) PROCEDURE gtk_flow_box_child_new () : GtkFlowBoxChild; (* void gtk_flow_box_child_set_child(GtkFlowBoxChild *self, GtkWidget *child) *) PROCEDURE gtk_flow_box_child_set_child (self: GtkFlowBoxChild; child: ADDRESS); END GtkFlowBox.