38 G_DEBUG(
"GX::EventHandler::onLeftMouseButtonDown: " << x <<
"," << y <<
" " << (shift?
"S":
"") << (control?
"C":
"") ) ;
43 G_DEBUG(
"GX::EventHandler::onLeftMouseButtonUp: " << x <<
"," << y <<
" " << (shift?
"S":
"") << (control?
"C":
"") ) ;
48 G_DEBUG(
"GX::EventHandler::onExposure: " << x <<
"," << y <<
"," << dx <<
"," << dy ) ;
53 G_DEBUG(
"GX::EventHandler::onExpose" ) ;
58 G_DEBUG(
"GX::EventHandler::onPaint" ) ;
63 G_DEBUG(
"GX::EventHandler::onKeyPress" ) ;
68 G_DEBUG(
"GX::EventHandler::onKeyRelease" ) ;
73 G_DEBUG(
"GX::EventHandler::onMap" ) ;
78 G_DEBUG(
"GX::EventHandler::onShow" ) ;
83 G_DEBUG(
"GX::EventHandler::onCreate" ) ;
89 G_DEBUG(
"GX::EventHandler::onUser" ) ;
94 G_DEBUG(
"GX::EventHandler::onMouseMove: " << x <<
"," << y ) ;
virtual void onLeftMouseButtonUp(int x, int y, bool shift, bool control)
Called for a left-mouse-button-up event.
virtual ~EventHandler()
Destructor.
virtual void onPaint()
Called second for a window-expose event.
virtual void onExposure(int x, int y, int dx, int dy)
Called first for a window-expose event.
virtual bool onCreate()
Called first for a window-map event.
virtual void onKeyRelease(::XKeyEvent &)
Called for a key-release event.
virtual bool onIdle()
Called by GX::Application::run() once the event queue is empty.
virtual void onLeftMouseButtonDown(int x, int y, bool shift, bool control)
Called for a left-mouse-button-down event.
virtual void onMouseMove(int x, int y)
Called for a mouse-move event.
virtual void onExpose(::XExposeEvent &)
Called third for a window-expose event.
virtual void onUser()
Called for a client-message event.
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.