logo
pub trait DesktopExt: 'static {
    fn prefers_color_scheme(&self) -> DesktopColorScheme;
    fn accent_color(&self) -> Option<ColorRGBColor>;
    fn set_prefers_color_scheme(&self, prefers_color_scheme: DesktopColorScheme);
    fn set_accent_color(&self, accent_color: Option<&ColorRGBColor>);
    fn connect_prefers_color_scheme_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_accent_color_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all Desktop methods.

Implementors

Desktop

Required Methods

Implementors