summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2007-07-13 14:25:21 +0000
committerKristian Rietveld <kristian@src.gnome.org>2007-07-13 14:25:21 +0000
commitda989212f391c4c10f9b0136bef3167a33239a26 (patch)
tree50c05881dc032c5e65d9f96f405659cb1f2ba6be /gtk/gtktooltip.h
parent07c3dc414dc6dae8a6c962b54216f587f427359d (diff)
downloadgdk-pixbuf-da989212f391c4c10f9b0136bef3167a33239a26.tar.gz
#408327, improve tooltip positioning.
2007-07-13 Kristian Rietveld <kris@imendio.com> #408327, improve tooltip positioning. * gtk/gtk.symbols: updated. * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out positioning code in here, (gtk_tooltip_set_tip_area): new function to set the tooltip area, (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip once the pointer leaves the tip area. * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row), (gtk_tree_view_set_tooltip_cell): convenience functions to set tip area for row/column/cell. * tests/testtooltips.c (query_tooltip_tree_view_cb): use gtk_tree_view_set_tooltip_row. svn path=/trunk/; revision=18464
Diffstat (limited to 'gtk/gtktooltip.h')
-rw-r--r--gtk/gtktooltip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h
index eb9ff41f5..bc498af47 100644
--- a/gtk/gtktooltip.h
+++ b/gtk/gtktooltip.h
@@ -45,6 +45,9 @@ void gtk_tooltip_set_icon_from_stock (GtkTooltip *tooltip,
void gtk_tooltip_set_custom (GtkTooltip *tooltip,
GtkWidget *custom_widget);
+void gtk_tooltip_set_tip_area (GtkTooltip *tooltip,
+ GdkRectangle *rect);
+
void gtk_tooltip_trigger_tooltip_query (GdkDisplay *display);