diff options
author | Christopher Davis <christopherdavis@gnome.org> | 2021-09-29 19:45:45 -0700 |
---|---|---|
committer | Christopher Davis <christopherdavis@gnome.org> | 2021-09-29 19:45:45 -0700 |
commit | 531a6b5e63bafd4256867dba066a799890321c3c (patch) | |
tree | b00a50f913c554e7f9d20cdb01272649e893ab4e /gtk/gtkflowbox.h | |
parent | 502b3ceaa29663f70801920077bceaf4138b56d3 (diff) | |
download | gtk+-wip/cdavis/flowbox-add-functions.tar.gz |
gtkflowbox: Add insert() and append()wip/cdavis/flowbox-add-functions
These functions are common across container implementations,
but GtkFlowBox was missing them.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4277
Diffstat (limited to 'gtk/gtkflowbox.h')
-rw-r--r-- | gtk/gtkflowbox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkflowbox.h b/gtk/gtkflowbox.h index 3625d18ddf..8577fc07f5 100644 --- a/gtk/gtkflowbox.h +++ b/gtk/gtkflowbox.h @@ -148,6 +148,12 @@ GDK_AVAILABLE_IN_ALL gboolean gtk_flow_box_get_activate_on_single_click (GtkFlowBox *box); GDK_AVAILABLE_IN_ALL +void gtk_flow_box_prepend (GtkFlowBox *box, + GtkWidget *child); +GDK_AVAILABLE_IN_ALL +void gtk_flow_box_append (GtkFlowBox *box, + GtkWidget *child); +GDK_AVAILABLE_IN_ALL void gtk_flow_box_insert (GtkFlowBox *box, GtkWidget *widget, int position); |