gtk4::subclass::font_chooser

Trait FontChooserImpl

Source
pub trait FontChooserImpl: ObjectImpl + ObjectSubclass<Type: IsA<FontChooser>> {
    // Provided methods
    fn font_family(&self) -> Option<FontFamily> { ... }
    fn font_face(&self) -> Option<FontFace> { ... }
    fn font_size(&self) -> i32 { ... }
    fn set_filter_func(&self, callback: Option<FilterCallback>) { ... }
    fn set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>) { ... }
    fn font_map(&self) -> Option<FontMap> { ... }
    fn font_activated(&self, font_name: &str) { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

fn font_family(&self) -> Option<FontFamily>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn font_face(&self) -> Option<FontFace>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn font_size(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn set_filter_func(&self, callback: Option<FilterCallback>)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn font_map(&self) -> Option<FontMap>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn font_activated(&self, font_name: &str)

๐Ÿ‘ŽDeprecated: Since 4.10

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง