aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/eggtoolbar.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-04-01 03:22:58 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-01 03:22:58 +0800
commit7f0ed6fc4aa39684c079b391b28840cfdfacc7af (patch)
tree9f00ef9f7190dc1a541205df5cf320198a7fbf45 /lib/egg/eggtoolbar.h
parent8c10e78e46c4427326cc9cb7162aa65346048102 (diff)
downloadgsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.tar
gsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.tar.gz
gsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.tar.bz2
gsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.tar.lz
gsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.tar.xz
gsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.tar.zst
gsoc2013-epiphany-7f0ed6fc4aa39684c079b391b28840cfdfacc7af.zip
Use the new EggToolbar apis. Better drop feedback, separators drag and
2003-03-31 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtoolbar.c: (egg_toolbar_class_init), (egg_toolbar_init), (egg_toolbar_unrealize), (egg_toolbar_expose), (egg_toolbar_size_allocate), (find_drop_pos), (egg_toolbar_drag_leave), (egg_toolbar_drag_motion), (egg_toolbar_get_item_index), (egg_toolbar_get_show_arrow), (egg_toolbar_get_drop_index): * lib/egg/eggtoolbar.h: * lib/egg/eggtoolitem.c: (egg_tool_item_get_type), (egg_tool_item_class_init), (create_drag_window), (egg_tool_item_realize), (egg_tool_item_unrealize), (egg_tool_item_map), (egg_tool_item_unmap), (egg_tool_item_size_allocate), (egg_tool_item_set_tooltip), (egg_tool_item_set_use_drag_window): * lib/egg/eggtoolitem.h: * lib/widgets/ephy-editable-toolbar.c: (drag_data_received_cb), (drag_data_get_cb), (connect_item_drag_source), (disconnect_item_drag_source), (popup_toolbar_context_menu), (setup_toolbar), (do_merge), (ephy_editable_toolbar_init), (hide_editor), (update_editor_sheet), (show_editor): * lib/widgets/ephy-toolbars-group.c: (add_action), (ephy_toolbars_group_add_item), (parse_item_list): * lib/widgets/ephy-toolbars-group.h: Use the new EggToolbar apis. Better drop feedback, separators drag and code cleanups.
Diffstat (limited to 'lib/egg/eggtoolbar.h')
-rw-r--r--lib/egg/eggtoolbar.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/egg/eggtoolbar.h b/lib/egg/eggtoolbar.h
index 84d7df6ca..0b07962aa 100644
--- a/lib/egg/eggtoolbar.h
+++ b/lib/egg/eggtoolbar.h
@@ -89,7 +89,7 @@ struct _EggToolbar
guint style_set_connection;
guint icon_size_connection;
-
+
guint style_set : 1;
guint icon_size_set : 1;
};
@@ -124,6 +124,9 @@ void egg_toolbar_insert_tool_item (EggToolbar *toolbar,
void egg_toolbar_remove_tool_item (EggToolbar *toolbar,
EggToolItem *item);
+gint egg_toolbar_get_item_index (EggToolbar *toolbar,
+ EggToolItem *item);
+
/* Style functions */
void egg_toolbar_set_show_arrow (EggToolbar *toolbar,
gboolean show_arrow);
@@ -143,7 +146,9 @@ GtkToolbarStyle egg_toolbar_get_style (EggToolbar *toolbar);
GtkIconSize egg_toolbar_get_icon_size (EggToolbar *toolbar);
gboolean egg_toolbar_get_tooltips (EggToolbar *toolbar);
GList* egg_toolbar_get_tool_items (EggToolbar *toolbar);
-
+gint egg_toolbar_get_drop_index (EggToolbar *toolbar,
+ gint x,
+ gint y);
#ifndef EGG_DISABLE_DEPRECATED