summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-04-09 18:27:11 +0200
committerCarlos Garnacho <carlosg@gnome.org>2014-05-23 19:54:27 +0200
commit48367b14326fc78af27453f3ea6a6022e97abd06 (patch)
tree7c9dfd3e3035b7ad12c50057ca990e540eb3a718 /gtk/gtkenums.h
parentd768c2cb84bdeae0ab6e24884624bc333e1f3a89 (diff)
downloadgtk+-48367b14326fc78af27453f3ea6a6022e97abd06.tar.gz
enums: Add missing docs to controller/gesture enums
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 88770715a3..c2076f5167 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -1074,6 +1074,16 @@ typedef enum
GTK_PHASE_BUBBLE
} GtkPropagationPhase;
+/**
+ * GtkEventSequenceState:
+ * @GTK_EVENT_SEQUENCE_NONE: The sequence is handled, but not grabbed.
+ * @GTK_EVENT_SEQUENCE_CLAIMED: The sequence is handled and grabbed.
+ * @GTK_EVENT_SEQUENCE_DENIED: The sequence is denied.
+ *
+ * Describes the state of a #GdkEventSequence in a #GtkGesture.
+ *
+ * Since: 3.14
+ */
typedef enum
{
GTK_EVENT_SEQUENCE_NONE,
@@ -1081,6 +1091,17 @@ typedef enum
GTK_EVENT_SEQUENCE_DENIED
} GtkEventSequenceState;
+/**
+ * GtkPanDirection:
+ * @GTK_PAN_DIRECTION_LEFT: panned towards the left
+ * @GTK_PAN_DIRECTION_RIGHT: panned towards the right
+ * @GTK_PAN_DIRECTION_UP: panned upwards
+ * @GTK_PAN_DIRECTION_DOWN: panned downwards
+ *
+ * Describes the panning direction of a #GtkGesturePan
+ *
+ * Since: 3.14
+ */
typedef enum
{
GTK_PAN_DIRECTION_LEFT,
@@ -1089,6 +1110,15 @@ typedef enum
GTK_PAN_DIRECTION_DOWN
} GtkPanDirection;
+/**
+ * GtkPanOrientation:
+ * @GTK_PAN_ORIENTATION_VERTICAL: vertical panning allowed
+ * @GTK_PAN_ORIENTATION_HORIZONTAL: horizontal panning allowed
+ *
+ * Describes the panning axis of a #GtkGesturePan
+ *
+ * Since: 3.14
+ */
typedef enum
{
GTK_PAN_ORIENTATION_VERTICAL,