Class: Atk::Object
- Inherits:
-
Object
- Object
- Atk::Object
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#accessible_component_layer ⇒ Integer
Accessible-component-layer.
- #accessible_component_layer=(accessible_component_layer) ⇒ Integer
-
#accessible_component_mdi_zorder ⇒ Integer
Accessible-component-mdi-zorder.
- #accessible_component_mdi_zorder=(accessible_component_mdi_zorder) ⇒ Integer
-
#accessible_description ⇒ String
Accessible-description.
- #accessible_description=(accessible_description) ⇒ String
-
#accessible_hypertext_nlinks ⇒ Integer
Accessible-hypertext-nlinks.
- #accessible_hypertext_nlinks=(accessible_hypertext_nlinks) ⇒ Integer
-
#accessible_id ⇒ String
Gets the accessible id of the accessible.
-
#accessible_id=(name) ⇒ nil
Sets the accessible ID of the accessible.
-
#accessible_name ⇒ String
Accessible-name.
- #accessible_name=(accessible_name) ⇒ String
-
#accessible_parent ⇒ Atk::Object
Accessible-parent.
- #accessible_parent=(accessible_parent) ⇒ Atk::Object
-
#accessible_role ⇒ Atk::Role
Accessible-role.
- #accessible_role=(accessible_role) ⇒ Atk::Role
-
#accessible_table_caption ⇒ String
Table caption.
-
#accessible_table_caption=(accessible_table_caption) ⇒ String
Table caption.
-
#accessible_table_caption_object ⇒ Atk::Object
Accessible-table-caption-object.
- #accessible_table_caption_object=(accessible_table_caption_object) ⇒ Atk::Object
-
#accessible_table_column_description ⇒ String
Accessible table column description.
-
#accessible_table_column_description=(accessible_table_column_description) ⇒ String
Accessible table column description.
-
#accessible_table_column_header ⇒ Atk::Object
Accessible table column header.
-
#accessible_table_column_header=(accessible_table_column_header) ⇒ Atk::Object
Accessible table column header.
-
#accessible_table_row_description ⇒ String
Accessible table row description.
-
#accessible_table_row_description=(accessible_table_row_description) ⇒ String
Accessible table row description.
-
#accessible_table_row_header ⇒ Atk::Object
Accessible table row header.
-
#accessible_table_row_header=(accessible_table_row_header) ⇒ Atk::Object
Accessible table row header.
-
#accessible_table_summary ⇒ Atk::Object
Accessible-table-summary.
- #accessible_table_summary=(accessible_table_summary) ⇒ Atk::Object
-
#accessible_value ⇒ Float
Numeric value of this object, in case being and AtkValue.
-
#accessible_value=(accessible_value) ⇒ Float
Numeric value of this object, in case being and AtkValue.
-
#add_relationship(relationship, target) ⇒ TrueClass
Adds a relationship of the specified type with the specified target.
-
#attributes ⇒ Atk::AttributeSet
Get a list of properties applied to this object as a whole, as an Atk::AttributeSet consisting of name-value pairs.
-
#connect_property_change_handler(handler) ⇒ Integer
Calls handler on property changes.
-
#description ⇒ String
Gets the accessible description of the accessible.
-
#description=(description) ⇒ nil
Sets the accessible description of the accessible.
-
#index_in_parent ⇒ Integer
Gets the 0-based index of this accessible in its parent; returns -1 if the accessible does not have an accessible parent.
-
#initialize(data) ⇒ nil
constructor
This function is called when implementing subclasses of Atk::Object.
-
#layer ⇒ Atk::Layer
Gets the layer of the accessible.
-
#mdi_zorder ⇒ Integer
Gets the zorder of the accessible.
-
#n_accessible_children ⇒ Integer
Gets the number of accessible children of the accessible.
-
#name ⇒ String
Gets the accessible name of the accessible.
-
#name=(name) ⇒ nil
Sets the accessible name of the accessible.
-
#notify_state_change(state, value) ⇒ nil
Emits a state-change signal for the specified state.
-
#object_locale ⇒ String
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of accessible.
-
#parent ⇒ Atk::Object
Gets the accessible parent of the accessible.
-
#parent=(parent) ⇒ nil
Sets the accessible parent of the accessible.
-
#peek_parent ⇒ Atk::Object
Gets the accessible parent of the accessible, if it has been manually assigned with atk_object_set_parent.
-
#ref_accessible_child(i) ⇒ Atk::Object
Gets a reference to the specified accessible child of the object.
-
#ref_relation_set ⇒ Atk::RelationSet
Gets the Atk::RelationSet associated with the object.
-
#ref_state_set ⇒ Atk::StateSet
Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed.
-
#remove_property_change_handler(handler_id) ⇒ nil
Removes a property change handler.
-
#remove_relationship(relationship, target) ⇒ TrueClass
Removes a relationship of the specified type with the specified target.
-
#role ⇒ Atk::Role
Gets the role of the accessible.
-
#role=(role) ⇒ nil
Sets the role of the accessible.
Constructor Details
#initialize(data) ⇒ nil
This function is called when implementing subclasses of Atk::Object. It does initialization required for the new object. It is intended that this function should called only in the …_new() functions used to create an instance of a subclass of Atk::Object
Instance Method Details
#accessible_component_layer ⇒ Integer
Returns accessible-component-layer.
#accessible_component_layer=(accessible_component_layer) ⇒ Integer
#accessible_component_mdi_zorder ⇒ Integer
Returns accessible-component-mdi-zorder.
#accessible_component_mdi_zorder=(accessible_component_mdi_zorder) ⇒ Integer
#accessible_description ⇒ String
Returns accessible-description.
#accessible_description=(accessible_description) ⇒ String
#accessible_hypertext_nlinks ⇒ Integer
Returns accessible-hypertext-nlinks.
#accessible_hypertext_nlinks=(accessible_hypertext_nlinks) ⇒ Integer
#accessible_id ⇒ String
Gets the accessible id of the accessible. NULL if no such string was set.
#accessible_id=(name) ⇒ nil
Sets the accessible ID of the accessible. This is not meant to be presented to the user, but to be an ID which is stable over application development. Typically, this is the gtkbuilder ID. Such an ID will be available for instance to identify a given well-known accessible object for tailored screen reading, or for automatic regression testing.
#accessible_name ⇒ String
Returns accessible-name.
#accessible_name=(accessible_name) ⇒ String
#accessible_parent ⇒ Atk::Object
Returns accessible-parent.
#accessible_parent=(accessible_parent) ⇒ Atk::Object
#accessible_role ⇒ Atk::Role
Returns accessible-role.
#accessible_role=(accessible_role) ⇒ Atk::Role
#accessible_table_caption ⇒ String
Table caption.
#accessible_table_caption=(accessible_table_caption) ⇒ String
Table caption.
#accessible_table_caption_object ⇒ Atk::Object
Returns accessible-table-caption-object.
#accessible_table_caption_object=(accessible_table_caption_object) ⇒ Atk::Object
#accessible_table_column_description ⇒ String
Accessible table column description.
#accessible_table_column_description=(accessible_table_column_description) ⇒ String
Accessible table column description.
#accessible_table_column_header ⇒ Atk::Object
Accessible table column header.
#accessible_table_column_header=(accessible_table_column_header) ⇒ Atk::Object
Accessible table column header.
#accessible_table_row_description ⇒ String
Accessible table row description.
#accessible_table_row_description=(accessible_table_row_description) ⇒ String
Accessible table row description.
#accessible_table_row_header ⇒ Atk::Object
Accessible table row header.
#accessible_table_row_header=(accessible_table_row_header) ⇒ Atk::Object
Accessible table row header.
#accessible_table_summary ⇒ Atk::Object
Returns accessible-table-summary.
#accessible_table_summary=(accessible_table_summary) ⇒ Atk::Object
#accessible_value ⇒ Float
Numeric value of this object, in case being and AtkValue.
#accessible_value=(accessible_value) ⇒ Float
Numeric value of this object, in case being and AtkValue.
#add_relationship(relationship, target) ⇒ TrueClass
Adds a relationship of the specified type with the specified target.
#attributes ⇒ Atk::AttributeSet
Get a list of properties applied to this object as a whole, as an Atk::AttributeSet consisting of name-value pairs. As such these attributes may be considered weakly-typed properties or annotations, as distinct from strongly-typed object data available via other get/set methods. Not all objects have explicit “name-value pair” Atk::AttributeSet properties. explicit properties/annotations applied to the object, or an empty set if the object has no name-value pair attributes assigned to it. This #atkattributeset should be freed by a call to atk_attribute_set_free().
#connect_property_change_handler(handler) ⇒ Integer
Calls handler on property changes.
#description ⇒ String
Gets the accessible description of the accessible. of the accessible.
#description=(description) ⇒ nil
Sets the accessible description of the accessible. You can’t set the description to NULL. This is reserved for the initial value. In this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to a empty value you can use “”.
#index_in_parent ⇒ Integer
Gets the 0-based index of this accessible in its parent; returns -1 if the accessible does not have an accessible parent.
#layer ⇒ Atk::Layer
Gets the layer of the accessible.
#mdi_zorder ⇒ Integer
Gets the zorder of the accessible. The value G_MININT will be returned if the layer of the accessible is not ATK_LAYER_MDI. which the component is shown in relation to other components in the same container.
#n_accessible_children ⇒ Integer
Gets the number of accessible children of the accessible. of the accessible.
#name ⇒ String
Gets the accessible name of the accessible.
#name=(name) ⇒ nil
Sets the accessible name of the accessible. You can’t set the name to NULL. This is reserved for the initial value. In this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to a empty value you can use “”.
#notify_state_change(state, value) ⇒ nil
Emits a state-change signal for the specified state.
Note that as a general rule when the state of an existing object changes, emitting a notification is expected.
#object_locale ⇒ String
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of accessible.
#parent ⇒ Atk::Object
Gets the accessible parent of the accessible. By default this is the one assigned with atk_object_set_parent(), but it is assumed that ATK implementors have ways to get the parent of the object without the need of assigning it manually with atk_object_set_parent(), and will return it with this method.
If you are only interested on the parent assigned with atk_object_set_parent(), use atk_object_peek_parent(). parent of the accessible
#parent=(parent) ⇒ nil
Sets the accessible parent of the accessible. parent can be NULL.
#peek_parent ⇒ Atk::Object
Gets the accessible parent of the accessible, if it has been manually assigned with atk_object_set_parent. Otherwise, this function returns nil.
This method is intended as an utility for ATK implementors, and not to be exposed to accessible tools. See atk_object_get_parent() for further reference. parent of the accessible if assigned
#ref_accessible_child(i) ⇒ Atk::Object
Gets a reference to the specified accessible child of the object. The accessible children are 0-based so the first accessible child is at index 0, the second at index 1 and so on. accessible child of the accessible.
#ref_relation_set ⇒ Atk::RelationSet
Gets the Atk::RelationSet associated with the object. of the object.
#ref_state_set ⇒ Atk::StateSet
Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed. set of the accessible
#remove_property_change_handler(handler_id) ⇒ nil
Removes a property change handler.
#remove_relationship(relationship, target) ⇒ TrueClass
Removes a relationship of the specified type with the specified target.
#role ⇒ Atk::Role
Gets the role of the accessible.
#role=(role) ⇒ nil
Sets the role of the accessible.