Current File : //proc/thread-self/root/kunden/usr/share/gtk-doc/html/libatspi/AtspiMatchRule.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AtspiMatchRule: libatspi Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="libatspi Reference Manual">
<link rel="up" href="ch01.html" title="API reference">
<link rel="prev" href="libatspi-atspi-image.html" title="atspi-image">
<link rel="next" href="libatspi-atspi-document.html" title="atspi-document">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#AtspiMatchRule.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#AtspiMatchRule.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libatspi-atspi-image.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libatspi-atspi-document.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="AtspiMatchRule"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="AtspiMatchRule.top_of_page"></a>AtspiMatchRule</span></h2>
<p>AtspiMatchRule</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="AtspiMatchRule.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<a class="link" href="AtspiMatchRule.html" title="AtspiMatchRule"><span class="returnvalue">AtspiMatchRule</span></a> *
</td>
<td class="function_name">
<a class="link" href="AtspiMatchRule.html#atspi-match-rule-new" title="atspi_match_rule_new ()">atspi_match_rule_new</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AtspiMatchRule.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="AtspiMatchRule.html#AtspiMatchRule-struct" title="struct AtspiMatchRule">AtspiMatchRule</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="AtspiMatchRule.html#AtspiMatchRuleClass" title="struct AtspiMatchRuleClass">AtspiMatchRuleClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AtspiMatchRule.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<span class="lineart">╰──</span> AtspiMatchRule
</pre>
</div>
<div class="refsect1">
<a name="AtspiMatchRule.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="AtspiMatchRule.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="atspi-match-rule-new"></a><h3>atspi_match_rule_new ()</h3>
<pre class="programlisting"><a class="link" href="AtspiMatchRule.html" title="AtspiMatchRule"><span class="returnvalue">AtspiMatchRule</span></a> *
atspi_match_rule_new (<em class="parameter"><code><a class="link" href="AtspiStateSet.html" title="AtspiStateSet"><span class="type">AtspiStateSet</span></a> *states</code></em>,
<em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> statematchtype</code></em>,
<em class="parameter"><code><span class="type">GHashTable</span> *attributes</code></em>,
<em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> attributematchtype</code></em>,
<em class="parameter"><code><span class="type">GArray</span> *roles</code></em>,
<em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> rolematchtype</code></em>,
<em class="parameter"><code><span class="type">GArray</span> *interfaces</code></em>,
<em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> interfacematchtype</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> invert</code></em>);</pre>
<p>Creates a new <a class="link" href="AtspiMatchRule.html" title="AtspiMatchRule"><span class="type">AtspiMatchRule</span></a> with specified <em class="parameter"><code>states</code></em>
, <em class="parameter"><code>attributes</code></em>
,
<em class="parameter"><code>interfaces</code></em>
, and <em class="parameter"><code>roles</code></em>
.</p>
<div class="refsect3">
<a name="atspi-match-rule-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>states</p></td>
<td class="parameter_description"><p>An <a class="link" href="AtspiStateSet.html" title="AtspiStateSet"><span class="type">AtspiStateSet</span></a> specifying the states to match or NULL if none.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>statematchtype</p></td>
<td class="parameter_description"><p>An <a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> specifying how to interpret
<em class="parameter"><code>states</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attributes</p></td>
<td class="parameter_description"><p>A <span class="type">GHashTable</span> 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. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> gchar* gchar*]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>attributematchtype</p></td>
<td class="parameter_description"><p>An <a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> specifying how to
interpret <em class="parameter"><code>attributes</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>interfaces</p></td>
<td class="parameter_description"><p>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). </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> gchar*]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>interfacematchtype</p></td>
<td class="parameter_description"><p>An <a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> specifying how to
interpret <em class="parameter"><code>interfaces</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>roles</p></td>
<td class="parameter_description"><p>A <span class="type">GArray</span> of roles to match, or NULL if
not applicable. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> AtspiRole]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>rolematchtype</p></td>
<td class="parameter_description"><p>An <a class="link" href="libatspi-atspi-constants.html#AtspiCollectionMatchType" title="enum AtspiCollectionMatchType"><span class="type">AtspiCollectionMatchType</span></a> specifying how to
interpret <em class="parameter"><code>roles</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>invert</p></td>
<td class="parameter_description"><p>if <span class="type">TRUE</span>, the match rule should be denied (inverted); if <span class="type">FALSE</span>,
it should not. For example, if the match rule defines that a match is
an object of ROLE_HEADING which has STATE_FOCUSABLE and a click action,
inverting it would match all objects that are not of ROLE_HEADING,
focusable and clickable at the same time.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="atspi-match-rule-new.returns"></a><h4>Returns</h4>
<p>A new <a class="link" href="AtspiMatchRule.html" title="AtspiMatchRule"><span class="type">AtspiMatchRule</span></a>. </p>
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="AtspiMatchRule.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="AtspiMatchRule-struct"></a><h3>struct AtspiMatchRule</h3>
<pre class="programlisting">struct AtspiMatchRule;</pre>
</div>
<hr>
<div class="refsect2">
<a name="AtspiMatchRuleClass"></a><h3>struct AtspiMatchRuleClass</h3>
<pre class="programlisting">struct AtspiMatchRuleClass {
GObjectClass parent_class;
};
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>