pub trait CssProviderExt: IsA<CssProvider> + Sealed + 'static {
    // Provided methods
    fn load_from_data(&self, data: &[u8]) -> Result<(), Error> { ... }
    fn load_from_file(&self, file: &impl IsA<File>) -> Result<(), Error> { ... }
    fn load_from_path(&self, path: &str) -> Result<(), Error> { ... }
    fn load_from_resource(&self, resource_path: &str) { ... }
    fn to_str(&self) -> GString { ... }
    fn connect_parsing_error<F: Fn(&Self, &CssSection, &Error) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn load_from_data(&self, data: &[u8]) -> Result<(), Error>

source

fn load_from_file(&self, file: &impl IsA<File>) -> Result<(), Error>

source

fn load_from_path(&self, path: &str) -> Result<(), Error>

source

fn load_from_resource(&self, resource_path: &str)

source

fn to_str(&self) -> GString

source

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

Implementors§