GtkFontChooserDialog

GtkFontChooserDialog — A dialog for selecting fonts

Synopsis

#include <gtk/gtk.h>

struct              GtkFontChooserDialog;
GtkWidget *         gtk_font_chooser_dialog_new         (const gchar *title,
                                                         GtkWindow *parent);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----GtkDialog
                                       +----GtkFontChooserDialog

Implemented Interfaces

GtkFontChooserDialog implements AtkImplementorIface, GtkBuildable and GtkFontChooser.

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.

Details

struct GtkFontChooserDialog

struct GtkFontChooserDialog;

gtk_font_chooser_dialog_new ()

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

Creates a new GtkFontChooserDialog.

title :

Title of the dialog, or NULL. [allow-none]

parent :

Transient parent of the dialog, or NULL. [allow-none]

Returns :

a new GtkFontChooserDialog

Since 3.2

See Also

GtkFontChooser, GtkDialog