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 |
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.
Instances
Eq FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog (==) :: FontChooserDialog -> FontChooserDialog -> Bool # (/=) :: FontChooserDialog -> FontChooserDialog -> Bool # | |
IsGValue FontChooserDialog Source # | Convert |
Defined in GI.Gtk.Objects.FontChooserDialog toGValue :: FontChooserDialog -> IO GValue # fromGValue :: GValue -> IO FontChooserDialog # | |
GObject FontChooserDialog Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog 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] |
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
Overloaded methods
new
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> Maybe Text |
|
-> Maybe a |
|
-> m FontChooserDialog | Returns: a new |
Creates a new FontChooserDialog
.
Since: 3.2