pub trait NativeDecoration {
// Required methods
fn run(&self);
fn new(
title: String,
width: f64,
height: f64,
theme: ThemeDefault,
) -> Result<Self, WResponse>
where Self: Sized;
fn apply_blur(&mut self) -> Result<(), WResponse>;
fn exit(&self) -> Result<(), WResponse>;
fn create_app_menu(&self, app_name: String) -> Result<(), WResponse>;
}Expand description
NativeDecoration provides the necessary abstraction used inside the platform modules
Required Methods§
Sourcefn new(
title: String,
width: f64,
height: f64,
theme: ThemeDefault,
) -> Result<Self, WResponse>where
Self: Sized,
fn new(
title: String,
width: f64,
height: f64,
theme: ThemeDefault,
) -> Result<Self, WResponse>where
Self: Sized,
creates a new decoration on the system
Sourcefn apply_blur(&mut self) -> Result<(), WResponse>
fn apply_blur(&mut self) -> Result<(), WResponse>
Apply blur to window
App Menu Controls