mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
gtkenums: add GTK_STATE_FLAG_NORMAL = 0
Allows a more readable omission of GtkStateFlag arguments. Bug #638608
This commit is contained in:
parent
83058bf2ca
commit
d0a3846eb1
@ -581,6 +581,7 @@ typedef enum
|
||||
|
||||
/**
|
||||
* GtkStateFlags:
|
||||
* @GTK_STATE_FLAG_NORMAL: State during normal operation.
|
||||
* @GTK_STATE_FLAG_ACTIVE: Widget is active.
|
||||
* @GTK_STATE_FLAG_PRELIGHT: Widget has a mouse pointer over it.
|
||||
* @GTK_STATE_FLAG_SELECTED: Widget is selected.
|
||||
@ -592,6 +593,7 @@ typedef enum
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
GTK_STATE_FLAG_NORMAL = 0,
|
||||
GTK_STATE_FLAG_ACTIVE = 1 << 0,
|
||||
GTK_STATE_FLAG_PRELIGHT = 1 << 1,
|
||||
GTK_STATE_FLAG_SELECTED = 1 << 2,
|
||||
|
Loading…
Reference in New Issue
Block a user