[][src]Module smithay_client_toolkit::seat

Types for automatically handling seats

This modules provides a SeatHandler for use with the environment! macro. It is automatically inserted in the default_environment!.

This handler tracks the capability of the seats declared by the compositor, and gives you the possibility to register callbacks that will be invoked whenever a new seat is created of the state of a seat changes, via the Environment::listen_for_seats method.

Note: if you don't use the default_environment!, you'll need to implement the SeatHandling on your environment struct to access the added methods on Environment.

Modules

keyboard

Utilities for keymap interpretation of keyboard input

pointer

Utilities to work with pointers and their icons

Structs

SeatData

The metadata associated with a seat

SeatHandler

A simple handler for seats

SeatListener

A handle to an seat listener callback

Traits

SeatHandling

Trait representing the SeatHandler functions

Functions

clone_seat_data

Get the copy of the data associated with this seat

with_seat_data

Access the data associated with this seat