[gtk+/gtk-style-context: 16/251] Add GtkStateFlags.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 16/251] Add GtkStateFlags.
- Date: Tue, 12 Oct 2010 01:56:28 +0000 (UTC)
commit 91ae65e24a302865d942c769046ffa8ab49dfc23
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 | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 1464dee..3f76af1 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -544,6 +544,15 @@ typedef enum
GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
} GtkSizeRequestMode;
+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;
/**
* GtkWrapAllocationMode:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]