gi-harfbuzz-0.0.6: HarfBuzz bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.HarfBuzz.Structs.SegmentPropertiesT

Description

The structure that holds various text properties of an BufferT. Can be set and retrieved using bufferSetSegmentProperties and bufferGetSegmentProperties, respectively.

Synopsis

Exported types

newtype SegmentPropertiesT Source #

Memory-managed wrapper type.

Constructors

SegmentPropertiesT (ManagedPtr SegmentPropertiesT) 

Instances

Instances details
Eq SegmentPropertiesT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

GBoxed SegmentPropertiesT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

ManagedPtrNewtype SegmentPropertiesT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

TypedObject SegmentPropertiesT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

Methods

glibType :: IO GType

HasParentTypes SegmentPropertiesT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

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

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

Methods

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

IsGValue (Maybe SegmentPropertiesT) Source #

Convert SegmentPropertiesT to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

type ParentTypes SegmentPropertiesT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.SegmentPropertiesT

type ParentTypes SegmentPropertiesT = '[] :: [Type]

newZeroSegmentPropertiesT :: MonadIO m => m SegmentPropertiesT Source #

Construct a SegmentPropertiesT struct initialized to zero.

Methods

Properties

direction

the DirectionT of the buffer, see bufferSetDirection.

getSegmentPropertiesTDirection :: MonadIO m => SegmentPropertiesT -> m DirectionT Source #

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

get segmentPropertiesT #direction

setSegmentPropertiesTDirection :: MonadIO m => SegmentPropertiesT -> DirectionT -> m () Source #

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

set segmentPropertiesT [ #direction := value ]

language

the LanguageT of the buffer, see bufferSetLanguage.

getSegmentPropertiesTLanguage :: MonadIO m => SegmentPropertiesT -> m LanguageT Source #

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

get segmentPropertiesT #language

script

the ScriptT of the buffer, see bufferSetScript.

getSegmentPropertiesTScript :: MonadIO m => SegmentPropertiesT -> m ScriptT Source #

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

get segmentPropertiesT #script

setSegmentPropertiesTScript :: MonadIO m => SegmentPropertiesT -> ScriptT -> m () Source #

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

set segmentPropertiesT [ #script := value ]