|
Public Methods |
| virtual | ~Device () |
| GdkDevice* | gobj () |
| const GdkDevice* | gobj () const |
| GdkDevice* | gobj_copy () |
| void | set_source (GdkInputSource source) |
| bool | set_mode (InputMode mode) |
| void | set_key (guint index_, guint keyval, ModifierType modifiers) |
| void | set_axis_use (guint index_, AxisUse use) |
| void | get_state (const Glib::RefPtr<Window>& window, double& axes, ModifierType& mask) |
| bool | get_history (const Glib::RefPtr<Window>& window, guint32 start, guint32 stop, GdkTimeCoord**& events, int& n_events) |
| | Obtains the motion history for a device; given a starting and ending timestamp, return all events in the motion history for the device in the given range of time.
|
| bool | get_axis (double& axes, AxisUse use, double& value) const |
| | Interprets an array of double as axis values for a given device, and locates the value in the array for a given axis use.
|
Protected Methods |
| | Device () |
Related Functions |
(Note that these are not member functions.)
|
| Glib::RefPtr<Gdk::Device> | wrap (GdkDevice* object, bool take_copy=false) |