Struct gtk::StatusIcon [−]
pub struct StatusIcon(_, _);
Methods
impl StatusIcon
[src]
impl StatusIcon
pub fn new() -> StatusIcon
[src]
pub fn new() -> StatusIcon
pub fn new_from_file<P: AsRef<Path>>(filename: P) -> StatusIcon
[src]
pub fn new_from_file<P: AsRef<Path>>(filename: P) -> StatusIcon
pub fn new_from_gicon<P: IsA<Icon>>(icon: &P) -> StatusIcon
[src]
pub fn new_from_gicon<P: IsA<Icon>>(icon: &P) -> StatusIcon
pub fn new_from_icon_name(icon_name: &str) -> StatusIcon
[src]
pub fn new_from_icon_name(icon_name: &str) -> StatusIcon
pub fn new_from_pixbuf(pixbuf: &Pixbuf) -> StatusIcon
[src]
pub fn new_from_pixbuf(pixbuf: &Pixbuf) -> StatusIcon
pub fn new_from_stock(stock_id: &str) -> StatusIcon
[src]
pub fn new_from_stock(stock_id: &str) -> StatusIcon
Trait Implementations
impl Clone for StatusIcon
impl Clone for StatusIcon
fn clone(&self) -> StatusIcon
fn clone(&self) -> StatusIcon
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for StatusIcon
impl Hash for StatusIcon
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for StatusIcon
impl Ord for StatusIcon
fn cmp(&self, other: &StatusIcon) -> Ordering
fn cmp(&self, other: &StatusIcon) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for StatusIcon
impl StaticType for StatusIcon
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for StatusIcon
impl<T: IsA<Object>> PartialEq<T> for StatusIcon
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for StatusIcon
impl Eq for StatusIcon
impl<T: IsA<Object>> PartialOrd<T> for StatusIcon
impl<T: IsA<Object>> PartialOrd<T> for StatusIcon
fn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for StatusIcon
impl Debug for StatusIcon
impl IsA<Object> for StatusIcon
impl IsA<Object> for StatusIcon
impl Default for StatusIcon
[src]
impl Default for StatusIcon
Auto Trait Implementations
impl !Send for StatusIcon
impl !Send for StatusIcon
impl !Sync for StatusIcon
impl !Sync for StatusIcon