From 12ba6679acf39fabedc1748a57998a418e549df6 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 28 Jan 2000 06:03:48 +0000 Subject: Handle the grab and ungrab command instead of doing focus by hand. This 2000-01-28 Christopher James Lahey * widgets/e-text.c (e_text_command): Handle the grab and ungrab command instead of doing focus by hand. This fixes a problem related to the scroll wheel. (e_text_command): Reset the blink timer in many more command situations so that the cursor blinks less when you're interacting with it. * widgets/e-text-event-processor-emacs-like.c: Send the grab focus command when starting a selection and the ungrab focus command when ending it. * widgets/e-text-event-processor-types.h: Added grab command type so that the event processor can tell the widget to grab the focus. * widgets/e-reflow.c: Redefined all sizes using #defines so that they can be tweaked later. Added scroll wheel handling and set up adjustment increments so that the scroll bars will work correctly. * widgets/e-minicard.h: Added minicard focus type enum. This doesn't mean anything yet, but it will later be used to say which direction the focus is coming from (below for shift-tab, above for tab.) svn path=/trunk/; revision=1650 --- addressbook/gui/minicard/e-minicard.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'addressbook/gui/minicard/e-minicard.h') diff --git a/addressbook/gui/minicard/e-minicard.h b/addressbook/gui/minicard/e-minicard.h index 98f6ea124a..3be80c1586 100644 --- a/addressbook/gui/minicard/e-minicard.h +++ b/addressbook/gui/minicard/e-minicard.h @@ -48,6 +48,12 @@ extern "C" { typedef struct _EMinicard EMinicard; typedef struct _EMinicardClass EMinicardClass; +typedef enum _EMinicardFocusType EMinicardFocusType; + +enum _EMinicardFocusType { + E_MINICARD_FOCUS_TYPE_START, + E_MINICARD_FOCUS_TYPE_END +}; struct _EMinicard { -- cgit v1.2.3