pub struct XdgShell;
Expand description
Popup, dialog, and multiple toplevel window status:
The view system on Fuchsia is lacking support for these type of window management features today so we emulate them using child views.
Here are the child surface features currently implemented:
- XDG shell popups with static placement. Configured to only occupy the the desired area.
- XDG shell toplevels without a parent. Configured to occupy the fullscreen area.
- XDG shell toplevels with parent and dynamic offset set using the aura shell interface. Configured to only occupy the the desired area. This is used to implement X11 override-redirect windows for tooltips and menus.
- XDG shell toplevels without a parent but created after a view provider has already been created. These toplevels are created as child views of the root XDG surface.
- Window controls are missing but XDG surfaces can be closed by pressing Escape key three times quickly.
XdgShell
is an implementation of the xdg_wm_base global.
XdgShell
is used to create traditional desktop-style applications. The
XdgShell
can be used to create XdgSurface
objects. Similar to Surface
,
an XdgSurface
doesn’t do much good on it’s own until it’s assigned a
sub-role (ex: XdgToplevel
, XdgPopup
).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XdgShell
impl RefUnwindSafe for XdgShell
impl Send for XdgShell
impl Sync for XdgShell
impl Unpin for XdgShell
impl UnwindSafe for XdgShell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more