| 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.Pango.Objects.FontsetSimple
Contents
Description
FontsetSimple is a implementation of the abstract
Fontset base class in terms of an array of fonts,
which the creator provides when constructing the
FontsetSimple.
- newtype FontsetSimple = FontsetSimple (ManagedPtr FontsetSimple)
- class GObject o => IsFontsetSimple o
- toFontsetSimple :: IsFontsetSimple o => o -> IO FontsetSimple
- noFontsetSimple :: Maybe FontsetSimple
- data FontsetSimpleAppendMethodInfo
- fontsetSimpleAppend :: (HasCallStack, MonadIO m, IsFontsetSimple a, IsFont b) => a -> b -> m ()
- fontsetSimpleNew :: (HasCallStack, MonadIO m) => Language -> m FontsetSimple
- data FontsetSimpleSizeMethodInfo
- fontsetSimpleSize :: (HasCallStack, MonadIO m, IsFontsetSimple a) => a -> m Int32
Exported types
newtype FontsetSimple Source #
Constructors
| FontsetSimple (ManagedPtr FontsetSimple) |
Instances
| GObject FontsetSimple Source # | |
| IsObject FontsetSimple Source # | |
| IsFontset FontsetSimple Source # | |
| IsFontsetSimple FontsetSimple Source # | |
| ((~) * info (ResolveFontsetSimpleMethod t FontsetSimple), MethodInfo * info FontsetSimple p) => IsLabel t (FontsetSimple -> p) Source # | |
| ((~) * info (ResolveFontsetSimpleMethod t FontsetSimple), MethodInfo * info FontsetSimple p) => IsLabelProxy t (FontsetSimple -> p) Source # | |
| HasAttributeList * FontsetSimple Source # | |
| type AttributeList FontsetSimple Source # | |
| type SignalList FontsetSimple Source # | |
class GObject o => IsFontsetSimple o Source #
Instances
toFontsetSimple :: IsFontsetSimple o => o -> IO FontsetSimple Source #
Methods
append
data FontsetSimpleAppendMethodInfo Source #
Instances
| ((~) * signature (b -> m ()), MonadIO m, IsFontsetSimple a, IsFont b) => MethodInfo * FontsetSimpleAppendMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsFontsetSimple a, IsFont b) | |
| => a |
|
| -> b |
|
| -> m () |
Adds a font to the fontset.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Language |
|
| -> m FontsetSimple | Returns: the newly allocated |
Creates a new FontsetSimple for the given language.
size
data FontsetSimpleSizeMethodInfo Source #
Instances
| ((~) * signature (m Int32), MonadIO m, IsFontsetSimple a) => MethodInfo * FontsetSimpleSizeMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsFontsetSimple a) | |
| => a |
|
| -> m Int32 | Returns: the size of |
Returns the number of fonts in the fontset.