Trait libhelium::prelude::DesktopExt
source · pub trait DesktopExt: IsA<Desktop> + Sealed + 'static {
Show 14 methods
// Provided methods
fn accent_color(&self) -> Option<RGBColor> { ... }
fn font_weight(&self) -> f64 { ... }
fn set_font_weight(&self, value: f64) { ... }
fn roundness(&self) -> f64 { ... }
fn set_roundness(&self, value: f64) { ... }
fn contrast(&self) -> f64 { ... }
fn set_contrast(&self, value: f64) { ... }
fn set_accent_color(&self, accent_color: Option<&RGBColor>) { ... }
fn connect_prefers_color_scheme_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_ensor_scheme_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_accent_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_font_weight_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_roundness_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_contrast_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn accent_color(&self) -> Option<RGBColor>
fn font_weight(&self) -> f64
fn set_font_weight(&self, value: f64)
fn roundness(&self) -> f64
fn set_roundness(&self, value: f64)
fn contrast(&self) -> f64
fn set_contrast(&self, value: f64)
fn set_accent_color(&self, accent_color: Option<&RGBColor>)
fn connect_prefers_color_scheme_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_ensor_scheme_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_accent_color_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_font_weight_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_roundness_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_contrast_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.