summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-02 23:23:36 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-02 23:23:36 -0500
commitcbde3ee01f5dd25cba8107a237ac7c56411543a1 (patch)
treebee55ff457a8609f484fa5926ad41cc6089cdebc /gtk/gtkenums.h
parent574246a3d8a687a14a9104ce93528aa2a7665c90 (diff)
downloadgtk+-cbde3ee01f5dd25cba8107a237ac7c56411543a1.tar.gz
css: Add a :dnd pseudoclass
This will be used for drag highlighting.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 73bc316c42..3d99fd91d2 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -857,6 +857,7 @@ typedef enum
* @GTK_STATE_FLAG_LINK: Widget is a link. Since 3.12
* @GTK_STATE_FLAG_VISITED: The location the widget points to has already been visited. Since 3.12
* @GTK_STATE_FLAG_CHECKED: Widget is checked. Since 3.14
+ * @GTK_STATE_FLAG_DND: Widget is highlighted as a drop target for DND. Since 3.20
*
* Describes a widget state. Widget states are used to match the widget
* against CSS pseudo-classes. Note that GTK extends the regular CSS
@@ -876,7 +877,8 @@ typedef enum
GTK_STATE_FLAG_DIR_RTL = 1 << 8,
GTK_STATE_FLAG_LINK = 1 << 9,
GTK_STATE_FLAG_VISITED = 1 << 10,
- GTK_STATE_FLAG_CHECKED = 1 << 11
+ GTK_STATE_FLAG_CHECKED = 1 << 11,
+ GTK_STATE_FLAG_DND = 1 << 12
} GtkStateFlags;
/**