[−][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 Drop for BasicFrame
[src]
impl Frame for BasicFrame
[src]
type Error = Error
Type of errors that may occur when attempting to create a frame
fn init(
base_surface: &WlSurface,
compositor: &WlCompositor,
subcompositor: &WlSubcompositor,
shm: &WlShm,
implementation: Box<dyn FnMut(FrameRequest, u32) + Send>
) -> Result<BasicFrame, Error>
[src]
base_surface: &WlSurface,
compositor: &WlCompositor,
subcompositor: &WlSubcompositor,
shm: &WlShm,
implementation: Box<dyn FnMut(FrameRequest, u32) + Send>
) -> Result<BasicFrame, Error>
fn new_seat(&mut self, seat: &WlSeat)
[src]
fn set_active(&mut self, active: bool) -> bool
[src]
fn set_hidden(&mut self, hidden: bool)
[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]
Auto Trait Implementations
impl !RefUnwindSafe for BasicFrame
impl Send for BasicFrame
impl !Sync for BasicFrame
impl Unpin for BasicFrame
impl !UnwindSafe for BasicFrame
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,