From 47201c70fcf8f85e333bab2d3804fe7a89539b4a Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 1 Dec 2012 21:22:39 +0100 Subject: gtkui: layout editor: added childmenu api; added gui for controlling packing properties of child widgets --- plugins/gtkui/gtkui_api.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/gtkui/gtkui_api.h') diff --git a/plugins/gtkui/gtkui_api.h b/plugins/gtkui/gtkui_api.h index 30bf7090..d9482d17 100644 --- a/plugins/gtkui/gtkui_api.h +++ b/plugins/gtkui/gtkui_api.h @@ -84,6 +84,10 @@ typedef struct ddb_gtkui_widget_s { // this will be called to setup the menu widget in design mode void (*initmenu) (struct ddb_gtkui_widget_s *w, GtkWidget *menu); + // this will be called to setup the child menu widget in design mode + // for example, to add "expand"/"fill" options for hbox/vbox children + void (*initchildmenu) (struct ddb_gtkui_widget_s *w, GtkWidget *menu); + // you shouldn't touch this list normally, the system takes care of it struct ddb_gtkui_widget_s *children; struct ddb_gtkui_widget_s *next; // points to next widget in the same container -- cgit v1.2.3