atk.attribute

Module for [Attribute] class

class Attribute

Types 1

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.ObjectWrap.getAttributes]) or an document (see [atk.document.Document.getAttributes]). In the case of text attributes (see [atk.text.Text.getDefaultAttributes]), #AtkTextAttribute enum defines all the possible text attribute names. You can use [atk.global.textAttributeGetName] to get the string name from the enum value. See also [atk.global.textAttributeForName] and [atk.global.textAttributeGetValue] for more information.

A string name/value pair representing a generic attribute.

Fields
AtkAttribute _cInstance
Methods
void * _cPtr()
string name() @propertyGet `name` field. Returns: The attribute name.
void name(string propval) @propertySet `name` field. Params: propval = The attribute name.
string value() @propertyGet `value` field. Returns: the value of the attribute, represented as a string.
void value(string propval) @propertySet `value` field. Params: propval = the value of the attribute, represented as a string.
Constructors
this(void * ptr, Flag!"Take" take)