Trait clutter::DeviceManagerExt[][src]

pub trait DeviceManagerExt: 'static {
    fn get_core_device(
        &self,
        device_type: InputDeviceType
    ) -> Option<InputDevice>;
fn get_device(&self, device_id: i32) -> Option<InputDevice>;
fn list_devices(&self) -> Vec<InputDevice>;
fn peek_devices(&self) -> Vec<InputDevice>;
fn get_property_backend(&self) -> Option<Backend>;
fn connect_device_added<F: Fn(&Self, &InputDevice) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_device_removed<F: Fn(&Self, &InputDevice) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_core_device(&self, device_type: InputDeviceType) -> Option<InputDevice>[src]

fn get_device(&self, device_id: i32) -> Option<InputDevice>[src]

fn list_devices(&self) -> Vec<InputDevice>[src]

fn peek_devices(&self) -> Vec<InputDevice>[src]

fn get_property_backend(&self) -> Option<Backend>[src]

fn connect_device_added<F: Fn(&Self, &InputDevice) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_device_removed<F: Fn(&Self, &InputDevice) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<DeviceManager>> DeviceManagerExt for O[src]

Loading content...