Commit 52c134e0 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik
Browse files

added usage example to gdk_event_request_motions() docs.

Wed Jul  4 12:20:23 2007  Tim Janik  <timj@imendio.com>

        * gdk/gdkevents.c (gdk_event_request_motions): added usage example
        to gdk_event_request_motions() docs.



svn path=/trunk/; revision=18378
parent 314f5f93
Wed Jul 4 12:20:23 2007 Tim Janik <timj@imendio.com>
* gdk/gdkevents.c (gdk_event_request_motions): added usage example
to gdk_event_request_motions() docs.
2007-07-04 Tor Lillqvist <tml@novell.com>
* gtk/gtkstatusicon.c: On Win32 call
......
......@@ -840,7 +840,17 @@ gdk_event_get_axis (GdkEvent *event,
* This function should be used instead of gdk_window_get_pointer() to
* request further motion notifies, because it also works for extension
* events where motion notifies are provided for devices other than the
* core pointer.
* core pointer. Coordinate extraction, processing and requesting more
* motion events from a %GDK_MOTION_NOTIFY event usually works like this:
*
* <informalexample><programlisting>
* { // motion_event handler
* x = motion_event->x;
* y = motion_event->y;
* ; // handle (x,y) motion
* gdk_event_request_motions (motion_event); // handles is_hint events
* }
* </programlisting></informalexample>
*
* Since: 2.12
**/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment