gi-pango-1.0.24: Pango bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Pango.Structs.AttrFontFeatures

Description

The AttrFontFeatures structure is used to represent OpenType font features as an attribute.

Since: 1.38

Synopsis

Exported types

newtype AttrFontFeatures Source #

Memory-managed wrapper type.

Constructors

AttrFontFeatures (ManagedPtr AttrFontFeatures) 

Instances

Instances details
Eq AttrFontFeatures Source # 
Instance details

Defined in GI.Pango.Structs.AttrFontFeatures

BoxedPtr AttrFontFeatures Source # 
Instance details

Defined in GI.Pango.Structs.AttrFontFeatures

CallocPtr AttrFontFeatures Source # 
Instance details

Defined in GI.Pango.Structs.AttrFontFeatures

ManagedPtrNewtype AttrFontFeatures Source # 
Instance details

Defined in GI.Pango.Structs.AttrFontFeatures

tag ~ 'AttrSet => Constructible AttrFontFeatures tag Source # 
Instance details

Defined in GI.Pango.Structs.AttrFontFeatures

Methods

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

newZeroAttrFontFeatures :: MonadIO m => m AttrFontFeatures Source #

Construct a AttrFontFeatures struct initialized to zero.

Methods

new

attrFontFeaturesNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

features: a string with OpenType font features, in CSS syntax

-> m Attribute

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

Create a new font features tag attribute.

Since: 1.38

Properties

attr

the common portion of the attribute

getAttrFontFeaturesAttr :: MonadIO m => AttrFontFeatures -> m Attribute Source #

Get the value of the “attr” field. When overloading is enabled, this is equivalent to

get attrFontFeatures #attr

features

the featues, as a string in CSS syntax

clearAttrFontFeaturesFeatures :: MonadIO m => AttrFontFeatures -> m () Source #

Set the value of the “features” field to Nothing. When overloading is enabled, this is equivalent to

clear #features

getAttrFontFeaturesFeatures :: MonadIO m => AttrFontFeatures -> m (Maybe Text) Source #

Get the value of the “features” field. When overloading is enabled, this is equivalent to

get attrFontFeatures #features

setAttrFontFeaturesFeatures :: MonadIO m => AttrFontFeatures -> CString -> m () Source #

Set the value of the “features” field. When overloading is enabled, this is equivalent to

set attrFontFeatures [ #features := value ]