Logo Search packages:      
Sourcecode: fbpager version File versions  Download package

FbTk::EventHandler Class Reference

#include <EventHandler.hh>

Inheritance diagram for FbTk::EventHandler:


List of all members.

Detailed Description

interface for X events

Use this class to catch events from X windows and FbWindows
Register instance of this class to EventManager
EventManager::instance()->add(your_eventhandler, your_window);
Don't forget to unregister it:

See also:

Definition at line 44 of file EventHandler.hh.

Public Member Functions

virtual void buttonPressEvent (XButtonEvent &)
virtual void buttonReleaseEvent (XButtonEvent &)
virtual void enterNotifyEvent (XCrossingEvent &)
virtual void exposeEvent (XExposeEvent &)
virtual void handleEvent (XEvent &)
virtual void keyPressEvent (XKeyEvent &)
virtual void keyReleaseEvent (XKeyEvent &)
virtual void leaveNotifyEvent (XCrossingEvent &)
virtual void motionNotifyEvent (XMotionEvent &)

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

Generated by  Doxygen 1.6.0   Back to index