Atk.Attribute¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
name |
r/w |
The attribute name. |
|
value |
r/w |
the value of the attribute, represented as a string. |
Methods¶
class |
|
Details¶
- class Atk.Attribute¶
Atk.Attribute
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 (seeAtk.Object.get_attributes
()) or an document (seeAtk.Document.get_attributes
()). In the case of text attributes (seeAtk.Text.get_default_attributes
()),Atk.TextAttribute
enum defines all the possible text attribute names. You can useAtk.TextAttribute.get_name
() to get the string name from the enum value. See alsoAtk.TextAttribute.for_name
() andAtk.TextAttribute.get_value
() for more information.A string name/value pair representing a generic attribute.
- classmethod set_free(attrib_set)[source]¶
- Parameters:
attrib_set ([
object
]) – The #AtkAttributeSet to free
Frees the memory used by an #AtkAttributeSet, including all its
Atk.Attributes
.