[gtk+/gtk-style-context: 16/533] Add GtkStateFlags.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 16/533] Add GtkStateFlags.
- Date: Wed, 1 Dec 2010 02:06:59 +0000 (UTC)
commit dc29a65dcbdfc56ed6b920cf91a07e5ffc74cb95
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Mar 10 00:52:57 2010 +0100
Add GtkStateFlags.
It basically represents GtkStateType as a flag set.
gtk/gtkenums.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index d38e5e7..d613cb4 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]