Constructor
AtspiMatchRulenew
Declaration [src]
AtspiMatchRule*
atspi_match_rule_new (
AtspiStateSet* states,
AtspiCollectionMatchType statematchtype,
GHashTable* attributes,
AtspiCollectionMatchType attributematchtype,
GArray* roles,
AtspiCollectionMatchType rolematchtype,
GArray* interfaces,
AtspiCollectionMatchType interfacematchtype,
gboolean invert
)
Description [src]
Creates a new AtspiMatchRule
with specified states
, attributes
,
interfaces
, and roles
.
Parameters
states |
AtspiStateSet |
An |
|
The data is owned by the caller of the function. | |
statematchtype |
AtspiCollectionMatchType |
An |
|
attributes |
GHashTable |
A |
|
The data is owned by the caller of the function. | |
attributematchtype |
AtspiCollectionMatchType |
An |
|
roles |
An array of AtspiRole |
A |
|
The data is owned by the caller of the function. | |
rolematchtype |
AtspiCollectionMatchType |
An |
|
interfaces |
An array of utf8 |
An array of interfaces to match, or NULL if not applicable. Interface names should be specified by the final component of their DBus names (Accessible, Component, etc). |
|
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. | |
interfacematchtype |
AtspiCollectionMatchType |
An |
|
invert |
gboolean |
If |
Return value
Returns: | AtspiMatchRule |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |