Struct gtk::Tooltip
[−]
pub struct Tooltip(_, _);
Methods
impl Tooltip
[src]
fn set_custom<T: IsA<Widget>>(&self, custom_widget: Option<&T>)
fn set_icon(&self, pixbuf: Option<&Pixbuf>)
fn set_icon_from_icon_name<'a, T: Into<Option<&'a str>>>(&self,
icon_name: T,
size: i32)
icon_name: T,
size: i32)
fn set_icon_from_stock<'a, T: Into<Option<&'a str>>>(&self,
stock_id: T,
size: i32)
stock_id: T,
size: i32)
fn set_markup<'a, T: Into<Option<&'a str>>>(&self, markup: T)
fn set_text<'a, T: Into<Option<&'a str>>>(&self, text: T)
fn set_tip_area(&self, rect: &Rectangle)
fn trigger_tooltip_query(display: &Display)
Trait Implementations
impl Clone for Tooltip
fn clone(&self) -> Tooltip
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 Tooltip
impl Hash for Tooltip
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for Tooltip
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Tooltip
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 !=
.