Attribute

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.ObjectAtk.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.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr()

Properties

name
string name [@property getter]

Get field name.

name
string name [@property setter]

Set field name.

value
string value [@property getter]

Get field value.

value
string value [@property setter]

Set field value.