gi-atk-0.2.18.13: 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 atk_object_get_attributes()) or an document (see atk_document_get_attributes()). In the case of text attributes (see atk_text_get_default_attributes()), #AtkTextAttribute enum defines all the possible text attribute names. You can use atk_text_attribute_get_name() to get the string name from the enum value. See also atk_text_attribute_for_name() and atk_text_attribute_get_value() for more information.

A string name/value pair representing a generic attribute.

Synopsis

Exported types

newtype Attribute Source

Instances

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

Methods

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

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

Methods

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

newZeroAttribute :: MonadIO m => m Attribute Source

Construct a Attribute struct initialized to zero.

Methods

attributeSetFree

attributeSetFree :: MonadIO m => [Ptr ()] -> m () Source

Properties

Name

Value