Function get_seat

Source
pub fn get_seat(name: &str) -> Seat
Expand description

Returns or creates a seat.

Seats are identified by their name. If no seat with the name exists, a new seat will be created.

NOTE: You should prefer get_default_seat instead. Most applications cannot handle more than one seat and will only process input from one of the seats.