Struct gtk::LinkButton
[−]
pub struct LinkButton(_, _);
Methods
impl LinkButton
[src]
fn new(uri: &str) -> LinkButton
fn new_with_label<'a, P: Into<Option<&'a str>>>(
uri: &str,
label: P
) -> LinkButton
uri: &str,
label: P
) -> LinkButton
fn get_uri(&self) -> Option<String>
fn get_visited(&self) -> bool
fn set_uri(&self, uri: &str)
fn set_visited(&self, visited: bool)
fn connect_activate_link<F: Fn(&LinkButton) -> Inhibit + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
Trait Implementations
impl Clone for LinkButton
fn clone(&self) -> LinkButton
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 LinkButton
impl Hash for LinkButton
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 LinkButton
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for LinkButton
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 !=
.