[gtk+] Ad d new API to the docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Ad d new API to the docs
- Date: Fri, 22 Apr 2016 03:05:31 +0000 (UTC)
commit 7a7e3fc0e3460c5f58b1ec1a35ecd66bc9409910
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 21 22:55:57 2016 -0400
Ad d new API to the docs
docs/reference/gdk/gdk3-sections.txt | 1 +
gdk/gdkevents.c | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 64c61b3..114c292 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -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
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index d508dc3..d562a9c 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -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
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]