From a722e3281e5404a902eefe0f20005f59b5b2d813 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Wed, 23 Nov 2005 08:19:00 +0000 Subject: Added a function to get tooltip tooltip widget 2005-11-23 Srinivasa Ragavan * gui/e-calendar-view.c (tooltip_grab), (get_label), (e_calendar_view_get_tooltips): Added a function to get tooltip tooltip widget * gui/e-calendar-view.h: * gui/e-day-view.c (e_day_view_add_event), (e_day_view_reshape_long_event), (e_day_view_reshape_day_event), (e_day_view_on_text_item_event): Added tooltip for day/work week view. * gui/e-week-view.c (e_week_view_add_event), (tooltip_event_cb), (e_week_view_reshape_event_span), (e_week_view_on_text_item_event): Added tooltip for week/month view. * gui/e-week-view.h: * gui/misc.c (get_position_in_array), (calculate_time): Added a function for converting time to string. * gui/misc.h: svn path=/trunk/; revision=30648 --- calendar/gui/e-calendar-view.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'calendar/gui/e-calendar-view.h') diff --git a/calendar/gui/e-calendar-view.h b/calendar/gui/e-calendar-view.h index 17778e3a2b..8e2d67c477 100644 --- a/calendar/gui/e-calendar-view.h +++ b/calendar/gui/e-calendar-view.h @@ -66,7 +66,11 @@ typedef enum { time_t end; \ guint16 start_minute; \ guint16 end_minute; \ - guint different_timezone : 1; + guint different_timezone : 1; \ + GtkWidget *tooltip; \ + gint timeout; \ + GdkColor *color; \ + gint x,y; typedef struct { E_CALENDAR_VIEW_EVENT_FIELDS @@ -154,7 +158,7 @@ void e_calendar_view_modify_and_send (ECalComponent *comp, GtkWindow *toplevel, gboolean new); - +gboolean e_calendar_view_get_tooltips (ECalendarViewEvent *pevent); G_END_DECLS #endif -- cgit v1.2.3