[gtk/event-recorder: 1/6] docs: Add some information about event axes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/event-recorder: 1/6] docs: Add some information about event axes
- Date: Thu, 16 Dec 2021 02:59:37 +0000 (UTC)
commit abf6068d9149fdc11e7406667bf8b55c1785899a
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 15 17:29:32 2021 -0500
docs: Add some information about event axes
gdk/gdkevents.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 5ce7724eb4..71774ae50e 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -942,6 +942,9 @@ gdk_event_get_pointer_emulated (GdkEvent *event)
* Extract the axis value for a particular axis use from
* an event structure.
*
+ * To find out which axes are used, use [method@Gdk.DeviceTool.get_axes]
+ * on the device tool returned by [method@Gdk.Event.get_device_tool].
+ *
* Returns: %TRUE if the specified axis was found, otherwise %FALSE
*/
gboolean
@@ -1168,6 +1171,9 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence,
*
* Extracts all axis values from an event.
*
+ * To find out which axes are used, use [method@Gdk.DeviceTool.get_axes]
+ * on the device tool returned by [method@Gdk.Event.get_device_tool].
+ *
* Returns: %TRUE on success, otherwise %FALSE
*/
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]