From 113c276df87402803382f26ee6eb1994e2e9f4ff Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sun, 20 Feb 2000 16:17:08 +0000 Subject: Show the text of the item, in a tooltip style. (e_text_event): Add a 2000-02-20 Iain Holmes * widgets/e-text/e-text.[ch] (_do_tooltip): Show the text of the item, in a tooltip style. (e_text_event): Add a timeout on the Enter and remove it on the Leave events. * e-text-test.c: New file to test e-text items. svn path=/trunk/; revision=1866 --- widgets/text/e-text.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets/text/e-text.h') diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index 1254e0fd1c..c44589d3ae 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -173,6 +173,9 @@ struct _EText { GdkCursor *default_cursor; /* Default cursor (arrow) */ GdkCursor *i_cursor; /* I beam cursor */ + + gint tooltip_timeout; /* Timeout for the tooltip */ + GtkWidget *tooltip_window; /* GtkWindow for displaying the tooltip */ }; struct _ETextClass { -- cgit v1.2.3