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

FbTk::EventManager Class Reference

#include <EventManager.hh>

List of all members.


Detailed Description

singleton mediator for EventHandlers

Definition at line 34 of file EventManager.hh.


Public Member Functions

void add (EventHandler &ev, Window win)
void add (EventHandler &ev, const FbWindow &win)
void addParent (EventHandler &ev, const FbWindow &parent)
void handleEvent (XEvent &ev)
void registerEventHandler (EventHandler &ev, Window win)
void remove (Window win)
void remove (const FbWindow &win)
void unregisterEventHandler (Window win)

Static Public Member Functions

static Window getEventWindow (XEvent &ev)
static EventManagerinstance ()

Private Member Functions

void dispatch (Window win, XEvent &event, bool parent=false)

Private Attributes

std::map< Window, EventHandler * > m_eventhandlers
std::map< Window, EventHandler * > m_parent

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

Generated by  Doxygen 1.6.0   Back to index