summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/widget_state.h
blob: 6067b0f2cead662d910abfb9aff1d20ed5462ece (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
#ifndef __gtkmm2ext_widget_state_h__
#define __gtkmm2ext_widget_state_h__

namespace Gtkmm2ext {

	/* widget states: unlike GTK, visual states like "Selected" or "Prelight"
	   are orthogonal to active states. 
	*/

	enum ActiveState {
		Off,
		ExplicitActive,
		ImplicitActive,
	};
	
	enum VisualState {
		/* these can be OR-ed together */
		NoVisualState = 0x0,
		Selected = 0x1,
		Prelight = 0x2,
		Insensitive = 0x4,
	};

};

#endif /*  __gtkmm2ext_widget_state_h__ */