gi-gtk-3.0.32: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.FontChooserDialog

Contents

Description

The tFontChooserDialog widget is a dialog for selecting a font. It implements the tFontChooser interface.

GtkFontChooserDialog as GtkBuildable

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

Since: 3.2

Synopsis

Exported types

newtype FontChooserDialog Source #

Memory-managed wrapper type.

Constructors

FontChooserDialog (ManagedPtr FontChooserDialog) 
Instances
Eq FontChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

GObject FontChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

Methods

gobjectType :: IO GType

IsGValue FontChooserDialog Source #

Convert FontChooserDialog to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

Methods

toGValue :: FontChooserDialog -> IO GValue

fromGValue :: GValue -> IO FontChooserDialog

HasParentTypes FontChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

type ParentTypes FontChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

type ParentTypes FontChooserDialog = Dialog ': (Window ': (Bin ': (Container ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': (FontChooser ': ([] :: [Type])))))))))

class (GObject o, IsDescendantOf FontChooserDialog o) => IsFontChooserDialog o Source #

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

Instances
(GObject o, IsDescendantOf FontChooserDialog o) => IsFontChooserDialog o Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

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.

noFontChooserDialog :: Maybe FontChooserDialog Source #

A convenience alias for Nothing :: Maybe FontChooserDialog.

Methods

Overloaded 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 tFontChooserDialog

Creates a new tFontChooserDialog.

Since: 3.2