--- a/gntbox.c Sat Apr 26 21:08:57 2014 +0200
+++ b/gntbox.c Sat Apr 26 22:07:58 2014 +0200
@@ -677,6 +677,12 @@
widget->parent = GNT_WIDGET(b);
+void gnt_box_add_widget_in_front(GntBox *b, GntWidget *widget) + b->list = g_list_prepend(b->list, widget); + widget->parent = GNT_WIDGET(b); void gnt_box_set_title(GntBox *b, const char *title)
--- a/gntbox.h Sat Apr 26 21:08:57 2014 +0200
+++ b/gntbox.h Sat Apr 26 22:07:58 2014 +0200
@@ -125,6 +125,17 @@
void gnt_box_add_widget(GntBox *box, GntWidget *widget);
+ * gnt_box_add_widget_in_front: + * @widget: The widget to add + * Add a widget in the box at its front. +void gnt_box_add_widget_in_front(GntBox *b, GntWidget *widget); * @title: The title to set