1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
use std::fmt;
glib::wrapper! {
/// The Wayland implementation of [`gdk::Seat`][crate::gdk::Seat].
///
/// Beyond the regular [`gdk::Seat`][crate::gdk::Seat] API, the Wayland implementation
/// provides access to the Wayland `wl_seat` object with
/// [`wl_seat()`][Self::wl_seat()].
///
/// # Implements
///
/// [`trait@gdk::prelude::SeatExt`]
#[doc(alias = "GdkWaylandSeat")]
pub struct WaylandSeat(Object<ffi::GdkWaylandSeat, ffi::GdkWaylandSeatClass>) @extends gdk::Seat;
match fn {
type_ => || ffi::gdk_wayland_seat_get_type(),
}
}
impl WaylandSeat {}
impl fmt::Display for WaylandSeat {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("WaylandSeat")
}
}