Atk.Attribute¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| name | str | r/w | The attribute name. | 
| value | str | r/w | the value of the attribute, represented as a string. | 
Details¶
- 
class Atk.Attribute¶
- Atk.Attributeis 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()),- Atk.TextAttributeenum defines all the possible text attribute names. You can use- Atk.TextAttribute.get_name() to get the string name from the enum value. See also- Atk.TextAttribute.for_name() and- Atk.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.
 
- 
classmethod