<a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * <a class="link" href="ClutterGestureAction.html#clutter-gesture-action-new" title="clutter_gesture_action_new ()">clutter_gesture_action_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGestureAction.html#clutter-gesture-action-get-press-coords" title="clutter_gesture_action_get_press_coords ()">clutter_gesture_action_get_press_coords</a>
(<em class="parameter"><code><a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action</code></em>,
- <em class="parameter"><code><span class="type">guint</span> device</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *press_x</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *press_y</code></em>);
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> device</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *press_x</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *press_y</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGestureAction.html#clutter-gesture-action-get-motion-coords" title="clutter_gesture_action_get_motion_coords ()">clutter_gesture_action_get_motion_coords</a>
(<em class="parameter"><code><a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action</code></em>,
- <em class="parameter"><code><span class="type">guint</span> device</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *motion_x</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *motion_y</code></em>);
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> device</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *motion_x</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *motion_y</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGestureAction.html#clutter-gesture-action-get-release-coords" title="clutter_gesture_action_get_release_coords ()">clutter_gesture_action_get_release_coords</a>
(<em class="parameter"><code><a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action</code></em>,
- <em class="parameter"><code><span class="type">guint</span> device</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *release_x</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *release_y</code></em>);
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> device</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *release_x</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *release_y</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="ClutterGestureAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
- GObject
- +----GInitiallyUnowned
+ <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+ +----<a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
+----<a class="link" href="ClutterAction.html" title="ClutterAction">ClutterAction</a>
+----ClutterGestureAction
<div class="refsect1">
<a name="ClutterGestureAction.signals"></a><h2>Signals</h2>
<pre class="synopsis">
- "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-begin" title='The "gesture-begin" signal'>gesture-begin</a>" : <code class="literal">Run Last</code>
- "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-cancel" title='The "gesture-cancel" signal'>gesture-cancel</a>" : <code class="literal">Run Last</code>
- "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-end" title='The "gesture-end" signal'>gesture-end</a>" : <code class="literal">Run Last</code>
- "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-progress" title='The "gesture-progress" signal'>gesture-progress</a>" : <code class="literal">Run Last</code>
+ "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-begin" title='The "gesture-begin" signal'>gesture-begin</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
+ "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-cancel" title='The "gesture-cancel" signal'>gesture-cancel</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
+ "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-end" title='The "gesture-end" signal'>gesture-end</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
+ "<a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-progress" title='The "gesture-progress" signal'>gesture-progress</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<span class="function"><a href="ClutterActor.html#clutter-actor-add-action">clutter_actor_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> action</span><span class="symbol">);</span>
-<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gesture-begin"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_gesture_begin</span><span class="symbol">),</span><span class="normal"> <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
-<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gesture-progress"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_gesture_progress</span><span class="symbol">),</span><span class="normal"> <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
-<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gesture-end"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_gesture_end</span><span class="symbol">),</span><span class="normal"> <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
+<span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gesture-begin"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_gesture_begin</span><span class="symbol">),</span><span class="normal"> <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
+<span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gesture-progress"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_gesture_progress</span><span class="symbol">),</span><span class="normal"> <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
+<span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gesture-end"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_gesture_end</span><span class="symbol">),</span><span class="normal"> <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
</tr>
</tbody>
</table>
<a name="clutter-gesture-action-get-press-coords"></a><h3>clutter_gesture_action_get_press_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gesture_action_get_press_coords
(<em class="parameter"><code><a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action</code></em>,
- <em class="parameter"><code><span class="type">guint</span> device</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *press_x</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *press_y</code></em>);</pre>
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> device</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *press_x</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *press_y</code></em>);</pre>
<p>
Retrieves the coordinates, in stage space, of the press event
that started the dragging for an specific pointer device
<a name="clutter-gesture-action-get-motion-coords"></a><h3>clutter_gesture_action_get_motion_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gesture_action_get_motion_coords
(<em class="parameter"><code><a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action</code></em>,
- <em class="parameter"><code><span class="type">guint</span> device</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *motion_x</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *motion_y</code></em>);</pre>
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> device</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *motion_x</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *motion_y</code></em>);</pre>
<p>
Retrieves the coordinates, in stage space, of the latest motion
event during the dragging
<a name="clutter-gesture-action-get-release-coords"></a><h3>clutter_gesture_action_get_release_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gesture_action_get_release_coords
(<em class="parameter"><code><a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action</code></em>,
- <em class="parameter"><code><span class="type">guint</span> device</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *release_x</code></em>,
- <em class="parameter"><code><span class="type">gfloat</span> *release_y</code></em>);</pre>
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> device</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *release_x</code></em>,
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *release_y</code></em>);</pre>
<p>
Retrieves the coordinates, in stage space, of the point where the pointer
device was last released.
<a name="ClutterGestureAction.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="ClutterGestureAction-gesture-begin"></a><h3>The <code class="literal">"gesture-begin"</code> signal</h3>
-<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action,
+<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action,
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
- <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::gesture_begin signal is emitted when the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> to which
a <a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> has been applied starts receiving a gesture.
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
-<code class="literal">TRUE</code> if the gesture should start, and <code class="literal">FALSE</code> if
+<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the gesture should start, and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if
the gesture should be ignored.</td>
</tr>
</tbody>
<a name="ClutterGestureAction-gesture-cancel"></a><h3>The <code class="literal">"gesture-cancel"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action,
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
- <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::gesture-cancel signal is emitted when the ongoing gesture gets
cancelled from the <a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-progress" title='The "gesture-progress" signal'><span class="type">"gesture-progress"</span></a> signal handler.
<a name="ClutterGestureAction-gesture-end"></a><h3>The <code class="literal">"gesture-end"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action,
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
- <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::gesture-end signal is emitted at the end of the gesture gesture,
when the pointer's button is released
<hr>
<div class="refsect2">
<a name="ClutterGestureAction-gesture-progress"></a><h3>The <code class="literal">"gesture-progress"</code> signal</h3>
-<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action,
+<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> *action,
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
- <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::gesture-progress signal is emitted for each motion event after
the <a class="link" href="ClutterGestureAction.html#ClutterGestureAction-gesture-begin" title='The "gesture-begin" signal'><span class="type">"gesture-begin"</span></a> signal has been emitted.
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
-<code class="literal">TRUE</code> if the gesture should continue, and <code class="literal">FALSE</code> if
+<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the gesture should continue, and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if
the gesture should be cancelled.</td>
</tr>
</tbody>