[−][src]Struct wayland_protocols::unstable::xdg_shell::v6::server::zxdg_toplevel_v6::ZxdgToplevelV6
Implementations
impl ZxdgToplevelV6
[src]
pub fn configure(&self, width: i32, height: i32, states: Vec<u8>)
[src]
suggest a surface change
This configure event asks the client to resize its toplevel surface or to change its state. The configured state should not be applied immediately. See xdg_surface.configure for details.
The width and height arguments specify a hint to the window about how its surface should be resized in window geometry coordinates. See set_window_geometry.
If the width or height arguments are zero, it means the client should decide its own window dimension. This may happen when the compositor needs to configure the state of the surface but doesn't have any information about any previous or expected dimension.
The states listed in the event specify how the width/height arguments should be interpreted, and possibly how it should be drawn.
Clients must send an ack_configure in response to this event. See xdg_surface.configure and xdg_surface.ack_configure for details.
pub fn close(&self)
[src]
surface wants to be closed
The close event is sent by the compositor when the user wants the surface to be closed. This should be equivalent to the user clicking the close button in client-side decorations, if your application has any.
This is only a request that the user intends to close the window. The client may choose to ignore this request, or show a dialog to ask the user to save their data, etc.
Trait Implementations
impl AsRef<Resource<ZxdgToplevelV6>> for ZxdgToplevelV6
[src]
impl Clone for ZxdgToplevelV6
[src]
fn clone(&self) -> ZxdgToplevelV6
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZxdgToplevelV6
[src]
impl Eq for ZxdgToplevelV6
[src]
impl From<Resource<ZxdgToplevelV6>> for ZxdgToplevelV6
[src]
impl From<ZxdgToplevelV6> for Resource<ZxdgToplevelV6>
[src]
fn from(value: ZxdgToplevelV6) -> Self
[src]
impl Interface for ZxdgToplevelV6
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZxdgToplevelV6> for ZxdgToplevelV6
[src]
fn eq(&self, other: &ZxdgToplevelV6) -> bool
[src]
fn ne(&self, other: &ZxdgToplevelV6) -> bool
[src]
impl StructuralEq for ZxdgToplevelV6
[src]
impl StructuralPartialEq for ZxdgToplevelV6
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZxdgToplevelV6
impl Send for ZxdgToplevelV6
impl Sync for ZxdgToplevelV6
impl Unpin for ZxdgToplevelV6
impl !UnwindSafe for ZxdgToplevelV6
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,