gtk4::prelude

Trait StyleProviderExt

Source
pub trait StyleProviderExt:
    IsA<StyleProvider>
    + Sealed
    + 'static {
    // Provided method
    fn connect_gtk_private_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all StyleProvider methods.

§Implementors

CssProvider, Settings, StyleProvider

Provided Methods§

Source

fn connect_gtk_private_changed<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§