|
VideoTools
|
An interface for delivering GX::EventLoop events, with do-nothing default method implementations. More...
#include <gxeventhandler.h>
Inheritance diagram for GX::EventHandler:Public Member Functions | |
| virtual | ~EventHandler () |
| Destructor. | |
| virtual bool | onIdle () |
| Called by GX::Application::run() once the event queue is empty. More... | |
| virtual void | onLeftMouseButtonDown (int x, int y, bool shift, bool control) |
| Called for a left-mouse-button-down event. | |
| virtual void | onLeftMouseButtonUp (int x, int y, bool shift, bool control) |
| Called for a left-mouse-button-up event. | |
| virtual void | onMouseMove (int x, int y) |
| Called for a mouse-move event. | |
| virtual void | onExposure (int x, int y, int dx, int dy) |
| Called first for a window-expose event. | |
| virtual void | onPaint () |
| Called second for a window-expose event. | |
| virtual void | onExpose (::XExposeEvent &) |
| Called third for a window-expose event. | |
| virtual bool | onCreate () |
| Called first for a window-map event. More... | |
| virtual void | onShow () |
| Called second for a window-map event. | |
| virtual void | onMap (::XMapEvent &) |
| Called third for a window-map event. | |
| virtual void | onKeyPress (::XKeyEvent &) |
| Called for a key-press event. | |
| virtual void | onKeyRelease (::XKeyEvent &) |
| Called for a key-release event. | |
| virtual void | onUser () |
| Called for a client-message event. | |
An interface for delivering GX::EventLoop events, with do-nothing default method implementations.
One Xlib event can trigger several different callbacks methods at this interface in order to resemble other windowing systems.
Definition at line 38 of file gxeventhandler.h.
|
virtual |
Called first for a window-map event.
Returns false to abort window creation.
Definition at line 81 of file gxeventhandler.cpp.
|
virtual |
Called by GX::Application::run() once the event queue is empty.
Returns false when idle work is complete.
Definition at line 31 of file gxeventhandler.cpp.