Document new api

This commit is contained in:
Matthias Clasen 2016-05-10 15:22:35 -04:00
parent 0f476590fb
commit 4add8f3b63
2 changed files with 12 additions and 0 deletions

View File

@ -883,6 +883,7 @@ gdk_events_get_distance
gdk_event_triggers_context_menu
gdk_event_get_seat
gdk_event_get_scancode
gdk_event_get_pointer_emulated
<SUBSECTION>
gdk_event_handler_set

View File

@ -609,6 +609,17 @@ gdk_event_set_pointer_emulated (GdkEvent *event,
}
}
/**
* gdk_event_get_pointer_emulated:
* #event: a #GdkEvent
*
* Returns whether this event is an 'emulated' pointer event (typically
* from a touch event), as opposed to a real one.
*
* Returns: %TRUE if this event is emulated
*
* Since: 3.22
*/
gboolean
gdk_event_get_pointer_emulated (GdkEvent *event)
{