Description Usage Arguments Details Author(s)
Request more motion notifies if event
is a motion notify hint event.
This function should be used instead of gdkWindowGetPointer
to
request further motion notifies, because it also works for extension
events where motion notifies are provided for devices other than the
core pointer. Coordinate extraction, processing and requesting more
motion events from a GDK_MOTION_NOTIFY
event usually works like this:
1 | gdkEventRequestMotions(event)
|
|
a valid |
1 2 3 4 5 6 7 | # motion event handler
{
x <- motion_event$x
y <- motion_event$y
# handle (x,y) motion here
motion_event$request_motions() # handles is_hint events
}
|
Since 2.12
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.