Trait gtk4::prelude::FontChooserExt
source · pub trait FontChooserExt: IsA<FontChooser> + Sealed + 'static {
Show 27 methods
// Provided methods
fn font(&self) -> Option<GString> { ... }
fn font_desc(&self) -> Option<FontDescription> { ... }
fn font_face(&self) -> Option<FontFace> { ... }
fn font_family(&self) -> Option<FontFamily> { ... }
fn font_features(&self) -> GString { ... }
fn font_map(&self) -> Option<FontMap> { ... }
fn font_size(&self) -> i32 { ... }
fn language(&self) -> GString { ... }
fn level(&self) -> FontChooserLevel { ... }
fn preview_text(&self) -> GString { ... }
fn shows_preview_entry(&self) -> bool { ... }
fn set_filter_func<P: Fn(&FontFamily, &FontFace) -> bool + 'static>(
&self,
filter: P
) { ... }
fn set_font(&self, fontname: &str) { ... }
fn set_font_desc(&self, font_desc: &FontDescription) { ... }
fn set_font_map(&self, fontmap: Option<&impl IsA<FontMap>>) { ... }
fn set_language(&self, language: &str) { ... }
fn set_level(&self, level: FontChooserLevel) { ... }
fn set_preview_text(&self, text: &str) { ... }
fn set_show_preview_entry(&self, show_preview_entry: bool) { ... }
fn connect_font_activated<F: Fn(&Self, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_font_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_font_desc_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_font_features_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_language_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_level_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_preview_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_show_preview_entry_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}
👎Deprecated: Since 4.10
Provided Methods§
sourcefn font_desc(&self) -> Option<FontDescription>
fn font_desc(&self) -> Option<FontDescription>
👎Deprecated: Since 4.10
sourcefn font_family(&self) -> Option<FontFamily>
fn font_family(&self) -> Option<FontFamily>
👎Deprecated: Since 4.10
sourcefn font_features(&self) -> GString
fn font_features(&self) -> GString
👎Deprecated: Since 4.10
sourcefn level(&self) -> FontChooserLevel
fn level(&self) -> FontChooserLevel
👎Deprecated: Since 4.10
sourcefn preview_text(&self) -> GString
fn preview_text(&self) -> GString
👎Deprecated: Since 4.10
sourcefn shows_preview_entry(&self) -> bool
fn shows_preview_entry(&self) -> bool
👎Deprecated: Since 4.10
sourcefn set_filter_func<P: Fn(&FontFamily, &FontFace) -> bool + 'static>(
&self,
filter: P
)
fn set_filter_func<P: Fn(&FontFamily, &FontFace) -> bool + 'static>( &self, filter: P )
👎Deprecated: Since 4.10
sourcefn set_font_desc(&self, font_desc: &FontDescription)
fn set_font_desc(&self, font_desc: &FontDescription)
👎Deprecated: Since 4.10
sourcefn set_font_map(&self, fontmap: Option<&impl IsA<FontMap>>)
fn set_font_map(&self, fontmap: Option<&impl IsA<FontMap>>)
👎Deprecated: Since 4.10
sourcefn set_language(&self, language: &str)
fn set_language(&self, language: &str)
👎Deprecated: Since 4.10
sourcefn set_level(&self, level: FontChooserLevel)
fn set_level(&self, level: FontChooserLevel)
👎Deprecated: Since 4.10
sourcefn set_preview_text(&self, text: &str)
fn set_preview_text(&self, text: &str)
👎Deprecated: Since 4.10
sourcefn set_show_preview_entry(&self, show_preview_entry: bool)
fn set_show_preview_entry(&self, show_preview_entry: bool)
👎Deprecated: Since 4.10
sourcefn connect_font_activated<F: Fn(&Self, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_font_activated<F: Fn(&Self, &str) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_font_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_font_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_font_desc_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_font_desc_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_font_features_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_font_features_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_language_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_language_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_level_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_level_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_preview_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_preview_text_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_show_preview_entry_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_show_preview_entry_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10