This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-atkhypertext.html is in python-gtk2-doc 2.24.0-3.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>atk.Hypertext</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-atkhyperlink.html" title="atk.Hyperlink"><link rel="next" href="class-atkimage.html" title="atk.Image"></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.Hypertext</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkhyperlink.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atkimage.html">Next</a></td></tr></table><hr></div><div class="refentry" title="atk.Hypertext"><a name="class-atkhypertext"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.Hypertext</h2><p>atk.Hypertext — the ATK interface which provides standard mechanism for
      manipulating hyperlinks.  </p></div><div class="refsect1" title="Synopsis"><a name="id2958356"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.Hypertext</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkhypertext.html#method-atkhypertext--get-link" title="atk.Hypertext.get_link">get_link</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>link_index</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkhypertext.html#method-atkhypertext--get-n-links" title="atk.Hypertext.get_n_links">get_n_links</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkhypertext.html#method-atkhypertext--get-link-index" title="atk.Hypertext.get_link_index">get_link_index</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>char_index</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="atk.Hypertext Signal Prototypes"><a name="signal-prototypes-atkhypertext"></a><h2>atk.Hypertext Signal Prototypes</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-atkhypertext.html#signal-atkhypertext--link-selected" title='The "link-selected" atk.Hypertext Signal'>link-selected</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>atkhypertext</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>index</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="id2963371"></a><h2>Description</h2><p>An interface used for objects which implement linking between
    multiple resource or content locations, or multiple 'markers' within a
    single document. A <a class="link" href="class-atkhypertext.html" title="atk.Hypertext"><code class="classname">atk.Hypertext</code></a>
    instance is associated with one or more <a class="link" href="class-atkhyperlink.html" title="atk.Hyperlink"><code class="classname">atk.Hyperlink</code></a>
    objects, which are associated with particular offsets within the <a class="link" href="class-atkhypertext.html" title="atk.Hypertext"><code class="classname">atk.Hypertext</code></a>'s
    included content. While this interface is derived from <a class="link" href="class-atktext.html" title="atk.Text"><code class="classname">atk.Text</code></a>, there is
    no requirement that <a class="link" href="class-atkhypertext.html" title="atk.Hypertext"><code class="classname">atk.Hypertext</code></a>
    instances have textual content; they may implement <a class="link" href="class-atkimage.html" title="atk.Image"><code class="classname">atk.Image</code></a> as
    well, and <a class="link" href="class-atkhyperlink.html" title="atk.Hyperlink"><code class="classname">atk.Hyperlink</code></a>
    objects need not have non-zero text offsets.</p></div><div class="refsect1" title="Methods"><a name="id2966878"></a><h2>Methods</h2><div class="refsect2" title="atk.Hypertext.get_link"><a name="method-atkhypertext--get-link"></a><h3>atk.Hypertext.get_link</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_link</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>link_index</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>link_index</code></strong> :</span></p></td><td>an integer specifying the desired
          link</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the link in this hypertext document at
index <em class="parameter"><code>link_index</code></em></td></tr></tbody></table><p>Gets the link in this hypertext document at index
      <em class="parameter"><code>link_index</code></em></p></div><div class="refsect2" title="atk.Hypertext.get_n_links"><a name="method-atkhypertext--get-n-links"></a><h3>atk.Hypertext.get_n_links</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_n_links</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 number of links within this hypertext
          document</td></tr></tbody></table><p>Gets the number of links within this hypertext document.</p></div><div class="refsect2" title="atk.Hypertext.get_link_index"><a name="method-atkhypertext--get-link-index"></a><h3>atk.Hypertext.get_link_index</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_link_index</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>char_index</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>char_index</code></strong> :</span></p></td><td>a character index</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>an index into the array of hyperlinks in the
          hypertext</td></tr></tbody></table><p>Gets the index into the array of hyperlinks that is associated
      with the character specified by <em class="parameter"><code>char_index</code></em>, or
      -1 if there is no hyperlink associated with this character.</p></div></div><div class="refsect1" title="Signals"><a name="id2950743"></a><h2>Signals</h2><div class="refsect2" title='The "link-selected" atk.Hypertext Signal'><a name="signal-atkhypertext--link-selected"></a><h3>The "link-selected" atk.Hypertext Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>atkhypertext</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>index</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></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"><em class="parameter"><code>atkhypertext</code></em> :</span></p></td><td>the object which received the
          signal.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td><td>the index of the hyperlink which is
          selected</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
          with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
          method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if any)</td></tr></tbody></table><p>The "link-selected" signal is emitted by an <a class="link" href="class-atkhypertext.html" title="atk.Hypertext"><code class="classname">atk.HyperText</code></a>
      object when one of the hyperlinks associated with the object is
      selected.</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-atkhyperlink.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-atkimage.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">atk.Hyperlink </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> atk.Image</td></tr></table></div></body></html>