Enum smithay::wayland::shell::xdg::XdgRequest [−][src]
pub enum XdgRequest {}Show 14 variants
NewClient { client: ShellClient, }, ClientPong { client: ShellClient, }, NewToplevel { surface: ToplevelSurface, }, NewPopup { surface: PopupSurface, }, Move { surface: ToplevelSurface, seat: WlSeat, serial: Serial, }, Resize { surface: ToplevelSurface, seat: WlSeat, serial: Serial, edges: ResizeEdge, }, Grab { surface: PopupSurface, seat: WlSeat, serial: Serial, }, Maximize { surface: ToplevelSurface, }, UnMaximize { surface: ToplevelSurface, }, Fullscreen { surface: ToplevelSurface, output: Option<WlOutput>, }, UnFullscreen { surface: ToplevelSurface, }, Minimize { surface: ToplevelSurface, }, ShowWindowMenu { surface: ToplevelSurface, seat: WlSeat, serial: Serial, location: Point<i32, Logical>, }, AckConfigure { surface: WlSurface, configure: Configure, },
Expand description
Events generated by xdg shell surfaces
These are events that the provided implementation cannot process for you directly.
Depending on what you want to do, you might ignore some of them
Variants
A new shell client was instantiated
Fields of NewClient
client: ShellClient
the client
The pong for a pending ping of this shell client was received
The ShellHandler
already checked for you that the serial matches the one
from the pending ping.
Fields of ClientPong
client: ShellClient
the client
A new toplevel surface was created
You likely need to send a ToplevelConfigure
to the surface, to hint the
client as to how its window should be sized.
Fields of NewToplevel
surface: ToplevelSurface
the surface
A new popup surface was created
You likely need to send a PopupConfigure
to the surface, to hint the
client as to how its popup should be sized.
Fields of NewPopup
surface: PopupSurface
the surface
The client requested the start of an interactive move for this surface
Fields of Move
surface: ToplevelSurface
the surface
seat: WlSeat
the seat associated to this move
serial: Serial
the grab serial
The client requested the start of an interactive resize for this surface
Fields of Resize
surface: ToplevelSurface
The surface
seat: WlSeat
The seat associated with this resize
serial: Serial
The grab serial
edges: ResizeEdge
Specification of which part of the window’s border is being dragged
This popup requests a grab of the pointer
This means it requests to be sent a popup_done
event when the pointer leaves
the grab area.
Fields of Grab
A toplevel surface requested to be maximized
Fields of Maximize
surface: ToplevelSurface
The surface
A toplevel surface requested to stop being maximized
Fields of UnMaximize
surface: ToplevelSurface
The surface
A toplevel surface requested to be set fullscreen
Fields of Fullscreen
surface: ToplevelSurface
The surface
output: Option<WlOutput>
The output (if any) on which the fullscreen is requested
A toplevel surface request to stop being fullscreen
Fields of UnFullscreen
surface: ToplevelSurface
The surface
A toplevel surface requested to be minimized
Fields of Minimize
surface: ToplevelSurface
The surface
The client requests the window menu to be displayed on this surface at this location
This menu belongs to the compositor. It is typically expected to contain options for control of the window (maximize/minimize/close/move/etc…).
Fields of ShowWindowMenu
A surface has acknowledged a configure serial.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for XdgRequest
impl Send for XdgRequest
impl Sync for XdgRequest
impl Unpin for XdgRequest
impl !UnwindSafe for XdgRequest
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