vdk 2.4.0
|
This provides you the baseinformation about the mousepointer. More...
#include <sigc_events.h>
Public Member Functions | |
VDKPoint const & | Position () const |
VDKPoint | AbsPosition () const |
unsigned int | Button () const |
unsigned int | Modifier () const |
Protected Attributes | |
unsigned int | _state |
conversion from gdouble to int -> loose data |
This provides you the baseinformation about the mousepointer.
These event can be directly instantiated with different GdkEvents, which will not allways provide all information this events provides.
VDKPoint VDKMouseEvent::AbsPosition | ( | ) | const |
The absolute position of the pointer when event occured.
unsigned int VDKMouseEvent::Button | ( | ) | const |
The pressed button (int gtk enumeration)
unsigned int VDKMouseEvent::Modifier | ( | ) | const |
Reports the modifiers active at the moment the event occured
VDKPoint const & VDKMouseEvent::Position | ( | ) | const |
The position of the pointer when event occured.