diff options
author | waker <wakeroid@gmail.com> | 2012-12-01 21:22:39 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-12-01 21:22:39 +0100 |
commit | 47201c70fcf8f85e333bab2d3804fe7a89539b4a (patch) | |
tree | 131ce3e1d527e49d1c8771737ea6bbfb0dd97014 /plugins/gtkui/gtkui_api.h | |
parent | 7d6b9c79cd81241278331becd314984a234aa4df (diff) |
gtkui: layout editor: added childmenu api; added gui for controlling packing properties of child widgets
Diffstat (limited to 'plugins/gtkui/gtkui_api.h')
-rw-r--r-- | plugins/gtkui/gtkui_api.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |