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 #PangoAttrFontDesc structure is used to store an attribute that sets all aspects of the font description at once.
- newtype AttrFontDesc = AttrFontDesc (ManagedPtr AttrFontDesc)
- newZeroAttrFontDesc :: MonadIO m => m AttrFontDesc
- noAttrFontDesc :: Maybe AttrFontDesc
- attrFontDescNew :: MonadIO m => FontDescription -> m Attribute
- attrFontDesc_attr :: AttrLabelProxy "attr"
- getAttrFontDescAttr :: MonadIO m => AttrFontDesc -> m Attribute
- attrFontDesc_desc :: AttrLabelProxy "desc"
- clearAttrFontDescDesc :: MonadIO m => AttrFontDesc -> m ()
- getAttrFontDescDesc :: MonadIO m => AttrFontDesc -> m (Maybe FontDescription)
- setAttrFontDescDesc :: MonadIO m => AttrFontDesc -> Ptr FontDescription -> m ()
Exported types
newtype AttrFontDesc Source #
AttrFontDesc (ManagedPtr AttrFontDesc) |
WrappedPtr AttrFontDesc Source # | |
(~) AttrOpTag tag AttrSet => Constructible AttrFontDesc tag Source # | |
((~) * info (ResolveAttrFontDescMethod t AttrFontDesc), MethodInfo * info AttrFontDesc p) => IsLabel t (AttrFontDesc -> p) Source # | |
((~) * info (ResolveAttrFontDescMethod t AttrFontDesc), MethodInfo * info AttrFontDesc p) => IsLabelProxy t (AttrFontDesc -> p) Source # | |
HasAttributeList * AttrFontDesc Source # | |
type AttributeList AttrFontDesc Source # | |
newZeroAttrFontDesc :: MonadIO m => m AttrFontDesc Source #
Construct a AttrFontDesc
struct initialized to zero.
Methods
new
attrFontDescNew :: MonadIO m => FontDescription -> m Attribute Source #
Properties
attr
attrFontDesc_attr :: AttrLabelProxy "attr" Source #
getAttrFontDescAttr :: MonadIO m => AttrFontDesc -> m Attribute Source #
desc
attrFontDesc_desc :: AttrLabelProxy "desc" Source #
clearAttrFontDescDesc :: MonadIO m => AttrFontDesc -> m () Source #
getAttrFontDescDesc :: MonadIO m => AttrFontDesc -> m (Maybe FontDescription) Source #
setAttrFontDescDesc :: MonadIO m => AttrFontDesc -> Ptr FontDescription -> m () Source #