Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype FontChooserDialog = FontChooserDialog (ManagedPtr FontChooserDialog)
- class GObject o => IsFontChooserDialog o
- toFontChooserDialog :: (MonadIO m, IsFontChooserDialog o) => o -> m FontChooserDialog
- noFontChooserDialog :: Maybe FontChooserDialog
- fontChooserDialogNew :: (HasCallStack, MonadIO m, IsWindow a) => Maybe Text -> Maybe a -> m FontChooserDialog
Exported types
newtype FontChooserDialog Source #
Memory-managed wrapper type.
Instances
class GObject o => IsFontChooserDialog o Source #
Type class for types which can be safely cast to FontChooserDialog
, for instance with toFontChooserDialog
.
Instances
(GObject a, (UnknownAncestorError FontChooserDialog a :: Constraint)) => IsFontChooserDialog a Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
IsFontChooserDialog FontChooserDialog Source # | |
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
new
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> Maybe Text |
|
-> Maybe a |
|
-> m FontChooserDialog | Returns: a new |
Creates a new FontChooserDialog
.
Since: 3.2