vdk 2.4.0
Public Member Functions | Protected Attributes | List of all members
VDKMouseEvent Class Reference

This provides you the baseinformation about the mousepointer. More...

#include <sigc_events.h>

Inheritance diagram for VDKMouseEvent:
VDKAnyEvent VDKMouseFocusEvent

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

Detailed Description

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.

Member Function Documentation

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.


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