[gtk+/gestures] Document gtk_gesture_set_state



commit dd5a5dee5172fa19f2ba54482ea8fbf4a8f79942
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon May 19 20:17:12 2014 -0400

    Document gtk_gesture_set_state

 gtk/gtkgesture.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index da51f6f..d2d6c3c 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -871,6 +871,20 @@ gtk_gesture_set_sequence_state (GtkGesture            *gesture,
   return TRUE;
 }
 
+/**
+ * gtk_gesture_set_state:
+ * @gesture: a #GtkGesture
+ * @state: the sequence state
+ *
+ * Sets the state of all sequences that @gesture is currently
+ * interacting with. See gtk_gesture_set_sequence_state()
+ * for more details on sequence states.
+ *
+ * Returns: %TRUE if the state of at least one sequence
+ *     was changed successfully.
+ *
+ * Since: 3.14
+ */
 gboolean
 gtk_gesture_set_state (GtkGesture            *gesture,
                        GtkEventSequenceState  state)


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