Enum smithay::wayland::shell::legacy::ShellSurfaceKind [−][src]
pub enum ShellSurfaceKind { Toplevel, Transient { parent: WlSurface, location: Point<i32, Logical>, inactive: bool, }, Fullscreen { method: FullscreenMethod, framerate: u32, output: Option<WlOutput>, }, Popup { parent: WlSurface, serial: Serial, inactive: bool, location: Point<i32, Logical>, seat: WlSeat, }, Maximized { output: Option<WlOutput>, }, }
Expand description
Possible kinds of shell surface of the wl_shell
protocol
Variants
Toplevel, a regular window displayed somewhere in the compositor space
Transient, this surface has a parent surface
These are sub-windows of an application (for example a configuration window), and as such should only be visible in their parent window is, and on top of it.
Fields of Transient
Fullscreen surface, covering an entire output
Fields of Fullscreen
method: FullscreenMethod
Method used for fullscreen
framerate: u32
Framerate (relevant only for driver fullscreen)
output: Option<WlOutput>
Requested output if any
A popup surface
Short-lived surface, typically referred as “tooltips” in many contexts.
Fields of Popup
parent: WlSurface
The parent surface of this popup
serial: Serial
The serial of the input event triggering the creation of this popup
inactive: bool
Weather this popup should be marked as inactive
location: Point<i32, Logical>
Location of the popup relative to its parent
seat: WlSeat
Seat associated this the input that triggered the creation of the popup. Used to define when the “popup done” event is sent.
A maximized surface
Like a toplevel surface, but as big as possible on a single output while keeping any relevant desktop-environment interface visible.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ShellSurfaceKind
impl Send for ShellSurfaceKind
impl Sync for ShellSurfaceKind
impl Unpin for ShellSurfaceKind
impl !UnwindSafe for ShellSurfaceKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V