libadwaita::prelude

Trait AdwApplicationExt

Source
pub trait AdwApplicationExt:
    IsA<Application>
    + Sealed
    + 'static {
    // Provided methods
    fn style_manager(&self) -> StyleManager { ... }
    fn connect_style_manager_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Application methods.

§Implementors

Application

Provided Methods§

Source

fn style_manager(&self) -> StyleManager

Gets the style manager for @self.

This is a convenience property allowing to access StyleManager through property bindings or expressions.

§Returns

the style manager

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§