summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-03-10 00:52:57 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:36:50 +0100
commit2e96770e0b3686380e94d3c82d428958f648c9ec (patch)
treed192f9ee28ee2aa57e86830aa5734e093285a045
parent8a7e035ac731dbf5e50e90221ba57ebe8edbd450 (diff)
downloadgtk+-2e96770e0b3686380e94d3c82d428958f648c9ec.tar.gz
Add GtkStateFlags.
It basically represents GtkStateType as a flag set.
-rw-r--r--gtk/gtkenums.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index d38e5e79d7..d613cb47f5 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -560,6 +560,17 @@ typedef enum
GTK_SCROLL_NATURAL
} GtkScrollablePolicy;
+typedef enum
+{
+ GTK_STATE_FLAG_ACTIVE = 1 << 0,
+ GTK_STATE_FLAG_PRELIGHT = 1 << 1,
+ GTK_STATE_FLAG_SELECTED = 1 << 2,
+ GTK_STATE_FLAG_INSENSITIVE = 1 << 3,
+ GTK_STATE_FLAG_INCONSISTENT = 1 << 4,
+ GTK_STATE_FLAG_FOCUSED = 1 << 5
+} GtkStateFlags;
+
+
G_END_DECLS