forked from AuroraMiddleware/gtk
Add a state flag for visible focus
The new flag is called GTK_STATE_FLAGS_FOCUS_VISIBLE.
This commit is contained in:
parent
b6c41e57e2
commit
18b8a7f91f
@ -786,6 +786,7 @@ typedef enum
|
||||
* @GTK_STATE_FLAG_VISITED: The location the widget points to has already been visited. Since 3.12
|
||||
* @GTK_STATE_FLAG_CHECKED: Widget is checked. Since 3.14
|
||||
* @GTK_STATE_FLAG_DROP_ACTIVE: Widget is highlighted as a drop target for DND. Since 3.20
|
||||
* @GTK_STATE_FLAG_FOCUS_VISIBLE: Widget has the visible focus. Since: 3.92
|
||||
*
|
||||
* Describes a widget state. Widget states are used to match the widget
|
||||
* against CSS pseudo-classes. Note that GTK extends the regular CSS
|
||||
@ -806,7 +807,8 @@ typedef enum
|
||||
GTK_STATE_FLAG_LINK = 1 << 9,
|
||||
GTK_STATE_FLAG_VISITED = 1 << 10,
|
||||
GTK_STATE_FLAG_CHECKED = 1 << 11,
|
||||
GTK_STATE_FLAG_DROP_ACTIVE = 1 << 12
|
||||
GTK_STATE_FLAG_DROP_ACTIVE = 1 << 12,
|
||||
GTK_STATE_FLAG_FOCUS_VISIBLE = 1 << 13
|
||||
} GtkStateFlags;
|
||||
|
||||
/**
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GTK_STATE_FLAGS_BITS 13
|
||||
#define GTK_STATE_FLAGS_BITS 14
|
||||
|
||||
struct _GtkWidgetPrivate
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user