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 { ... }
}
Expand description

Trait containing all Desktop methods.

§Implementors

Desktop

Provided Methods§

source

fn accent_color(&self) -> Option<RGBColor>

source

fn font_weight(&self) -> f64

source

fn set_font_weight(&self, value: f64)

source

fn roundness(&self) -> f64

source

fn set_roundness(&self, value: f64)

source

fn contrast(&self) -> f64

source

fn set_contrast(&self, value: f64)

source

fn set_accent_color(&self, accent_color: Option<&RGBColor>)

source

fn connect_prefers_color_scheme_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_ensor_scheme_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_accent_color_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_font_weight_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_roundness_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_contrast_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Desktop>> DesktopExt for O