Method

AtspiCollectionget_matches

Declaration [src]

GArray*
atspi_collection_get_matches (
  AtspiCollection* collection,
  AtspiMatchRule* rule,
  AtspiCollectionSortOrder sortby,
  gint count,
  gboolean traverse,
  GError** error
)

Description [src]

Gets all AtspiAccessible objects from the collection matching a given rule.

Parameters

rule AtspiMatchRule
 

An AtspiMatchRule describing the match criteria.

 The data is owned by the caller of the function.
sortby AtspiCollectionSortOrder
 

An AtspiCollectionSortOrder specifying the way the results are to be sorted.

count gint
 

The maximum number of results to return, or 0 for no limit.

traverse gboolean
 

Not supported.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: An array of AtspiAccessible*
 

All AtspiAccessible objects matching the given match rule.

 The caller of the method takes ownership of the data, and is responsible for freeing it.