summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-02-14 18:36:42 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-02-14 18:36:42 +0000
commit4cdd3016952f17d4d6702b21fe0d3d52cbccd0f8 (patch)
tree72cf7c6034f9c5b96768c99e47a54adfbadb8792 /documentation
parent5d07b1a8001e09c5d7b67e516b7279aa838ffc10 (diff)
STR 1867: Documentation fix
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/events.html15
1 files changed, 12 insertions, 3 deletions
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 <a
href="Fl.html#Fl.event_x"><tt>Fl::event_x()</tt></a> and <a
href="Fl.html#Fl.event_y"><tt>Fl::event_y()</tt></a>.
-<P>To receive <CODE>FL_DRAG</CODE> events you must also respond to the
-<CODE>FL_PUSH</CODE> and <CODE>FL_RELEASE</CODE> events.
+<P>In order to receive <TT>FL_DRAG</TT> events, the widget must
+return non-zero when handling <TT>FL_PUSH</TT>.</P>
<H3>FL_RELEASE</H3>
@@ -64,12 +64,18 @@ href="Fl.html#Fl.event_y"><tt>Fl::event_y()</tt></a>.
button by calling <A
href="Fl.html#Fl.event_button"><TT>Fl::event_button()</TT></A>.
+<P>In order to receive the <TT>FL_RELEASE</TT> event, the widget must
+return non-zero when handling <TT>FL_PUSH</TT>.</P>
+
<H3>FL_MOVE</H3>
<P>The mouse has moved without any mouse buttons held down.
This event is sent to the <A
href="Fl.html#Fl.belowmouse"><TT>Fl::belowmouse()</TT></A>
-widget.
+widget.</P>
+
+<P>In order to receive <TT>FL_MOVE</TT> events, the widget must
+return non-zero when handling <TT>FL_ENTER</TT>.</P>
<H3>FL_MOUSEWHEEL</H3>
@@ -97,6 +103,9 @@ events.
<P>The mouse has moved out of the widget.
+<P>In order to receive the <TT>FL_LEAVE</TT> event, the widget must
+return non-zero when handling <TT>FL_ENTER</TT>.</P>
+
<H3>FL_FOCUS</H3>
<P>This indicates an <I>attempt</I> to give a widget the