Struct gtk::FontButton
[−]
pub struct FontButton(_, _);
Methods
impl FontButton
[src]
fn new() -> FontButton
fn new_with_font(fontname: &str) -> FontButton
fn get_font_name(&self) -> Option<String>
fn get_show_size(&self) -> bool
fn get_show_style(&self) -> bool
fn get_title(&self) -> Option<String>
fn get_use_font(&self) -> bool
fn get_use_size(&self) -> bool
fn set_font_name(&self, fontname: &str) -> bool
fn set_show_size(&self, show_size: bool)
fn set_show_style(&self, show_style: bool)
fn set_title(&self, title: &str)
fn set_use_font(&self, use_font: bool)
fn set_use_size(&self, use_size: bool)
fn connect_font_set<F: Fn(&FontButton) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for FontButton
fn clone(&self) -> FontButton
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 FontButton
impl Hash for FontButton
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 FontButton
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for FontButton
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 !=
.