pub trait SeatExt {
fn get_capabilities(&self) -> SeatCapabilities;
fn get_display(&self) -> Option<Display>;
fn get_keyboard(&self) -> Option<Device>;
fn get_pointer(&self) -> Option<Device>;
fn get_slaves(&self, capabilities: SeatCapabilities) -> Vec<Device>;
fn ungrab(&self);
fn connect_device_added<F: Fn(&Self, &Device) + 'static>(&self, f: F) -> u64;
fn connect_device_removed<F: Fn(&Self, &Device) + 'static>(
&self,
f: F
) -> u64;
fn connect_tool_added<F: Fn(&Self, &DeviceTool) + 'static>(
&self,
f: F
) -> u64;
fn connect_tool_removed<F: Fn(&Self, &DeviceTool) + 'static>(
&self,
f: F
) -> u64;
}
Required Methods
Implementors