Inherited by WidgetButton, WidgetCheckBox, WidgetComboBox, WidgetCoolbar, WidgetDataGrid, WidgetDateTimePicker, WidgetGroupBox, WidgetMDIParent, WidgetRadioButton, WidgetSlider, WidgetSpinner, WidgetStatic, WidgetTabSheet, WidgetTextBox, WidgetTextBox< EventHandlerClass, MessageMapPolicy >, WidgetTextBox< EventHandlerClass, MessageMapPolicy, SmartWin::RichTextBox< EventHandlerClass, MessageMapPolicy > >, WidgetTextBox< Parent, MessageMapPolicy >, WidgetToolbar, WidgetTreeView, WidgetWindowBase, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyDialogWidget >, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyModalDialogWidget >, and WidgetWindowBase< EventHandlerClass, unUsed >.
Public Member Functions | |
| bool | getEnabled () const | 
| Retrieves the enabled property of the Widget.   | |
| void | onEnabled (typename MessageMapType::itsVoidFunctionTakingBool eventHandler) | 
| Setting the event handler for the "enabled" event.   | |
| void | setEnabled (bool enabled) | 
| Sets the enabled property of the Widget.   | |
The WidgetDataGrid has an enabled Aspect to it; therefore it realizes this AspectEnabled through inheritance. 
 When a Widget is enabled it is possible to interact with it in some way, e.g. a button can be pushed, a ComboBox can change value etc. When the Widget is not enabled it cannot change its "value" or be interacted with but is normally still visible. 
| bool getEnabled | ( | ) | const | 
| void setEnabled | ( | bool | enabled | ) |