| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
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”.
Since: 3.2
Synopsis
- newtype FontChooserDialog = FontChooserDialog (ManagedPtr FontChooserDialog)
- class (GObject o, IsDescendantOf FontChooserDialog 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.
Constructors
| FontChooserDialog (ManagedPtr FontChooserDialog) |
Instances
| GObject FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog Methods gobjectType :: IO GType # | |
| HasParentTypes FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| type ParentTypes FontChooserDialog Source # | |
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 # | |
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
Arguments
| :: (HasCallStack, MonadIO m, IsWindow a) | |
| => Maybe Text |
|
| -> Maybe a |
|
| -> m FontChooserDialog | Returns: a new |
Creates a new FontChooserDialog.
Since: 3.2