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 FontChooserWidget
widget lists the available fonts,
styles and sizes, allowing the user to select a font. It is
used in the FontChooserDialog
widget to provide a
dialog box for selecting fonts.
To set the font which is initially selected, use
fontChooserSetFont
or fontChooserSetFontDesc
.
To get the selected font use fontChooserGetFont
or
fontChooserGetFontDesc
.
To change the text which is shown in the preview area, use
fontChooserSetPreviewText
.
CSS nodes
GtkFontChooserWidget has a single CSS node with name fontchooser.
- newtype FontChooserWidget = FontChooserWidget (ManagedPtr FontChooserWidget)
- class GObject o => IsFontChooserWidget o
- toFontChooserWidget :: IsFontChooserWidget o => o -> IO FontChooserWidget
- noFontChooserWidget :: Maybe FontChooserWidget
- fontChooserWidgetNew :: (HasCallStack, MonadIO m) => m FontChooserWidget
Exported types
newtype FontChooserWidget Source #
GObject FontChooserWidget Source # | |
IsImplementorIface FontChooserWidget Source # | |
IsObject FontChooserWidget Source # | |
IsWidget FontChooserWidget Source # | |
IsContainer FontChooserWidget Source # | |
IsBox FontChooserWidget Source # | |
IsOrientable FontChooserWidget Source # | |
IsFontChooser FontChooserWidget Source # | |
IsBuildable FontChooserWidget Source # | |
IsFontChooserWidget FontChooserWidget Source # | |
((~) * info (ResolveFontChooserWidgetMethod t FontChooserWidget), MethodInfo * info FontChooserWidget p) => IsLabel t (FontChooserWidget -> p) Source # | |
((~) * info (ResolveFontChooserWidgetMethod t FontChooserWidget), MethodInfo * info FontChooserWidget p) => IsLabelProxy t (FontChooserWidget -> p) Source # | |
HasAttributeList * FontChooserWidget Source # | |
type AttributeList FontChooserWidget Source # | |
type SignalList FontChooserWidget Source # | |
class GObject o => IsFontChooserWidget o Source #
toFontChooserWidget :: IsFontChooserWidget o => o -> IO FontChooserWidget Source #
Methods
new
:: (HasCallStack, MonadIO m) | |
=> m FontChooserWidget | Returns: a new |
Creates a new FontChooserWidget
.
Since: 3.2