cluttermm
1.17.3
|
Public Member Functions | |
virtual | ~DeviceManager () |
ClutterDeviceManager* | gobj () |
Provides access to the underlying C GObject. More... | |
const ClutterDeviceManager* | gobj () const |
Provides access to the underlying C GObject. More... | |
ClutterDeviceManager* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
std::vector< Glib::RefPtr < InputDevice > > | list_devices () |
Lists all currently registered input devices. More... | |
std::vector< Glib::RefPtr < const InputDevice > > | list_devices () const |
Lists all currently registered input devices. More... | |
Glib::RefPtr< InputDevice > | get_device (int device_id) |
Retrieves the Clutter::InputDevice with the given device_id. More... | |
Glib::RefPtr< const InputDevice > | get_device (int device_id) const |
Retrieves the Clutter::InputDevice with the given device_id. More... | |
Glib::RefPtr< InputDevice > | get_core_device (InputDeviceType device_type) |
Retrieves the core Clutter::InputDevice of type device_type. More... | |
Glib::RefPtr< const InputDevice > | get_core_device (InputDeviceType device_type) const |
Retrieves the core Clutter::InputDevice of type device_type. More... | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Backend > > | property_backend () const |
The ClutterBackend of the device manager. More... | |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
static Glib::RefPtr < DeviceManager > | get_default () |
Retrieves the device manager singleton. More... | |
Protected Member Functions | |
DeviceManager () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr < Clutter::DeviceManager > | wrap (ClutterDeviceManager* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
|
virtual |
|
protected |
Glib::RefPtr<InputDevice> Clutter::DeviceManager::get_core_device | ( | InputDeviceType | device_type | ) |
Retrieves the core Clutter::InputDevice of type device_type.
Core devices are devices created automatically by the default Clutter backend
device_type | The type of the core device. |
0
. The returned device is owned by the Clutter::DeviceManager and should not be modified or freed. Glib::RefPtr<const InputDevice> Clutter::DeviceManager::get_core_device | ( | InputDeviceType | device_type | ) | const |
Retrieves the core Clutter::InputDevice of type device_type.
Core devices are devices created automatically by the default Clutter backend
device_type | The type of the core device. |
0
. The returned device is owned by the Clutter::DeviceManager and should not be modified or freed.
|
static |
Retrieves the device manager singleton.
Glib::RefPtr<InputDevice> Clutter::DeviceManager::get_device | ( | int | device_id | ) |
Retrieves the Clutter::InputDevice with the given device_id.
device_id | The integer id of a device. |
0
. The returned device is owned by the Clutter::DeviceManager and should never be modified or freed. Glib::RefPtr<const InputDevice> Clutter::DeviceManager::get_device | ( | int | device_id | ) | const |
Retrieves the Clutter::InputDevice with the given device_id.
device_id | The integer id of a device. |
0
. The returned device is owned by the Clutter::DeviceManager and should never be modified or freed.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
ClutterDeviceManager* Clutter::DeviceManager::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
std::vector< Glib::RefPtr<InputDevice> > Clutter::DeviceManager::list_devices | ( | ) |
Lists all currently registered input devices.
std::vector< Glib::RefPtr<const InputDevice> > Clutter::DeviceManager::list_devices | ( | ) | const |
Lists all currently registered input devices.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Backend> > Clutter::DeviceManager::property_backend | ( | ) | const |
The ClutterBackend of the device manager.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |