[−][src]Struct smithay_client_toolkit::window::BasicFrame
A minimalistic set of decorations
This class draws minimalistic decorations, which are arguably not very beautiful, but functional.
Trait Implementations
impl Frame for BasicFrame
[src]
type Error = Error
Type of errors that may occur when attempting to create a frame
fn init(
base_surface: &Proxy<WlSurface>,
compositor: &Proxy<WlCompositor>,
subcompositor: &Proxy<WlSubcompositor>,
shm: &Proxy<WlShm>,
implementation: Box<dyn FnMut(FrameRequest, u32) + Send>
) -> Result<BasicFrame, Error>
[src]
base_surface: &Proxy<WlSurface>,
compositor: &Proxy<WlCompositor>,
subcompositor: &Proxy<WlSubcompositor>,
shm: &Proxy<WlShm>,
implementation: Box<dyn FnMut(FrameRequest, u32) + Send>
) -> Result<BasicFrame, Error>
fn new_seat(&mut self, seat: &Proxy<WlSeat>)
[src]
fn set_active(&mut self, active: bool) -> bool
[src]
[src]
fn set_maximized(&mut self, maximized: bool) -> bool
[src]
fn set_resizable(&mut self, resizable: bool)
[src]
fn resize(&mut self, newsize: (u32, u32))
[src]
fn redraw(&mut self)
[src]
fn subtract_borders(&self, width: i32, height: i32) -> (i32, i32)
[src]
fn add_borders(&self, width: i32, height: i32) -> (i32, i32)
[src]
fn location(&self) -> (i32, i32)
[src]
fn set_theme<T: Theme>(&mut self, theme: T)
[src]
fn set_title(&mut self, title: String)
[src]
impl Drop for BasicFrame
[src]
Auto Trait Implementations
impl Send for BasicFrame
impl !Sync for BasicFrame
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,