summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2013-10-08 11:27:53 +0200
committerBenjamin Otte <otte@redhat.com>2013-11-04 16:36:11 +0100
commit9b1c94319001e55cf56b38b380b9bd05bd8130cc (patch)
treebe10163d2103e14f694486f8376ca658c2a029f4 /gtk/gtkenums.h
parent74dc941c221a13145152d2f3c264bfb564bb7160 (diff)
downloadgtk+-9b1c94319001e55cf56b38b380b9bd05bd8130cc.tar.gz
css parser: Add :link and :visited
... which are both to be used for links instead of the current -GtkWidget-link-color and -GtkWidget-visited-link-color https://bugzilla.gnome.org/show_bug.cgi?id=709629
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 82f5a0a010..c1e0311d41 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -889,6 +889,8 @@ typedef enum
* @GTK_STATE_FLAG_BACKDROP: Widget is in a background toplevel window.
* @GTK_STATE_FLAG_DIR_LTR: Widget is in left-to-right text direction. Since 3.8
* @GTK_STATE_FLAG_DIR_RTL: Widget is in right-to-left text direction. Since 3.8
+ * @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
*
* Describes a widget state. Widget states are used to match the widget
* against CSS pseudo-classes. Note that GTK extends the regular CSS
@@ -905,7 +907,9 @@ typedef enum
GTK_STATE_FLAG_FOCUSED = 1 << 5,
GTK_STATE_FLAG_BACKDROP = 1 << 6,
GTK_STATE_FLAG_DIR_LTR = 1 << 7,
- GTK_STATE_FLAG_DIR_RTL = 1 << 8
+ GTK_STATE_FLAG_DIR_RTL = 1 << 8,
+ GTK_STATE_FLAG_LINK = 1 << 9,
+ GTK_STATE_FLAG_VISITED = 1 << 10
} GtkStateFlags;
/**