FontChooserDialogRef

public struct FontChooserDialogRef : FontChooserDialogProtocol, GWeakCapturing

The GtkFontChooserDialog widget is a dialog for selecting a font.

An example GtkFontChooserDialog

GtkFontChooserDialog implements the [ifaceGtk.FontChooser] interface and does not provide much API of its own.

To create a GtkFontChooserDialog, use [ctorGtk.FontChooserDialog.new].

GtkFontChooserDialog as GtkBuildable

The GtkFontChooserDialog implementation of the GtkBuildable interface exposes the buttons with the names “select_button” and “cancel_button”.

The FontChooserDialogRef type acts as a lightweight Swift reference to an underlying GtkFontChooserDialog instance. It exposes methods that can operate on this data type through FontChooserDialogProtocol conformance. Use FontChooserDialogRef only as an unowned reference to an existing GtkFontChooserDialog instance.

  • ptr
    Untyped pointer to the underlying `GtkFontChooserDialog` instance.
    

    For type-safe access, use the generated, typed pointer font_chooser_dialog_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

FontChooserDialog Class