diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-13 03:21:00 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-13 03:21:00 +0800 |
commit | 764f52e639805fe04fc9efbb1a398160fd424e5f (patch) | |
tree | 6d40b33dc86f32014f54102df98934235615db58 /lib/widgets/ephy-toolbars-group.h | |
parent | 87dacf48f3b15b9cef564af8a82b05f4a0b236d9 (diff) | |
download | gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.tar gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.tar.gz gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.tar.bz2 gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.tar.lz gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.tar.xz gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.tar.zst gsoc2013-epiphany-764f52e639805fe04fc9efbb1a398160fd424e5f.zip |
*** empty log message ***
Diffstat (limited to 'lib/widgets/ephy-toolbars-group.h')
-rwxr-xr-x | lib/widgets/ephy-toolbars-group.h | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/lib/widgets/ephy-toolbars-group.h b/lib/widgets/ephy-toolbars-group.h index e997efbf0..d44a5c44c 100755 --- a/lib/widgets/ephy-toolbars-group.h +++ b/lib/widgets/ephy-toolbars-group.h @@ -47,10 +47,13 @@ typedef struct gboolean separator; char *action; GtkWidget *widget; + EphyToolbarsToolbar *parent; } EphyToolbarsItem; -typedef void (*EphyToolbarsGroupForeachToolbarFunc) (EphyToolbarsToolbar *toolbar); -typedef void (*EphyToolbarsGroupForeachItemFunc) (EphyToolbarsItem *item); +typedef void (* EphyToolbarsGroupForeachToolbarFunc) (EphyToolbarsToolbar *toolbar, + gpointer data); +typedef void (* EphyToolbarsGroupForeachItemFunc) (EphyToolbarsItem *item, + gpointer data); struct EphyToolbarsGroup { @@ -70,27 +73,39 @@ GType ephy_toolbars_group_get_type (void); EphyToolbarsGroup *ephy_toolbars_group_new (void); void ephy_toolbars_group_set_source (EphyToolbarsGroup *group, - const char *filename); + const char *defaults, + const char *user); EphyToolbarsToolbar *ephy_toolbars_group_add_toolbar (EphyToolbarsGroup *t); void ephy_toolbars_group_add_item (EphyToolbarsGroup *t, EphyToolbarsToolbar *parent, EphyToolbarsItem *sibling, - const char *type, const char *name); +void ephy_toolbars_group_remove_toolbar (EphyToolbarsGroup *t, + EphyToolbarsToolbar *toolbar); + +void ephy_toolbars_group_remove_item (EphyToolbarsGroup *t, + EphyToolbarsItem *item); + void ephy_toolbars_group_foreach_available (EphyToolbarsGroup *group, - EphyToolbarsGroupForeachToolbarFunc func); + EphyToolbarsGroupForeachItemFunc func, + gpointer data); void ephy_toolbars_group_foreach_toolbar (EphyToolbarsGroup *group, - EphyToolbarsGroupForeachToolbarFunc func); + EphyToolbarsGroupForeachToolbarFunc func, + gpointer data); void ephy_toolbars_group_foreach_item (EphyToolbarsGroup *group, - EphyToolbarsGroupForeachItemFunc func); + EphyToolbarsGroupForeachItemFunc func, + gpointer data); char *ephy_toolbars_group_to_string (EphyToolbarsGroup *t); +char *ephy_toolbars_group_get_path (EphyToolbarsGroup *t, + gpointer item); + G_END_DECLS #endif |