Struct smithay_client_toolkit::window::ConceptFrame [−][src]
pub struct ConceptFrame { /* fields omitted */ }
Expand description
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.
ConceptFrame
is hiding its ClientSide
decorations
in a Fullscreen
state and brings them back if those are
visible when unsetting Fullscreen
state.
Trait Implementations
type Config = ConceptConfig
type Config = ConceptConfig
Configuration for this frame
fn init(
base_surface: &WlSurface,
compositor: &Attached<WlCompositor>,
subcompositor: &Attached<WlSubcompositor>,
shm: &Attached<WlShm>,
theme_manager: Option<ThemeManager>,
implementation: Box<dyn FnMut(FrameRequest, u32, DispatchData<'_>)>
) -> Result<ConceptFrame, Error>
fn init(
base_surface: &WlSurface,
compositor: &Attached<WlCompositor>,
subcompositor: &Attached<WlSubcompositor>,
shm: &Attached<WlShm>,
theme_manager: Option<ThemeManager>,
implementation: Box<dyn FnMut(FrameRequest, u32, DispatchData<'_>)>
) -> Result<ConceptFrame, Error>
Initialize the Frame. Read more
Notify that a new wl_seat should be handled Read more
Notify that this seat has lost the pointer capability or has been lost Read more
Set the Window XDG states for the frame Read more
Hide or show the decorations Read more
Set whether interactive resize hints should be displayed and reacted to Read more
Subtracts the border dimensions from the given dimensions.
Adds the border dimensions to the given dimensions.
Returns the coordinates of the top-left corner of the borders relative to the content Read more
Sets the configuration for the frame