| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gtk.Objects.FontChooserDialog
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
- 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
| Eq FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog Methods (==) :: FontChooserDialog -> FontChooserDialog -> Bool # (/=) :: FontChooserDialog -> FontChooserDialog -> Bool # | |
| IsGValue FontChooserDialog Source # | Convert |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| ManagedPtrNewtype FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog Methods toManagedPtr :: FontChooserDialog -> ManagedPtr FontChooserDialog # | |
| TypedObject FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| GObject FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog | |
| 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] | |
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.
Methods
Overloaded methods
new
Arguments
| :: (HasCallStack, MonadIO m, IsWindow a) | |
| => Maybe Text |
|
| -> Maybe a |
|
| -> m FontChooserDialog | Returns: a new |
Creates a new FontChooserDialog.
Since: 3.2