MatchRule
Description:
public MatchRule (StateSet states, CollectionMatchType statematchtype, HashTable<string,string> attributes, CollectionMatchType attributematchtype, Array<Role> roles, CollectionMatchType rolematchtype, Array<string> interfaces, CollectionMatchType interfacematchtype, bool invert)
Creates a new MatchRule with specified states
, attributes
,
interfaces
, and roles
.
Parameters:
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 |
Returns:
A new MatchRule. |