ClanSoft logo
ClanSoft logo

    CL_EventChain_ButtonPress

Event 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 members

virtual bool on_button_press(
         CL_InputDevice *device,
        const CL_Key &key)

See Also

None


Back to index



This page was built using the Perceps documentation system.