Trait gtk::StatusIconExt [] [src]

pub trait StatusIconExt {
    fn get_geometry(&self) -> Option<(Screen, Rectangle, Orientation)>;
    fn get_gicon(&self) -> Option<Icon>;
    fn get_has_tooltip(&self) -> bool;
    fn get_icon_name(&self) -> Option<String>;
    fn get_pixbuf(&self) -> Option<Pixbuf>;
    fn get_screen(&self) -> Option<Screen>;
    fn get_size(&self) -> i32;
    fn get_stock(&self) -> Option<String>;
    fn get_storage_type(&self) -> ImageType;
    fn get_title(&self) -> Option<String>;
    fn get_tooltip_markup(&self) -> Option<String>;
    fn get_tooltip_text(&self) -> Option<String>;
    fn get_visible(&self) -> bool;
    fn get_x11_window_id(&self) -> u32;
    fn is_embedded(&self) -> bool;
    fn set_from_file<P: AsRef<Path>>(&self, filename: P);
    fn set_from_gicon<P: IsA<Icon>>(&self, icon: &P);
    fn set_from_icon_name(&self, icon_name: &str);
    fn set_from_pixbuf<'a, P: Into<Option<&'a Pixbuf>>>(&self, pixbuf: P);
    fn set_from_stock(&self, stock_id: &str);
    fn set_has_tooltip(&self, has_tooltip: bool);
    fn set_name(&self, name: &str);
    fn set_screen(&self, screen: &Screen);
    fn set_title(&self, title: &str);
    fn set_tooltip_markup<'a, P: Into<Option<&'a str>>>(&self, markup: P);
    fn set_tooltip_text(&self, text: &str);
    fn set_visible(&self, visible: bool);
    fn get_property_embedded(&self) -> bool;
    fn set_property_file(&self, file: Option<&str>);
    fn set_property_gicon<P: IsA<Icon> + IsA<Object>>(&self, gicon: Option<&P>);
    fn set_property_icon_name(&self, icon_name: Option<&str>);
    fn get_property_orientation(&self) -> Orientation;
    fn set_property_pixbuf(&self, pixbuf: Option<&Pixbuf>);
    fn set_property_stock(&self, stock: Option<&str>);
    fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
    fn connect_button_press_event<F: Fn(&Self, &EventButton) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_button_release_event<F: Fn(&Self, &EventButton) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_popup_menu<F: Fn(&Self, u32, u32) + 'static>(&self, f: F) -> u64; fn connect_query_tooltip<F: Fn(&Self, i32, i32, bool, &Tooltip) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_scroll_event<F: Fn(&Self, &EventScroll) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_size_changed<F: Fn(&Self, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; }

Required Methods

Implementors