gi-pango-1.0.13: Pango bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Structs.AttrSize

Contents

Description

The AttrSize structure is used to represent attributes which set font size.

Synopsis

Exported types

newtype AttrSize Source #

Constructors

AttrSize (ManagedPtr AttrSize) 

Instances

WrappedPtr AttrSize Source # 
(~) AttrOpTag tag AttrSet => Constructible AttrSize tag Source # 

Methods

new :: MonadIO m => (ManagedPtr AttrSize -> AttrSize) -> [AttrOp AttrSize tag] -> m AttrSize #

((~) * info (ResolveAttrSizeMethod t AttrSize), MethodInfo * info AttrSize p) => IsLabel t (AttrSize -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> AttrSize -> p #

((~) * info (ResolveAttrSizeMethod t AttrSize), MethodInfo * info AttrSize p) => IsLabelProxy t (AttrSize -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> AttrSize -> p #

HasAttributeList * AttrSize Source # 
type AttributeList AttrSize Source # 

newZeroAttrSize :: MonadIO m => m AttrSize Source #

Construct a AttrSize struct initialized to zero.

Methods

new

attrSizeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Int32

size: the font size, in SCALE<!-- -->ths of a point.

-> m Attribute

Returns: the newly allocated Attribute, which should be freed with attributeDestroy.

Create a new font-size attribute in fractional points.

Properties

absolute

attr

size