gi-gtk-3.0.27: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.FontChooserDialog

Contents

Description

The FontChooserDialog widget is a dialog for selecting a font. It implements the FontChooser interface.

GtkFontChooserDialog as GtkBuildable

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

Synopsis

Exported types

class GObject o => IsFontChooserDialog o Source #

Type class for types which can be safely cast to FontChooserDialog, for instance with toFontChooserDialog.

toFontChooserDialog :: (MonadIO m, IsFontChooserDialog o) => o -> m FontChooserDialog Source #

Cast to FontChooserDialog, for types for which this is known to be safe. For general casts, use castTo.

Methods

new

fontChooserDialogNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> Maybe Text

title: Title of the dialog, or Nothing

-> Maybe a

parent: Transient parent of the dialog, or Nothing

-> m FontChooserDialog

Returns: a new FontChooserDialog

Creates a new FontChooserDialog.

Since: 3.2