13
0
livetrax/libs/gtkmm2ext/gtkmm2ext/widget_state.h

29 lines
542 B
C
Raw Normal View History

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