Trait gtk::prelude::FontChooserExt[][src]

pub trait FontChooserExt: 'static {
    fn get_font(&self) -> Option<GString>;
fn get_font_desc(&self) -> Option<FontDescription>;
fn get_font_face(&self) -> Option<FontFace>;
fn get_font_family(&self) -> Option<FontFamily>;
fn get_font_map(&self) -> Option<FontMap>;
fn get_font_size(&self) -> i32;
fn get_preview_text(&self) -> Option<GString>;
fn get_show_preview_entry(&self) -> bool;
fn set_filter_func(
        &self,
        filter: Option<Box<dyn Fn(&FontFamily, &FontFace) -> bool + 'static>>
    );
fn set_font(&self, fontname: &str);
fn set_font_desc(&self, font_desc: &FontDescription);
fn set_font_map<'a, P: IsA<FontMap> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        fontmap: Q
    );
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_property_font_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_font_desc_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_preview_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_preview_entry_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_font(&self) -> Option<GString>[src]

fn get_font_desc(&self) -> Option<FontDescription>[src]

fn get_font_face(&self) -> Option<FontFace>[src]

fn get_font_family(&self) -> Option<FontFamily>[src]

fn get_font_map(&self) -> Option<FontMap>[src]

fn get_font_size(&self) -> i32[src]

fn get_preview_text(&self) -> Option<GString>[src]

fn get_show_preview_entry(&self) -> bool[src]

fn set_filter_func(
    &self,
    filter: Option<Box<dyn Fn(&FontFamily, &FontFace) -> bool + 'static>>
)
[src]

fn set_font(&self, fontname: &str)[src]

fn set_font_desc(&self, font_desc: &FontDescription)[src]

fn set_font_map<'a, P: IsA<FontMap> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    fontmap: Q
)
[src]

fn set_preview_text(&self, text: &str)[src]

fn set_show_preview_entry(&self, show_preview_entry: bool)[src]

fn connect_font_activated<F: Fn(&Self, &str) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_font_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_font_desc_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_preview_text_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_preview_entry_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<FontChooser>> FontChooserExt for O[src]

Loading content...