GObject.Object
Gdk.DeviceManager
Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-3.0.gir |
C documentation: | GdkDeviceManager |
Class : | DeviceManager |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
display : Gdk.Display
|
Gdk.DeviceManager |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.DeviceManager
(Object properties)
Create a new Gdk.DeviceManager
Create a new Gdk.DeviceManager
|
||
get_client_pointer
()
:
Gdk.Device
Returns the client pointer, that is, the master pointer that acts as the core pointer
for this application.
Returns the client pointer, that is, the master pointer that acts as the core pointer
for this application. In X11, window managers may change this depending on the interaction pattern under the presence of several pointers. You should use this function sheldomly, only in code that isn't triggered by a GdkEvent and there aren't other means to get a meaningful GdkDevice to operate on. owned by GDK and must not be freed or unreferenced.
|
Gdk.DeviceManager | |
get_display
()
:
Gdk.Display
Gets the GdkDisplay associated to device_manager.
Gets the GdkDisplay associated to device_manager.
associated to, or NULL. This memory is owned by GDK and must not be freed or unreferenced.
|
Gdk.DeviceManager | |
list_devices
(DeviceType type)
:
Array
Returns the list of devices of type type currently attached to
GdkDevices.
Returns the list of devices of type type currently attached to
GdkDevices. The returned list must be freed with g_list_free (). The list elements are owned by GTK+ and must not be freed or unreffed.
|
Gdk.DeviceManager |
Event | Defined By | |
---|---|---|
device_added (DeviceManager self, Device device)
:
none
The ::device-added signal is emitted either when a new master
pointer is created, or when a slave (Hardware) input device is plugged in.
The ::device-added signal is emitted either when a new master
pointer is created, or when a slave (Hardware) input device is plugged in.
|
Gdk.DeviceManager | |
device_changed (DeviceManager self, Device device)
:
none
The ::device-changed signal is emitted whenever a device
has changed in the hierarchy, either slave devices being disconnected from their master device or connected to another one, or master devices being added or removed a slave device.
The ::device-changed signal is emitted whenever a device
has changed in the hierarchy, either slave devices being disconnected from their master device or connected to another one, or master devices being added or removed a slave device. If a slave device is detached from all master devices (gdk_device_get_associated_device() returns NULL), its GdkDeviceType will change to GDK_DEVICE_TYPE_FLOATING, if it's attached, it will change to GDK_DEVICE_TYPE_SLAVE.
|
Gdk.DeviceManager | |
device_removed (DeviceManager self, Device device)
:
none
The ::device-removed signal is emitted either when a master
pointer is removed, or when a slave (Hardware) input device is unplugged.
The ::device-removed signal is emitted either when a master
pointer is removed, or when a slave (Hardware) input device is unplugged.
|
Gdk.DeviceManager |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk.Device
Property |
device_manager : Gdk.DeviceManager
The GdkDeviceManager the GdkDevice pertains to.
|
Gdk.Display
Method |
get_device_manager
()
:
Gdk.DeviceManager
Returns the GdkDeviceManager associated to display.
|