summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2012-10-01 16:15:06 +0200
committerEmanuele Aina <emanuele.aina@collabora.com>2012-10-19 13:41:31 +0200
commit61f2d751d08aeade38b67f477bf4273e04231995 (patch)
tree5cef3c45898735416ff16413dad7168fad7d66c0 /doc
parentbd1febb2eaa73c2925785e3b5f5a7d7ab70d9692 (diff)
downloadclutter-61f2d751d08aeade38b67f477bf4273e04231995.tar.gz
tap-action: Add TapAction, to handle mouse/touch tapping
TapAction is a GestureAction-subclass that handles clicks and tap gestures. It is meant to provide a replacement for ClickAction using GestureAction: • it handles events trasparently without capturing them, so that it can coexists with other GestureActions; • the ::tap signal is not emitted if the drag threshold is exceeded; • building upon GestureAction the amount of code is greatly reduced. TapAction provides: • tap signal, notifying users when a tap has been performed. The image-content example program has been updated replacing its ClickAction usage with TapAction. https://bugzilla.gnome.org/show_bug.cgi?id=683948
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/clutter/clutter-docs.xml.in1
-rw-r--r--doc/reference/clutter/clutter-sections.txt17
-rw-r--r--doc/reference/clutter/clutter.types1
3 files changed, 19 insertions, 0 deletions
diff --git a/doc/reference/clutter/clutter-docs.xml.in b/doc/reference/clutter/clutter-docs.xml.in
index 08aa2494c..10ea5872b 100644
--- a/doc/reference/clutter/clutter-docs.xml.in
+++ b/doc/reference/clutter/clutter-docs.xml.in
@@ -100,6 +100,7 @@
<xi:include href="xml/clutter-swipe-action.xml"/>
<xi:include href="xml/clutter-rotate-action.xml"/>
<xi:include href="xml/clutter-zoom-action.xml"/>
+ <xi:include href="xml/clutter-tap-action.xml"/>
</chapter>
<chapter>
diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt
index 287644395..c3c701c0e 100644
--- a/doc/reference/clutter/clutter-sections.txt
+++ b/doc/reference/clutter/clutter-sections.txt
@@ -3483,3 +3483,20 @@ CLUTTER_PAN_ACTION_GET_CLASS
ClutterPanActionPrivate
clutter_pan_action_get_type
</SECTION>
+
+<SECTION>
+<FILE>clutter-tap-action</FILE>
+ClutterTapAction
+ClutterTapActionClass
+clutter_tap_action_new
+<SUBSECTION Standard>
+CLUTTER_IS_TAP_ACTION
+CLUTTER_IS_TAP_ACTION_CLASS
+CLUTTER_TYPE_TAP_ACTION
+CLUTTER_TAP_ACTION
+CLUTTER_TAP_ACTION_CLASS
+CLUTTER_TAP_ACTION_GET_CLASS
+<SUBSECTION Private>
+ClutterTapActionPrivate
+clutter_tap_action_get_type
+</SECTION>
diff --git a/doc/reference/clutter/clutter.types b/doc/reference/clutter/clutter.types
index cc6d8b2c9..1fd1996de 100644
--- a/doc/reference/clutter/clutter.types
+++ b/doc/reference/clutter/clutter.types
@@ -74,6 +74,7 @@ clutter_stage_manager_get_type
clutter_state_get_type
clutter_swipe_action_get_type
clutter_table_layout_get_type
+clutter_tap_action_get_type
clutter_text_buffer_get_type
clutter_text_get_type
clutter_texture_get_type