X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Ftoolbar.h;h=a7eaf81798c2632512d4de214038097412de1222;hb=0ddddd9112f15fd24249889362417a48945e5e14;hp=7e5df0c4b0a5d6cbb8ac4fb122ed501d3ebe92b6;hpb=42fcbb715d16ba7c2c0a37aab5add4bd64d96079;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h index 7e5df0c4..a7eaf817 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h @@ -20,22 +20,29 @@ #define TOOLBAR_H #include +#include +#include typedef GArray LttvToolbars; -typedef struct _lttv_toolbar_closure { +typedef struct _LttvToolbarClosure { lttvwindow_viewer_constructor con; char * tooltip; char ** pixmap; -} lttv_toolbar_closure; + GtkWidget *widget; +} LttvToolbarClosure; LttvToolbars *lttv_toolbars_new(); void lttv_toolbars_destroy(LttvToolbars *h); -void lttv_toolbars_add(LttvToolbars *h, lttvwindow_viewer_constructor f, char* tooltip, char ** pixmap); +LttvToolbarClosure lttv_toolbars_add(LttvToolbars *h, + lttvwindow_viewer_constructor f, + char* tooltip, + char ** pixmap, + GtkWidget *widget); -gboolean lttv_toolbars_remove(LttvToolbars *h, lttvwindow_viewer_constructor f); +GtkWidget *lttv_toolbars_remove(LttvToolbars *h, lttvwindow_viewer_constructor f); unsigned lttv_toolbars_number(LttvToolbars *h);