diff console/libgnt/gntbox.h @ 13943:25be562aaca8

[gaim-migrate @ 16480] New widget GntLine to use as a separator. A partial dialog for add-account callback. Updating the dialog as a result of selection-change in the prpl dropdown is way ickier than I had expected it to be. It 'works' now, but quite a bit quirky. I will try to smooth things up later, perhaps next week. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 10 Jul 2006 23:55:24 +0000
parents 5d5c84239eea
children 8b2306c64efa
line wrap: on
line diff
--- a/console/libgnt/gntbox.h	Mon Jul 10 18:08:11 2006 +0000
+++ b/console/libgnt/gntbox.h	Mon Jul 10 23:55:24 2006 +0000
@@ -62,6 +62,9 @@
 
 GType gnt_box_get_gtype(void);
 
+#define gnt_vbox_new(homo) gnt_box_new(homo, TRUE)
+#define gnt_hbox_new(homo) gnt_box_new(homo, FALSE)
+
 GntWidget *gnt_box_new(gboolean homo, gboolean vert);
 
 void gnt_box_add_widget(GntBox *box, GntWidget *widget);
@@ -76,6 +79,12 @@
 
 void gnt_box_set_alignment(GntBox *box, GntAlignment alignment);
 
+void gnt_box_remove(GntBox *box, GntWidget *widget); /* XXX: does NOT destroy widget */
+
+void gnt_box_remove_all(GntBox *box);      /* Removes AND destroys all the widgets in it */
+
+void gnt_box_readjust(GntBox *box);
+
 G_END_DECLS
 
 #endif /* GNT_BOX_H */