gi-atk-2.0.12: Atk 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.Atk.Structs.Attribute

Contents

Description

AtkAttribute is a string name/value pair representing a generic attribute. This can be used to expose additional information from an accessible object as a whole (see objectGetAttributes) or an document (see documentGetAttributes). In the case of text attributes (see textGetDefaultAttributes), TextAttribute enum defines all the possible text attribute names. You can use textAttributeGetName to get the string name from the enum value. See also textAttributeForName and textAttributeGetValue for more information.

A string name/value pair representing a generic attribute.

Synopsis

Exported types

newtype Attribute #

Instances

WrappedPtr Attribute # 
(~) AttrOpTag tag AttrSet => Constructible Attribute tag # 

Methods

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

((~) * info (ResolveAttributeMethod t Attribute), MethodInfo * info Attribute p) => IsLabel t (Attribute -> p) # 

Methods

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

((~) * info (ResolveAttributeMethod t Attribute), MethodInfo * info Attribute p) => IsLabelProxy t (Attribute -> p) # 

Methods

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

HasAttributeList * Attribute # 
type AttributeList Attribute # 

newZeroAttribute :: MonadIO m => m Attribute #

Construct a Attribute struct initialized to zero.

Methods

setFree

attributeSetFree #

Arguments

:: (HasCallStack, MonadIO m) 
=> [Ptr ()]

attribSet: The AtkAttributeSet to free

-> m () 

Frees the memory used by an AtkAttributeSet, including all its AtkAttributes.

Properties

name

value