Struct gtk4_sys::GtkFontChooserIface[][src]

#[repr(C)]
pub struct GtkFontChooserIface { pub base_iface: GTypeInterface, pub get_font_family: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFamily>, pub get_font_face: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFace>, pub get_font_size: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> c_int>, pub set_filter_func: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: GtkFontFilterFunc, _: gpointer, _: GDestroyNotify)>, pub font_activated: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *const c_char)>, pub set_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *mut PangoFontMap)>, pub get_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontMap>, pub padding: [gpointer; 10], }

Fields

base_iface: GTypeInterfaceget_font_family: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFamily>get_font_face: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFace>get_font_size: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> c_int>set_filter_func: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: GtkFontFilterFunc, _: gpointer, _: GDestroyNotify)>font_activated: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *const c_char)>set_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *mut PangoFontMap)>get_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontMap>padding: [gpointer; 10]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.