GtkFontChooserDialog

GtkFontChooserDialog — A dialog for selecting fonts

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkWindow
                ╰── GtkDialog
                    ╰── GtkFontChooserDialog

Implemented Interfaces

GtkFontChooserDialog implements GtkAccessible, GtkBuildable, GtkConstraintTarget, GtkNative, GtkShortcutManager, GtkRoot and GtkFontChooser.

Includes

#include <gtk/gtk.h>

Description

The GtkFontChooserDialog widget is a dialog for selecting a font. It implements the GtkFontChooser interface.

GtkFontChooserDialog as GtkBuildable

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

Functions

gtk_font_chooser_dialog_new ()

GtkWidget *
gtk_font_chooser_dialog_new (const char *title,
                             GtkWindow *parent);

Creates a new GtkFontChooserDialog.

Parameters

title

Title of the dialog, or NULL.

[allow-none]

parent

Transient parent of the dialog, or NULL.

[allow-none]

Returns

a new GtkFontChooserDialog

Types and Values

GtkFontChooserDialog

typedef struct _GtkFontChooserDialog GtkFontChooserDialog;