diff options
author | Bolian Yin <bolian.yin@sun.com> | 2003-09-12 14:58:39 +0800 |
---|---|---|
committer | Bolian Yin <byin@src.gnome.org> | 2003-09-12 14:58:39 +0800 |
commit | 98d9d6683aa7923feffd2c7924ddb52ecf071e45 (patch) | |
tree | 4a079a0e5990deaeb6d77793c3ee4bea80fcf74f /calendar/gui/e-week-view.h | |
parent | e0d3bea8e3354a538c60262577f4a9f5474638bf (diff) | |
download | gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.tar gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.tar.gz gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.tar.bz2 gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.tar.lz gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.tar.xz gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.tar.zst gsoc2013-evolution-98d9d6683aa7923feffd2c7924ddb52ecf071e45.zip |
make jump button focusable (e_week_view_on_jump_button_event): key_press
2003-09-12 Bolian Yin <bolian.yin@sun.com>
* e-week-view.c (e_week_view_focus): make jump button focusable
(e_week_view_on_jump_button_event): key_press and focus event for jump button
(e_week_view_jump_to_button_item): new function, jump to the day view.
(e_week_view_is_jump_button_visible): new function.
svn path=/trunk/; revision=22546
Diffstat (limited to 'calendar/gui/e-week-view.h')
-rw-r--r-- | calendar/gui/e-week-view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h index 09a4fa881f..c24470155d 100644 --- a/calendar/gui/e-week-view.h +++ b/calendar/gui/e-week-view.h @@ -170,6 +170,7 @@ struct _EWeekView GnomeCanvasItem *main_canvas_item; GnomeCanvasItem *jump_buttons[E_WEEK_VIEW_MAX_WEEKS * 7]; + gint focused_jump_button; GtkWidget *vscrollbar; @@ -441,6 +442,11 @@ gboolean e_week_view_find_event_from_item (EWeekView *week_view, GnomeCanvasItem *item, gint *event_num_return, gint *span_num_return); + +gboolean e_week_view_is_jump_button_visible (EWeekView *week_view, + gint day); +void e_week_view_jump_to_button_item (EWeekView *week_view, GnomeCanvasItem *item); + #ifdef __cplusplus } #endif /* __cplusplus */ |