#ifndef __gtkmm2ext_widget_state_h__
#define __gtkmm2ext_widget_state_h__
+#include "gtkmm2ext/visibility.h"
+
namespace Gtkmm2ext {
/* widget states: unlike GTK, visual states like "Selected" or "Prelight"
- are orthogonal to active states.
+ are orthogonal to active states.
*/
- enum ActiveState {
- Active = 1,
- Mid,
+ enum LIBGTKMM2EXT_API ActiveState {
+ Off,
+ ExplicitActive,
+ ImplicitActive,
};
-
- enum VisualState {
+
+ enum LIBGTKMM2EXT_API VisualState {
/* these can be OR-ed together */
+ NoVisualState = 0x0,
Selected = 0x1,
Prelight = 0x2,
Insensitive = 0x4,