tbx  0.7.3
Public Member Functions | List of all members
tbx::KeyListener Class Referenceabstract

Listener for KeyPressed WIMP event. More...

#include <keylistener.h>

Inheritance diagram for tbx::KeyListener:
tbx::Listener

Public Member Functions

virtual void key (KeyEvent &event)=0
 virtual function called when the application receives a key pressed window event More...
 
- Public Member Functions inherited from tbx::Listener
virtual ~Listener ()
 Destroy the listener object.
 

Additional Inherited Members

- Protected Member Functions inherited from tbx::Listener
 Listener ()
 Construct the Listener object.
 

Detailed Description

Listener for KeyPressed WIMP event.

If the listener uses the key it should call KeyEvent::key_used so no other listeners can use it and it is not passed on to the WIMP.

Member Function Documentation

virtual void tbx::KeyListener::key ( KeyEvent event)
pure virtual

virtual function called when the application receives a key pressed window event

Parameters
eventdetails of where the key pressed and it's location

The documentation for this class was generated from the following file: