Creates a new MatchRule with specified states
, attributes
,
interfaces
, and roles
.
states |
An StateSet specifying the states to match or NULL if none. |
statematchtype |
An CollectionMatchType specifying how to interpret |
attributes |
A GenericSet specifying attributes to match. To specify multiple attribute values, separate each value with a :: If an attribute value contains a :, then it can be escaped by preceding it with a \. A backslash can likewise be escaped by inserting a double backslash. |
attributematchtype |
An CollectionMatchType specifying how to interpret |
roles |
A Array of roles to match, or NULL if not applicable. |
rolematchtype |
An CollectionMatchType specifying how to interpret |
interfaces |
An array of interfaces to match, or NULL if not applicable. Interface names should be specified by their DBus names ( org.a11y.Atspi.Accessible, org.a11y.Atspi.Component, etc). |
interfacematchtype |
An CollectionMatchType specifying how to interpret |
invert |
if |
A new MatchRule. |