| 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.Structs.AttrSize
Description
The AttrSize structure is used to represent attributes which
set font size.
- newtype AttrSize = AttrSize (ManagedPtr AttrSize)
- newZeroAttrSize :: MonadIO m => m AttrSize
- noAttrSize :: Maybe AttrSize
- attrSizeNew :: (HasCallStack, MonadIO m) => Int32 -> m Attribute
- getAttrSizeAbsolute :: MonadIO m => AttrSize -> m Word32
- setAttrSizeAbsolute :: MonadIO m => AttrSize -> Word32 -> m ()
- getAttrSizeAttr :: MonadIO m => AttrSize -> m Attribute
- getAttrSizeSize :: MonadIO m => AttrSize -> m Int32
- setAttrSizeSize :: MonadIO m => AttrSize -> Int32 -> m ()
Exported types
Constructors
| AttrSize (ManagedPtr AttrSize) |
Instances
| WrappedPtr AttrSize Source # | |
| (~) AttrOpTag tag AttrSet => Constructible AttrSize tag Source # | |
Methods
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Int32 |
|
| -> m Attribute | Returns: the newly allocated |
Create a new font-size attribute in fractional points.