[][src]Trait gtk::prelude::StatusIconExt

pub trait StatusIconExt: 'static {
    fn get_property_embedded(&self) -> bool;
fn set_property_file<'a, P: Into<Option<&'a str>>>(&self, file: P);
fn get_property_gicon(&self) -> Option<Icon>;
fn set_property_gicon<P: IsA<Icon> + SetValueOptional>(
        &self,
        gicon: Option<&P>
    );
fn get_property_has_tooltip(&self) -> bool;
fn set_property_has_tooltip(&self, has_tooltip: bool);
fn get_property_icon_name(&self) -> Option<GString>;
fn set_property_icon_name<'a, P: Into<Option<&'a str>>>(&self, icon_name: P);
fn get_property_orientation(&self) -> Orientation;
fn get_property_pixbuf(&self) -> Option<Pixbuf>;
fn set_property_pixbuf(&self, pixbuf: Option<&Pixbuf>);
fn get_property_screen(&self) -> Option<Screen>;
fn set_property_screen(&self, screen: Option<&Screen>);
fn get_property_size(&self) -> i32;
fn get_property_storage_type(&self) -> ImageType;
fn get_property_title(&self) -> Option<GString>;
fn set_property_title<'a, P: Into<Option<&'a str>>>(&self, title: P);
fn get_property_tooltip_markup(&self) -> Option<GString>;
fn set_property_tooltip_markup<'a, P: Into<Option<&'a str>>>(
        &self,
        tooltip_markup: P
    );
fn get_property_tooltip_text(&self) -> Option<GString>;
fn set_property_tooltip_text<'a, P: Into<Option<&'a str>>>(
        &self,
        tooltip_text: P
    );
fn get_property_visible(&self) -> bool;
fn set_property_visible(&self, visible: bool);
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_activate(&self);
fn connect_button_press_event<F: Fn(&Self, &EventButton) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_button_release_event<F: Fn(&Self, &EventButton) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_popup_menu<F: Fn(&Self, u32, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_popup_menu(&self, button: u32, activate_time: u32);
fn connect_query_tooltip<F: Fn(&Self, i32, i32, bool, &Tooltip) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_scroll_event<F: Fn(&Self, &EventScroll) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_size_changed<F: Fn(&Self, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_embedded_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_file_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_gicon_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_tooltip_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_pixbuf_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_screen_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_storage_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_tooltip_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_tooltip_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_visible_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_property_embedded(&self) -> bool

fn set_property_file<'a, P: Into<Option<&'a str>>>(&self, file: P)

fn get_property_gicon(&self) -> Option<Icon>

fn set_property_gicon<P: IsA<Icon> + SetValueOptional>(&self, gicon: Option<&P>)

fn get_property_has_tooltip(&self) -> bool

fn set_property_has_tooltip(&self, has_tooltip: bool)

fn get_property_icon_name(&self) -> Option<GString>

fn set_property_icon_name<'a, P: Into<Option<&'a str>>>(&self, icon_name: P)

fn get_property_orientation(&self) -> Orientation

fn get_property_pixbuf(&self) -> Option<Pixbuf>

fn set_property_pixbuf(&self, pixbuf: Option<&Pixbuf>)

fn get_property_screen(&self) -> Option<Screen>

fn set_property_screen(&self, screen: Option<&Screen>)

fn get_property_size(&self) -> i32

fn get_property_storage_type(&self) -> ImageType

fn get_property_title(&self) -> Option<GString>

fn set_property_title<'a, P: Into<Option<&'a str>>>(&self, title: P)

fn get_property_tooltip_markup(&self) -> Option<GString>

fn set_property_tooltip_markup<'a, P: Into<Option<&'a str>>>(
    &self,
    tooltip_markup: P
)

fn get_property_tooltip_text(&self) -> Option<GString>

fn set_property_tooltip_text<'a, P: Into<Option<&'a str>>>(
    &self,
    tooltip_text: P
)

fn get_property_visible(&self) -> bool

fn set_property_visible(&self, visible: bool)

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

fn emit_activate(&self)

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

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

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

fn emit_popup_menu(&self, button: u32, activate_time: u32)

fn connect_query_tooltip<F: Fn(&Self, i32, i32, bool, &Tooltip) -> bool + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<StatusIcon>> StatusIconExt for O[src]

Loading content...