diff options
author | 2013-11-03 12:39:19 +0100 | |
---|---|---|
committer | 2013-11-03 12:39:19 +0100 | |
commit | 7457e16d65f3595ec5eb22df58c2d667632f5f4c (patch) | |
tree | 5f4d6808ac4d21f8a4daf6b8355e488d2cbc5e0a /plugins/gtkui/widgets.h | |
parent | 5d6556e72378fd85af8486eff0777bc320eaaa72 (diff) |
gtkui: added new API function to allow getting container widget from a composite widget
Diffstat (limited to 'plugins/gtkui/widgets.h')
-rw-r--r-- | plugins/gtkui/widgets.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gtkui/widgets.h b/plugins/gtkui/widgets.h index 147effbd..964fb665 100644 --- a/plugins/gtkui/widgets.h +++ b/plugins/gtkui/widgets.h @@ -69,6 +69,11 @@ w_replace (ddb_gtkui_widget_t *w, ddb_gtkui_widget_t *from, ddb_gtkui_widget_t * void w_remove (ddb_gtkui_widget_t *cont, ddb_gtkui_widget_t *child); +// returns actual container widget of a composite widget +// e.g. HBox is contained in EventBox, this function will return the HBox +GtkWidget * +w_get_container (ddb_gtkui_widget_t *w); + ddb_gtkui_widget_t * w_hsplitter_create (void); |