Class

GtkFontDialog

since: 4.10

[]

Description [src]

final class Gtk.FontDialog : GObject.Object
{
  /* No available fields */
}

Collects the arguments that are needed to present a font chooser dialog to the user, such as a title for the dialog and whether it should be modal.

The dialog is shown with the gtk_font_dialog_choose_font() function or its variants.

See GtkFontDialogButton for a convenient control that uses GtkFontDialog and presents the results.

Available since: 4.10

[]

Hierarchy

hierarchy this GtkFontDialog ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Constructors

gtk_font_dialog_new

Creates a new GtkFontDialog object.

since: 4.10

[]

Instance methods

gtk_font_dialog_choose_face

Presents a font chooser dialog to the user.

since: 4.10

gtk_font_dialog_choose_face_finish

Finishes the gtk_font_dialog_choose_face() call.

since: 4.10

gtk_font_dialog_choose_family

Presents a font chooser dialog to the user.

since: 4.10

gtk_font_dialog_choose_family_finish

Finishes the gtk_font_dialog_choose_family() call.

since: 4.10

gtk_font_dialog_choose_font

Presents a font chooser dialog to the user.

since: 4.10

gtk_font_dialog_choose_font_and_features

Presents a font chooser dialog to the user.

since: 4.10

gtk_font_dialog_choose_font_and_features_finish

Finishes the gtk_font_dialog_choose_font_and_features() call.

since: 4.10

gtk_font_dialog_choose_font_finish

Finishes the gtk_font_dialog_choose_font() call.

since: 4.10

gtk_font_dialog_get_filter

Returns the filter that decides which fonts to display in the font chooser dialog.

since: 4.10

gtk_font_dialog_get_font_map

Returns the fontmap from which fonts are selected, or NULL for the default fontmap.

since: 4.10

gtk_font_dialog_get_language

Returns the language for which font features are applied.

since: 4.10

gtk_font_dialog_get_modal

Returns whether the font chooser dialog blocks interaction with the parent window while it is presented.

since: 4.10

gtk_font_dialog_get_title

Returns the title that will be shown on the font chooser dialog.

since: 4.10

gtk_font_dialog_set_filter

Adds a filter that decides which fonts to display in the font chooser dialog.

since: 4.10

gtk_font_dialog_set_font_map

Sets the fontmap from which fonts are selected.

since: 4.10

gtk_font_dialog_set_language

Sets the language for which font features are applied.

since: 4.10

gtk_font_dialog_set_modal

Sets whether the font chooser dialog blocks interaction with the parent window while it is presented.

since: 4.10

gtk_font_dialog_set_title

Sets the title that will be shown on the font chooser dialog.

since: 4.10

Methods inherited from GObject (43)
[]

Properties

Gtk.FontDialog:filter

A filter to restrict what fonts are shown in the font chooser dialog.

since: 4.10

Gtk.FontDialog:font-map

A custom font map to select fonts from.

since: 4.10

Gtk.FontDialog:language

The language for which the font features are selected.

since: 4.10

Gtk.FontDialog:modal

Whether the font chooser dialog is modal.

since: 4.10

Gtk.FontDialog:title

A title that may be shown on the font chooser dialog that is presented by gtk_font_dialog_choose_font().

since: 4.10

[]

Signals

Signals inherited from GObject (1)

Class structure