summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/widget_state.h
blob: bb8bd375f097f0d38a02d5cb3901e5e6382ae1aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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__ */