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:
Inheritance graph
[legend]
Collaboration diagram for VDKMouseEvent:
Collaboration graph
[legend]

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

◆ AbsPosition()

VDKPoint VDKMouseEvent::AbsPosition ( ) const

The absolute position of the pointer when event occured.

◆ Button()

unsigned int VDKMouseEvent::Button ( ) const

The pressed button (int gtk enumeration)

◆ Modifier()

unsigned int VDKMouseEvent::Modifier ( ) const

Reports the modifiers active at the moment the event occured

◆ Position()

VDKPoint const & VDKMouseEvent::Position ( ) const

The position of the pointer when event occured.


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