[−][src]Struct smithay_client_toolkit::window::ConceptFrame
A clean, modern and stylish set of decorations
This class draws clean and modern decorations with buttons inspired by breeze, material hover shade and a white header background
Trait Implementations
impl Drop for ConceptFrame
[src]
impl Frame for ConceptFrame
[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<ConceptFrame, Error>
[src]
base_surface: &WlSurface,
compositor: &WlCompositor,
subcompositor: &WlSubcompositor,
shm: &WlShm,
implementation: Box<dyn FnMut(FrameRequest, u32) + Send>
) -> Result<ConceptFrame, 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 ConceptFrame
impl Send for ConceptFrame
impl !Sync for ConceptFrame
impl Unpin for ConceptFrame
impl !UnwindSafe for ConceptFrame
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>,