Trait gdk::prelude::DeviceManagerExt
[−]
[src]
pub trait DeviceManagerExt { fn get_client_pointer(&self) -> Option<Device>; fn get_display(&self) -> Option<Display>; fn list_devices(&self, type_: DeviceType) -> Vec<Device>; fn get_property_display(&self) -> Option<Display>; fn connect_device_added<F: Fn(&Self, &Device) + 'static>(&self, f: F) -> u64; fn connect_device_changed<F: Fn(&Self, &Device) + 'static>(
&self,
f: F
) -> u64; fn connect_device_removed<F: Fn(&Self, &Device) + 'static>(
&self,
f: F
) -> u64; }
Required Methods
fn get_client_pointer(&self) -> Option<Device>
fn get_display(&self) -> Option<Display>
fn list_devices(&self, type_: DeviceType) -> Vec<Device>
fn get_property_display(&self) -> Option<Display>
fn connect_device_added<F: Fn(&Self, &Device) + 'static>(&self, f: F) -> u64
fn connect_device_changed<F: Fn(&Self, &Device) + 'static>(&self, f: F) -> u64
fn connect_device_removed<F: Fn(&Self, &Device) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<DeviceManager> + IsA<Object>> DeviceManagerExt for O