# Trait gdk::prelude::SeatExt [−] [src]

    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

### `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`

## Implementors

- `impl<O: IsA<Seat> + IsA<Object>> SeatExt for O`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)