Trait gtk::prelude::FontButtonExt
source · [−]pub trait FontButtonExt: 'static {
Show 19 methods
fn get_font_name(&self) -> Option<GString>;
fn get_show_size(&self) -> bool;
fn get_show_style(&self) -> bool;
fn get_title(&self) -> Option<GString>;
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(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_font_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_show_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_show_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_use_font_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_use_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
sourcefn get_font_name(&self) -> Option<GString>
fn get_font_name(&self) -> Option<GString>
👎Deprecated
source
fn get_show_size(&self) -> bool
source
fn get_show_style(&self) -> bool
source
fn get_use_font(&self) -> bool
source
fn get_use_size(&self) -> bool
sourcefn set_font_name(&self, fontname: &str) -> bool
fn set_font_name(&self, fontname: &str) -> bool
👎Deprecated
source
fn set_show_size(&self, show_size: bool)
source
fn set_show_style(&self, show_style: bool)
source
fn set_use_font(&self, use_font: bool)
source
fn set_use_size(&self, use_size: bool)
source
fn connect_font_set<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_property_font_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_property_font_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
👎Deprecated
sourcefn connect_property_show_size_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_style_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_title_notify<F: Fn(&Self) + 'static>(
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_use_font_notify<F: Fn(&Self) + 'static>(
fn connect_property_use_font_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_use_size_notify<F: Fn(&Self) + 'static>(