gtk4::subclass::font_chooser

Trait FontChooserImplExt

Source
pub trait FontChooserImplExt: FontChooserImpl {
    // Provided methods
    fn parent_font_family(&self) -> Option<FontFamily> { ... }
    fn parent_font_face(&self) -> Option<FontFace> { ... }
    fn parent_font_size(&self) -> i32 { ... }
    fn parent_set_filter_func(&self, callback: Option<FilterCallback>) { ... }
    fn parent_set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>) { ... }
    fn parent_font_map(&self) -> Option<FontMap> { ... }
    fn parent_font_activated(&self, font_name: &str) { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_font_size(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_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ยง