[−][src]Struct wlroots::shell::xdg_shell_v6::TopLevel
Methods
impl TopLevel[src]
impl TopLevelpub fn title(&self) -> String[src]
pub fn title(&self) -> StringGet the title associated with this XDG shell toplevel.
pub fn app_id(&self) -> String[src]
pub fn app_id(&self) -> StringGet the app id associated with this XDG shell toplevel.
pub fn base(&self) -> Handle[src]
pub fn base(&self) -> HandleGet a handle to the base surface of the xdg tree.
pub fn parent(&self) -> Handle[src]
pub fn parent(&self) -> HandleGet a handle to the parent surface of the xdg tree.
pub fn added(&self) -> bool[src]
pub fn added(&self) -> boolpub fn client_pending_state(&self) -> wlr_xdg_toplevel_v6_state[src]
pub fn client_pending_state(&self) -> wlr_xdg_toplevel_v6_stateGet the pending client state.
pub fn server_pending_state(&self) -> wlr_xdg_toplevel_v6_state[src]
pub fn server_pending_state(&self) -> wlr_xdg_toplevel_v6_stateGet the pending server state.
pub fn current_state(&self) -> wlr_xdg_toplevel_v6_state[src]
pub fn current_state(&self) -> wlr_xdg_toplevel_v6_stateGet the current configure state.
pub fn set_size(&mut self, width: u32, height: u32) -> u32[src]
pub fn set_size(&mut self, width: u32, height: u32) -> u32Request that this toplevel surface be the given size.
Returns the associated configure serial.
pub fn set_activated(&mut self, activated: bool) -> u32[src]
pub fn set_activated(&mut self, activated: bool) -> u32Request that this toplevel surface show itself in an activated or deactivated state.
Returns the associated configure serial.
pub fn set_maximized(&mut self, maximized: bool) -> u32[src]
pub fn set_maximized(&mut self, maximized: bool) -> u32Request that this toplevel surface consider itself maximized or not maximized.
Returns the associated configure serial.
pub fn set_fullscreen(&mut self, fullscreen: bool) -> u32[src]
pub fn set_fullscreen(&mut self, fullscreen: bool) -> u32Request that this toplevel surface consider itself fullscreen or not fullscreen.
Returns the associated configure serial.
pub fn set_resizing(&mut self, resizing: bool) -> u32[src]
pub fn set_resizing(&mut self, resizing: bool) -> u32Request that this toplevel surface consider itself to be resizing or not resizing.
Returns the associated configure serial.
pub fn close(&mut self)[src]
pub fn close(&mut self)Request that this toplevel surface closes.
Trait Implementations
impl Eq for TopLevel[src]
impl Eq for TopLevelimpl PartialEq<TopLevel> for TopLevel[src]
impl PartialEq<TopLevel> for TopLevelfn eq(&self, other: &TopLevel) -> bool[src]
fn eq(&self, other: &TopLevel) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TopLevel) -> bool[src]
fn ne(&self, other: &TopLevel) -> boolThis method tests for !=.
impl Hash for TopLevel[src]
impl Hash for TopLevelfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for TopLevel[src]
impl Debug for TopLevelAuto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more