Trait gtk::prelude::IconThemeExt  
                   
                       [−]
                   
               [src]
pub trait IconThemeExt {
    fn add_resource_path(&self, path: &str);
    fn append_search_path<P: AsRef<Path>>(&self, path: P);
    fn get_example_icon_name(&self) -> Option<String>;
    fn has_icon(&self, icon_name: &str) -> bool;
    fn list_contexts(&self) -> Vec<String>;
    fn list_icons<'a, P: Into<Option<&'a str>>>(
        &self, 
        context: P
    ) -> Vec<String>;
    fn load_icon(
        &self, 
        icon_name: &str, 
        size: i32, 
        flags: IconLookupFlags
    ) -> Result<Option<Pixbuf>, Error>;
    fn load_icon_for_scale(
        &self, 
        icon_name: &str, 
        size: i32, 
        scale: i32, 
        flags: IconLookupFlags
    ) -> Result<Option<Pixbuf>, Error>;
    fn load_surface<'a, P: Into<Option<&'a Window>>>(
        &self, 
        icon_name: &str, 
        size: i32, 
        scale: i32, 
        for_window: P, 
        flags: IconLookupFlags
    ) -> Result<Option<Surface>, Error>;
    fn lookup_by_gicon<P: IsA<Icon>>(
        &self, 
        icon: &P, 
        size: i32, 
        flags: IconLookupFlags
    ) -> Option<IconInfo>;
    fn lookup_by_gicon_for_scale<P: IsA<Icon>>(
        &self, 
        icon: &P, 
        size: i32, 
        scale: i32, 
        flags: IconLookupFlags
    ) -> Option<IconInfo>;
    fn lookup_icon(
        &self, 
        icon_name: &str, 
        size: i32, 
        flags: IconLookupFlags
    ) -> Option<IconInfo>;
    fn lookup_icon_for_scale(
        &self, 
        icon_name: &str, 
        size: i32, 
        scale: i32, 
        flags: IconLookupFlags
    ) -> Option<IconInfo>;
    fn prepend_search_path<P: AsRef<Path>>(&self, path: P);
    fn rescan_if_needed(&self) -> bool;
    fn set_custom_theme<'a, P: Into<Option<&'a str>>>(&self, theme_name: P);
    fn set_screen(&self, screen: &Screen);
    fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
}
            Required Methods
fn add_resource_path(&self, path: &str)
fn append_search_path<P: AsRef<Path>>(&self, path: P)
fn get_example_icon_name(&self) -> Option<String>
fn has_icon(&self, icon_name: &str) -> bool
fn list_contexts(&self) -> Vec<String>
fn list_icons<'a, P: Into<Option<&'a str>>>(&self, context: P) -> Vec<String>
fn load_icon(
    &self, 
    icon_name: &str, 
    size: i32, 
    flags: IconLookupFlags
) -> Result<Option<Pixbuf>, Error>
&self,
icon_name: &str,
size: i32,
flags: IconLookupFlags
) -> Result<Option<Pixbuf>, Error>
fn load_icon_for_scale(
    &self, 
    icon_name: &str, 
    size: i32, 
    scale: i32, 
    flags: IconLookupFlags
) -> Result<Option<Pixbuf>, Error>
&self,
icon_name: &str,
size: i32,
scale: i32,
flags: IconLookupFlags
) -> Result<Option<Pixbuf>, Error>
fn load_surface<'a, P: Into<Option<&'a Window>>>(
    &self, 
    icon_name: &str, 
    size: i32, 
    scale: i32, 
    for_window: P, 
    flags: IconLookupFlags
) -> Result<Option<Surface>, Error>
&self,
icon_name: &str,
size: i32,
scale: i32,
for_window: P,
flags: IconLookupFlags
) -> Result<Option<Surface>, Error>
fn lookup_by_gicon<P: IsA<Icon>>(
    &self, 
    icon: &P, 
    size: i32, 
    flags: IconLookupFlags
) -> Option<IconInfo>
&self,
icon: &P,
size: i32,
flags: IconLookupFlags
) -> Option<IconInfo>
fn lookup_by_gicon_for_scale<P: IsA<Icon>>(
    &self, 
    icon: &P, 
    size: i32, 
    scale: i32, 
    flags: IconLookupFlags
) -> Option<IconInfo>
&self,
icon: &P,
size: i32,
scale: i32,
flags: IconLookupFlags
) -> Option<IconInfo>
fn lookup_icon(
    &self, 
    icon_name: &str, 
    size: i32, 
    flags: IconLookupFlags
) -> Option<IconInfo>
&self,
icon_name: &str,
size: i32,
flags: IconLookupFlags
) -> Option<IconInfo>
fn lookup_icon_for_scale(
    &self, 
    icon_name: &str, 
    size: i32, 
    scale: i32, 
    flags: IconLookupFlags
) -> Option<IconInfo>
&self,
icon_name: &str,
size: i32,
scale: i32,
flags: IconLookupFlags
) -> Option<IconInfo>