provide the ability to enable + disable tooltips
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / widget_state.h
1 #ifndef __gtkmm2ext_widget_state_h__
2 #define __gtkmm2ext_widget_state_h__
3
4 namespace Gtkmm2ext {
5
6         /* widget states: unlike GTK, visual states like "Selected" or "Prelight"
7            are orthogonal to active states. 
8         */
9
10         enum ActiveState {
11                 Off,
12                 ExplicitActive,
13                 ImplicitActive,
14         };
15         
16         enum VisualState {
17                 /* these can be OR-ed together */
18                 NoVisualState = 0x0,
19                 Selected = 0x1,
20                 Prelight = 0x2,
21                 Insensitive = 0x4,
22         };
23
24 };
25
26 #endif /*  __gtkmm2ext_widget_state_h__ */