|
Public Member Functions |
| 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.
|
| bool | get_has_cursor () const |
| | Discover whether the pointer follows device motion.
|
| 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.
|
| InputMode | get_mode () const |
| | Gets the mode of this device.
|
| Glib::ustring | get_name () const |
| | Gets the name of this device.
|
| InputSource | get_source () const |
| | Gets the type of this device.
|
| void | get_state (const Glib::RefPtr<Window>& window, double& axes, ModifierType& mask) |
| const GdkDevice* | gobj () const |
| | Provides access to the underlying C GObject.
|
| GdkDevice* | gobj () |
| | Provides access to the underlying C GObject.
|
| GdkDevice* | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| void | set_axis_use (guint index_, AxisUse use) |
| void | set_key (guint index_, guint keyval, ModifierType modifiers) |
| bool | set_mode (InputMode mode) |
| void | set_source (InputSource source) |
| virtual | ~Device () |
Protected Member Functions |
| | Device () |
Related Functions |
(Note that these are not member functions.)
|
| Glib::RefPtr<Gdk::Device> | wrap (GdkDevice* object, bool take_copy=false) |