gi-gtk-3.0.11: 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.FontChooserWidget

Contents

Description

The FontChooserWidget widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the FontChooserDialog widget to provide a dialog box for selecting fonts.

To set the font which is initially selected, use fontChooserSetFont or fontChooserSetFontDesc.

To get the selected font use fontChooserGetFont or fontChooserGetFontDesc.

To change the text which is shown in the preview area, use fontChooserSetPreviewText.

CSS nodes

GtkFontChooserWidget has a single CSS node with name fontchooser.

Synopsis

Exported types

Methods

new

fontChooserWidgetNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m FontChooserWidget

Returns: a new FontChooserWidget

Creates a new FontChooserWidget.

Since: 3.2