29 lines
540 B
C++
29 lines
540 B
C++
#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.
|
|
*/
|
|
|
|
enum LIBGTKMM2EXT_API ActiveState {
|
|
Off,
|
|
ExplicitActive,
|
|
ImplicitActive,
|
|
};
|
|
|
|
enum LIBGTKMM2EXT_API VisualState {
|
|
/* these can be OR-ed together */
|
|
NoVisualState = 0x0,
|
|
Selected = 0x1,
|
|
Prelight = 0x2,
|
|
Insensitive = 0x4,
|
|
};
|
|
|
|
};
|
|
|
|
#endif /* __gtkmm2ext_widget_state_h__ */
|