Commit 2e96770e authored by Carlos Garnacho's avatar Carlos Garnacho

Add GtkStateFlags.

It basically represents GtkStateType as a flag set.
parent 8a7e035a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment