From 4cdd3016952f17d4d6702b21fe0d3d52cbccd0f8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 14 Feb 2008 18:36:42 +0000 Subject: STR 1867: Documentation fix git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/events.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'documentation') diff --git a/documentation/events.html b/documentation/events.html index 95be13943..d6717de89 100644 --- a/documentation/events.html +++ b/documentation/events.html @@ -55,8 +55,8 @@ The mouse position is in Fl::event_x() and Fl::event_y(). -

To receive FL_DRAG events you must also respond to the -FL_PUSH and FL_RELEASE events. +

In order to receive FL_DRAG events, the widget must +return non-zero when handling FL_PUSH.

FL_RELEASE

@@ -64,12 +64,18 @@ href="Fl.html#Fl.event_y">Fl::event_y(). button by calling Fl::event_button(). +

In order to receive the FL_RELEASE event, the widget must +return non-zero when handling FL_PUSH.

+

FL_MOVE

The mouse has moved without any mouse buttons held down. This event is sent to the Fl::belowmouse() -widget. +widget.

+ +

In order to receive FL_MOVE events, the widget must +return non-zero when handling FL_ENTER.

FL_MOUSEWHEEL

@@ -97,6 +103,9 @@ events.

The mouse has moved out of the widget. +

In order to receive the FL_LEAVE event, the widget must +return non-zero when handling FL_ENTER.

+

FL_FOCUS

This indicates an attempt to give a widget the -- cgit v1.2.3