[gtk/matthiasc/for-master: 14/14] docs: Small revision of input handling overview



commit 71f8649f7fc70aaf8805f5ad1066ceec814c02dc
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 15 08:07:48 2020 -0400

    docs: Small revision of input handling overview
    
    Remove a vestigial touch events section.

 docs/reference/gtk/input-handling.xml | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/docs/reference/gtk/input-handling.xml b/docs/reference/gtk/input-handling.xml
index 4399d04325..4a313b08ae 100644
--- a/docs/reference/gtk/input-handling.xml
+++ b/docs/reference/gtk/input-handling.xml
@@ -73,6 +73,12 @@
      between different events by looking at their type, using
      gdk_event_get_event_type().
     </para>
+    <para>
+      Some events, such as touch events or button press-release pairs,
+      are connected in to each other in an “event sequence” that
+      univocally identifies events that are related to the same
+      interaction.
+    </para>
     <para>
       When GTK creates a GdkSurface, it connects to the #GdkSurface::event
       signal on it, which receives all of these input events. Surfaces have
@@ -181,17 +187,6 @@
     </para>
   </refsect2>
 
-  <refsect2>
-    <title>Touch events</title>
-
-    <para>
-      Touch events are emitted as events of type %GDK_TOUCH_BEGIN,
-      %GDK_TOUCH_UPDATE or %GDK_TOUCH_END, those events contain an
-      “event sequence” that univocally identifies the physical touch
-      until it is lifted from the device.
-    </para>
-  </refsect2>
-
   <refsect2>
     <title>Keyboard input</title>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]