aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/eggtoolitem.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/eggtoolitem.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/eggtoolitem.h')
-rw-r--r--lib/egg/eggtoolitem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/egg/eggtoolitem.h b/lib/egg/eggtoolitem.h
index 222e095f9..4c4fea46a 100644
--- a/lib/egg/eggtoolitem.h
+++ b/lib/egg/eggtoolitem.h
@@ -45,12 +45,15 @@ struct _EggToolItem
gchar *tip_text;
gchar *tip_private;
-
+
+ GdkWindow *drag_window;
+
guint visible_horizontal : 1;
guint visible_vertical : 1;
guint homogeneous : 1;
guint expandable : 1;
guint pack_end : 1;
+ guint use_drag_window : 1;
};
struct _EggToolItemClass
@@ -94,5 +97,8 @@ void egg_tool_item_set_tooltip (EggToolItem *tool_item,
GtkTooltips *tooltips,
const gchar *tip_text,
const gchar *tip_private);
+void egg_tool_item_set_use_drag_window (EggToolItem *toolitem,
+ gboolean use_drag_window);
+
#endif /* __EGG_TOOL_ITEM_H__ */