This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-atkrelation.html is in python-gtk2-doc 2.24.0-4ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>atk.Relation</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="atk-class-reference.html" title="The atk Class Reference"><link rel="prev" href="class-atkregistry.html" title="atk.Registry"><link rel="next" href="class-atkrelationset.html" title="atk.RelationSet"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">atk.Relation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkregistry.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atkrelationset.html">Next</a></td></tr></table><hr></div><div class="refentry" title="atk.Relation"><a name="class-atkrelation"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.Relation</h2><p>atk.Relation — an object used to describe a relation between a object and
      one or more other objects.  </p></div><div class="refsect1" title="Synopsis"><a name="id2964591"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.Relation</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-atkrelation.html#constructor-atkrelation" title="atk.Relation">atk.Relation</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>targets</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>relationship</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkrelation.html#method-atkrelation--get-relation-type" title="atk.Relation.get_relation_type">get_relation_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkrelation.html#method-atkrelation--get-target" title="atk.Relation.get_target">get_target</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table><pre class="programlisting">
<span class="bold"><strong>Functions</strong></span>

<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkrelation.html#function-atk--relation-type-register" title="atk.relation_type_register">atk.relation_type_register</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkrelation.html#function-atk--relation-type-get-name" title="atk.relation_type_get_name">atk.relation_type_get_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>relationship</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkrelation.html#function-atk--relation-type-for-name" title="atk.relation_type_for_name">atk.relation_type_for_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code></pre></div><div class="refsect1" title="Ancestry"><a name="id2930800"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-atkrelation.html" title="atk.Relation">atk.Relation</a>
</pre></div><div class="refsect1" title="atk.Relation Properties"><a name="properties-atkrelation"></a><h2>atk.Relation Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"relation-type"</td><td valign="top">Read-Write</td><td valign="top">The type of the relation - one of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a>. Default
          value: atk.RELATION_NULL.</td></tr><tr valign="top"><td valign="top">"target"</td><td valign="top">Read-Write</td><td valign="top">An array of the targets for the relation. Default value:
          None.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="atk.Relation Signal Prototypes"><a name="signal-prototypes-atkrelation"></a><h2>atk.Relation Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" title="Description"><a name="id2954207"></a><h2>Description</h2><p>An <a class="link" href="class-atkrelation.html" title="atk.Relation"><code class="classname">atk.Relation</code></a>
    describes a relation between an object and one or more other
    objects. The actual relations that an object has with other objects are
    defined as an <a class="link" href="class-atkrelationset.html" title="atk.RelationSet"><code class="classname">atk.RelationSet</code></a>,
    which contains a set of <a class="link" href="class-atkrelation.html" title="atk.Relation"><code class="classname">atk.Relation</code></a>
    objects.


</p></div><div class="refsect1" title="Constructor"><a name="id2932867"></a><h2>Constructor</h2><div class="refsect2" title="atk.Relation"><a name="constructor-atkrelation"></a><h3>atk.Relation</h3><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">atk.Relation</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>targets</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>relationship</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>targets</code></strong> :</span></p></td><td>a sequence of <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code>
          objects</a></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>relationship</code></strong> :</span></p></td><td>one of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a> with which to
          create the new <a class="link" href="class-atkrelation.html" title="atk.Relation"><code class="classname">atk.Relation</code></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-atkrelation.html" title="atk.Relation"><code class="classname">atk.Relation</code></a></td></tr></tbody></table><p>Create a new relation for the specified
      <em class="parameter"><code>relationship</code></em> type and the specified sequence of
      <em class="parameter"><code>targets</code></em>.</p></div></div><div class="refsect1" title="Methods"><a name="id2972692"></a><h2>Methods</h2><div class="refsect2" title="atk.Relation.get_relation_type"><a name="method-atkrelation--get-relation-type"></a><h3>atk.Relation.get_relation_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_relation_type</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the relation type - one of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a>.</td></tr></tbody></table><p>Gets the relationship type.</p></div><div class="refsect2" title="atk.Relation.get_target"><a name="method-atkrelation--get-target"></a><h3>atk.Relation.get_target</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_target</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the target list of <em class="parameter"><code>relation</code></em></td></tr></tbody></table><p>Gets the target list of <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
      objects.</p></div></div><div class="refsect1" title="Functions"><a name="id2963270"></a><h2>Functions</h2><div class="refsect2" title="atk.relation_type_register"><a name="function-atk--relation-type-register"></a><h3>atk.relation_type_register</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">atk.relation_type_register</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>a name string</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new one of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a> that is
	  associated with <em class="parameter"><code>name</code></em></td></tr></tbody></table><p>Associate <em class="parameter"><code>name</code></em> with a new one of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a>.</p></div><div class="refsect2" title="atk.relation_type_get_name"><a name="function-atk--relation-type-get-name"></a><h3>atk.relation_type_get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">atk.relation_type_get_name</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>type</code></strong> :</span></p></td><td>one of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the string associated with
	  <em class="parameter"><code>relationship</code></em>.</td></tr></tbody></table><p>Gets the description string describing the relation type
      specified by <em class="parameter"><code>type</code></em>.</p></div><div class="refsect2" title="atk.relation_type_for_name"><a name="function-atk--relation-type-for-name"></a><h3>atk.relation_type_for_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">atk.relation_type_for_name</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>a string which is the (non-localized) name of
	  an ATK relation type.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the matching type of the <a class="xref" href="atk-constants.html#atk-relation-type-constants" title="Atk Relation Type Constants">Atk Relation Type Constants</a> corresponding
	  to the specified <em class="parameter"><code>name</code></em>, or
	  <code class="literal">atk.RELATION_NULL</code> if no matching relation type
	  is found.</td></tr></tbody></table><p>Get the relation type corresponding to the specified
      <em class="parameter"><code>name</code></em>.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-atkregistry.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="atk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-atkrelationset.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">atk.Registry </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> atk.RelationSet</td></tr></table></div></body></html>