![]() | |
![]() | ![]() |
CL_EventChain_ButtonPressEvent sending interface for button presses. Parents: public CL_EventChain<CL_Event_ButtonPress*>, public CL_Event_ButtonPress Description
Event chains are used to route an event to an event listener. The toplevel event chain for button presses, located in CL_Input, is called by ClanLib, but you can also send false events by calling on_button_press() yourself. Note that CL_EventChain_ButtonPress is inheriated from CL_EventButtonPress, so you can add a chain to the toplevel chain. This is useful, if you want to do more advanced routing of events. Class membersvirtual bool on_button_press( CL_InputDevice *device, const CL_Key &key) See AlsoNone |