Trait StyleSchemeManagerExt

Source
pub trait StyleSchemeManagerExt: 'static {
    // Required methods
    fn append_search_path(&self, path: &str);
    fn force_rescan(&self);
    fn get_scheme(&self, scheme_id: &str) -> Option<StyleScheme>;
    fn get_scheme_ids(&self) -> Vec<GString>;
    fn get_search_path(&self) -> Vec<GString>;
    fn prepend_search_path(&self, path: &str);
    fn set_search_path(&self, path: &[&str]);
    fn connect_property_scheme_ids_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_search_path_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn append_search_path(&self, path: &str)

Source

fn force_rescan(&self)

Source

fn get_scheme(&self, scheme_id: &str) -> Option<StyleScheme>

Source

fn get_scheme_ids(&self) -> Vec<GString>

Source

fn get_search_path(&self) -> Vec<GString>

Source

fn prepend_search_path(&self, path: &str)

Source

fn set_search_path(&self, path: &[&str])

Source

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

Source

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