AspectClickable Class Template Reference
[Aspect Classes]

Aspect class used by Widgets that have the possibility of being "clicked". More...

Inherited by WidgetButton, WidgetCheckBox, WidgetComboBox, WidgetDataGrid, WidgetDateTimePicker, WidgetGroupBox, WidgetRadioButton, WidgetStatic, WidgetStatusBar, and WidgetTreeView.

List of all members.

Public Member Functions

void onClicked (typename MessageMapType::itsVoidFunctionTakingVoid eventHandler)
 Setting the event handler for the "clicked" event.


Detailed Description

template<class EventHandlerClass, class WidgetType, class MessageMapType>
class SmartWin::AspectClickable< EventHandlerClass, WidgetType, MessageMapType >

Aspect class used by Widgets that have the possibility of being "clicked".

E.g. the WidgetButton have a "clicked" Aspect therefore it realizes the AspectClickable through inheritance. When you click a Widget which realizes this Aspect the onClicked event will be raised.

Back to SmartWin website
SourceForge.net Logo