Trait gtk::prelude::IconInfoExt [] [src]

pub trait IconInfoExt {
    fn copy(&self) -> Option<IconInfo>;
    fn get_base_scale(&self) -> i32;
    fn get_base_size(&self) -> i32;
    fn get_builtin_pixbuf(&self) -> Option<Pixbuf>;
    fn get_display_name(&self) -> Option<String>;
    fn get_embedded_rect(&self) -> Option<Rectangle>;
    fn get_filename(&self) -> Option<PathBuf>;
    fn is_symbolic(&self) -> bool;
    fn load_icon(&self) -> Result<Pixbuf, Error>;
    fn load_surface<'a, P: Into<Option<&'a Window>>>(
        &self,
        for_window: P
    ) -> Result<Surface, Error>; fn load_symbolic<'a, 'b, 'c, P: Into<Option<&'a RGBA>>, Q: Into<Option<&'b RGBA>>, R: Into<Option<&'c RGBA>>>(
        &self,
        fg: &RGBA,
        success_color: P,
        warning_color: Q,
        error_color: R
    ) -> Result<(Pixbuf, bool), Error>; fn load_symbolic_for_context(
        &self,
        context: &StyleContext
    ) -> Result<(Pixbuf, bool), Error>; fn set_raw_coordinates(&self, raw_coordinates: bool); }

Required Methods

Implementors