diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-08-31 04:46:55 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-08-31 04:46:55 +0800 |
commit | c03e143c6cf5cbcf5b3408a81071d064bf0cb4df (patch) | |
tree | 73e913e4efc34d8a294a69b1f6a4ee4f8d6148de /widgets/misc/e-calendar.h | |
parent | e9fd9ec06698877a1082a3ccea622b7446439c55 (diff) | |
download | gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.tar gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.tar.gz gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.tar.bz2 gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.tar.lz gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.tar.xz gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.tar.zst gsoc2013-evolution-c03e143c6cf5cbcf5b3408a81071d064bf0cb4df.zip |
Updated.
2000-08-30 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.[hc]:
* e-calendar.[hc]: Updated.
svn path=/trunk/; revision=5120
Diffstat (limited to 'widgets/misc/e-calendar.h')
-rw-r--r-- | widgets/misc/e-calendar.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/widgets/misc/e-calendar.h b/widgets/misc/e-calendar.h index b0e9c1f985..3c849cc0a1 100644 --- a/widgets/misc/e-calendar.h +++ b/widgets/misc/e-calendar.h @@ -54,13 +54,27 @@ struct _ECalendar ECalendarItem *calitem; - GnomeCanvasItem *prev_item, *next_item; + GtkWidget *today_button; + GtkWidget *none_button; + + GnomeCanvasItem *today_button_item; + GnomeCanvasItem *none_button_item; + + GnomeCanvasItem *prev_item; + GnomeCanvasItem *next_item; gint min_rows; gint min_cols; gint max_rows; gint max_cols; + + /* These are all used when the prev/next buttons are held down. + moving_forward is TRUE if we are moving forward in time, i.e. the + next button is pressed. */ + gint timeout_id; + gint timeout_delay; + gboolean moving_forward; }; struct _ECalendarClass @@ -79,6 +93,19 @@ void e_calendar_set_maximum_size (ECalendar *cal, gint rows, gint cols); +/* Returns the border size on each side of the month displays. */ +void e_calendar_get_border_size (ECalendar *cal, + gint *top, + gint *bottom, + gint *left, + gint *right); + +/* Set which, if any, of the buttons to show beneath the month displays. + You must connect to the button's clicked signal and perform the + required action yourself. */ +void e_calendar_set_buttons (ECalendar *cal, + gboolean show_today_button, + gboolean show_none_button); #ifdef __cplusplus } |