Struct gtk::StatusIcon
[−]
pub struct StatusIcon(_, _);
Methods
impl StatusIcon
[src]
fn new() -> StatusIcon
fn new_from_file<P: AsRef<Path>>(filename: P) -> StatusIcon
fn new_from_icon_name(icon_name: &str) -> StatusIcon
fn new_from_pixbuf(pixbuf: &Pixbuf) -> StatusIcon
fn new_from_stock(stock_id: &str) -> StatusIcon
fn get_geometry(&self) -> Option<(Screen, Rectangle, Orientation)>
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_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_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(&StatusIcon) + 'static>(&self, f: F) -> u64
fn connect_query_tooltip<F: Fn(&StatusIcon, i32, i32, bool, &Tooltip) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_scroll_event<F: Fn(&StatusIcon, &EventScroll) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_size_changed<F: Fn(&StatusIcon, i32) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
Trait Implementations
impl Clone for StatusIcon
fn clone(&self) -> StatusIcon
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for StatusIcon
impl Hash for StatusIcon
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for StatusIcon
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for StatusIcon
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.