summaryrefslogtreecommitdiff
path: root/gtk/gtklistbox.h
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2013-08-06 14:57:22 +0200
committerPaolo Borelli <pborelli@gnome.org>2013-08-07 10:52:11 +0200
commit0b200aaa324075dff3aff2e0a764936b5ed204d9 (patch)
treeacf8304d086b7023785d5d52ba986d51e9de4b4f /gtk/gtklistbox.h
parentcdd17183e69a4ddd6e02ca55f2fa0f37efb0c4fa (diff)
downloadgtk+-0b200aaa324075dff3aff2e0a764936b5ed204d9.tar.gz
Add gtk_list_box_prepend
Add a convenience method for prepending rows to a list box without having to fiddle with a sort function. https://bugzilla.gnome.org/show_bug.cgi?id=705558
Diffstat (limited to 'gtk/gtklistbox.h')
-rw-r--r--gtk/gtklistbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtklistbox.h b/gtk/gtklistbox.h
index 161bdb1e8e..d537d7db78 100644
--- a/gtk/gtklistbox.h
+++ b/gtk/gtklistbox.h
@@ -161,6 +161,9 @@ void gtk_list_box_row_changed (GtkListBoxRow *row);
GDK_AVAILABLE_IN_3_10
GType gtk_list_box_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_3_10
+void gtk_list_box_prepend (GtkListBox *list_box,
+ GtkWidget *child);
+GDK_AVAILABLE_IN_3_10
GtkListBoxRow* gtk_list_box_get_selected_row (GtkListBox *list_box);
GDK_AVAILABLE_IN_3_10
GtkListBoxRow* gtk_list_box_get_row_at_index (GtkListBox *list_box,