Ad d new API to the docs

This commit is contained in:
Matthias Clasen 2016-04-21 22:55:57 -04:00
parent cf14fea5a8
commit 7a7e3fc0e3
2 changed files with 6 additions and 4 deletions

View File

@ -877,6 +877,7 @@ gdk_events_get_center
gdk_events_get_distance
gdk_event_triggers_context_menu
gdk_event_get_seat
gdk_event_get_scancode
<SUBSECTION>
gdk_event_handler_set

View File

@ -2478,10 +2478,11 @@ _gdk_event_set_scancode (GdkEvent *event,
* gdk_event_get_scancode:
* @event: a #GdkEvent
*
* Gets the keyboard low-level scancode.
* This is usually hardware_keycode.
* On Windows this is the high word of WM_KEY{DOWN,UP} lParam
* which contains the scancode and some extended flags.
* Gets the keyboard low-level scancode of a key event.
*
* This is usually hardware_keycode. On Windows this is the high
* word of WM_KEY{DOWN,UP} lParam which contains the scancode and
* some extended flags.
*
* Returns: The associated keyboard scancode or 0
*