2 #ifndef _sigc_events_h_
3 #define _sigc_events_h_
5 #include <vdk/vdkstring.h>
18 GdkEventType GDKType()
const{
return _type;}
34 bool hasFocus()
const{
return Focus;}
60 unsigned int Key()
const;
95 unsigned int Button()
const;
137 , _area(eve->area.x, eve->area.y,
138 eve->area.width, eve->area.height){}
152 , _area(eve->x, eve->y,eve->width, eve->height){}
153 const VDKRect& Area()
const{
return _area;}
171 VDKMapState State()
const{
return _state;}
Baseclass for all VDKEvents, not instantied itself.
Definition: sigc_events.h:10
Baseclass for FocusEvents.
Definition: sigc_events.h:27
const bool Focus
Tells you if the object hast lost or got the focus.
Definition: sigc_events.h:33
Indicates a change of the widgets geometry.
Definition: sigc_events.h:147
This class represents the data associated with a keypress or keyrelease event.
Definition: sigc_events.h:41
unsigned int Key() const
Returns the corresponding id for this key as defined in gdkkeysyms.h.
Definition: sigc_events.cc:69
const char * CString() const
Basically the same as.
Definition: sigc_events.cc:81
VDKString String() const
Gives you the string-representation of pressed key if possible.
Definition: sigc_events.cc:77
unsigned int Modifier() const
Tells you what modifier was pressed when this event was generated.
Definition: sigc_events.cc:73
This event tells you if an VDKObject has lost or got the keyboradfocus.
Definition: sigc_events.h:118
This event is emitted whenever the widget toggels it's state from being hidden or unhidden or partial...
Definition: sigc_events.h:167
This provides you the baseinformation about the mousepointer.
Definition: sigc_events.h:79
VDKPoint AbsPosition() const
Definition: sigc_events.cc:122
VDKPoint const & Position() const
Definition: sigc_events.cc:116
unsigned int Modifier() const
Definition: sigc_events.cc:137
unsigned int Button() const
Definition: sigc_events.cc:131
unsigned int _state
conversion from gdouble to int -> loose data
Definition: sigc_events.h:82
This event tells you if an VDKObject has lost or got the mousefocus.
Definition: sigc_events.h:107
This event telles you which area of an object has to be redrawn.
Definition: sigc_events.h:132
const VDKRect & Area() const
Returns area to be repainted.
Definition: sigc_events.h:140
Provides a simple point object.
Definition: vdkutils.h:94
Provides a simple rectangle object.
Definition: vdkutils.h:171
Implements famous cont referenced string objects.
Definition: vdkstring.h:46