|
Public Methods |
| Event () |
| Event (GdkEvent* castitem, bool make_a_copy=true) |
| Event (const Event& src) |
Event& | operator= (const Event& src) |
| ~Event () |
GdkEvent* | gobj () |
const GdkEvent* | gobj () const |
GdkEvent* | gobj_copy () const |
void | put () |
guint32 | get_time () const |
| Returns the time stamp from event, if there is one; otherwise returns Gdk::CURRENT_TIME.
|
bool | get_state (ModifierType& state) const |
| If the event contains a "state" field, puts that field in state.
|
bool | get_coords (double& x_win, double& y_win) const |
| Extract the event window relative x/y coordinates from an event.
|
bool | get_root_coords (double& x_root, double& y_root) const |
| Extract the root window relative x/y coordinates from an event.
|
bool | get_axis (AxisUse axis_use, double& value) const |
| Extract the axis value for a particular axis use from an event structure.
|
Static Public Methods |
Event | get () |
Event | peek () |
Event | get_graphics_expose (const Glib::RefPtr<Window>& window) |
bool | events_pending () |
void | set_show_events (bool show_events) |
bool | get_show_events () |
Protected Attributes |
GdkEvent* | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
Gdk::Event | wrap (GdkEvent* object, bool take_copy=false) |