forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
314f5f93fc
commit
52c134e007
@ -1,3 +1,8 @@
|
||||
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
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user