Method

AtspiAccessibleget_role_name

Declaration [src]

gchar*
atspi_accessible_get_role_name (
  AtspiAccessible* obj
  GError** error
)

Description [src]

Gets a UTF-8 string corresponding to the name of the role played by an object. This method will return useful values for roles that fall outside the enumeration used in atspi_accessible_get_role ().

Return value

Type: gchar*

A UTF-8 string specifying the type of UI role played by an AtspiAccessible object.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.