| 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 |
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
- 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.
Constructors
| FontChooserDialog (ManagedPtr FontChooserDialog) |
Instances
| GObject FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog Methods gobjectType :: FontChooserDialog -> IO GType # | |
| IsImplementorIface FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsObject FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsBuildable FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsFontChooser FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsBin FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsContainer FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsDialog FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsWidget FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsWindow FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| IsFontChooserDialog FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
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
Arguments
| :: (HasCallStack, MonadIO m, IsWindow a) | |
| => Maybe Text |
|
| -> Maybe a |
|
| -> m FontChooserDialog | Returns: a new |
Creates a new FontChooserDialog.
Since: 3.2