Inherited by WidgetGroupBox, WidgetWindowBase, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyDialogWidget >, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyModalDialogWidget >, and WidgetWindowBase< EventHandlerClass, unUsed >.
Public Member Functions | |
void | onEraseBackground (typename MessageMapType::itsVoidFunctionTakingCanvas eventHandler) |
Setting the event handler for the "erase background" event. |
E.g. the WidgetWindow have a AspectEraseBackground Aspect to it therefore WidgetDataGrid realize the AspectEraseBackground through inheritance. When the Widget needs to erase its background this event will be called with a Canvas object which can be used for manipulating the colors etc the system uses to erase the background of the Widget with.