This file is indexed.

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

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
32
33
34
35
36
37
38
39
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.gdk.Atom</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="gdk-class-reference.html" title="The gtk.gdk Class Reference"><link rel="prev" href="class-gdkapplaunchcontext.html" title="gtk.gdk.AppLaunchContext"><link rel="next" href="class-gdkcairocontext.html" title="gtk.gdk.CairoContext"></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">gtk.gdk.Atom</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gdkapplaunchcontext.html">Prev</a> </td><th width="60%" align="center">The gtk.gdk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gdkcairocontext.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.gdk.Atom"><a name="class-gdkatom"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.gdk.Atom</h2><p>gtk.gdk.Atom — an object representing an interned string</p></div><div class="refsect1" title="Synopsis"><a name="id3039423"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.gdk.Atom</span></span>:
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gdkatom.html#constructor-gdkatom-intern" title="Constructor">gtk.gdk.atom_intern</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>only_if_exists</code></strong></span><span class="initializer">=False</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="id3039369"></a><h2>Description</h2><p><a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a> is a
<code class="literal">PyGTK</code> class that wraps the <code class="literal">GTK</code>+
<span class="type">GdkAtom</span> - an unsigned integer representing an interned
string. An interned string is a string that has an internal
<code class="literal">GTK</code>+ mapping between an atom and a string. <a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a> has no
methods. A copy of the interned string can be retrieved by using the Python
<code class="function">str()</code> function. <a class="link" href="class-gdkatom.html#constructor-gdkatom-intern" title="Constructor">gtk.gdk.atom_intern</a>() will
return a <a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a>
referencing an existing interned string but will intern a string if it isn't
already interned.</p><p><a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a> objects
are used to provide the targets for <a class="link" href="class-gtkselectiondata.html" title="gtk.SelectionData"><code class="classname">gtk.SelectionData</code></a>
objects that are used by <a class="link" href="class-gtkclipboard.html" title="gtk.Clipboard"><code class="classname">gtk.Clipboard</code></a> and
<a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>,
objects and for drag and drop (see <a class="link" href="class-gdkdragcontext.html" title="gtk.gdk.DragContext"><code class="classname">gtk.gdk.DragContext</code></a>,
<a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>
and <a class="link" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"><code class="classname">gtk.TreeDragSource</code></a>
and <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a>
for more information). The advantage of the interned string is that it is
easy to pass between processes and even systems since only an integer value
is passed.</p><p><code class="literal">PyGTK</code> 2.4 has a number of pre-defined atoms
that map to builtin <code class="literal">GTK+</code> interned string atoms. The
interned strings and the <code class="literal">PyGTK</code> 2.4 <a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a> objects
are:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"PRIMARY"</span></p></td><td><code class="literal">gtk.gdk.SELECTION_PRIMARY</code></td></tr><tr><td><p><span class="term">"SECONDARY"</span></p></td><td><code class="literal">gtk.gdk.SELECTION_SECONDARY</code></td></tr><tr><td><p><span class="term">"CLIPBOARD"</span></p></td><td><code class="literal">gtk.gdk.SELECTION_CLIPBOARD</code></td></tr><tr><td><p><span class="term">"ATOM"</span></p></td><td><code class="literal">gtk.gdk.SELECTION_TYPE_ATOM</code></td></tr><tr><td><p><span class="term">"BITMAP"</span></p></td><td><code class="literal">gtk.gdk.TARGET_BITMAP</code> or
<code class="literal">gtk.gdk.SELECTION_TYPE_BITMAP</code></td></tr><tr><td><p><span class="term">"COLORMAP"</span></p></td><td><code class="literal">gtk.gdk.TARGET_COLORMAP</code> or
<code class="literal">gtk.gdk.SELECTION_TYPE_COLORMAP</code></td></tr><tr><td><p><span class="term">"DRAWABLE"</span></p></td><td><code class="literal">gtk.gdk.TARGET_DRAWABLE</code> or
<code class="literal">gtk.gdk.SELECTION_TYPE_DRAWABLE</code></td></tr><tr><td><p><span class="term">"PIXMAP"</span></p></td><td><code class="literal">gtk.gdk.TARGET_PIXMAP</code> or
<code class="literal">gtk.gdk.SELECTION_TYPE_PIXMAP</code></td></tr><tr><td><p><span class="term">"STRING"</span></p></td><td><code class="literal">gtk.gdk.TARGET_STRING</code> or
<code class="literal">gtk.gdk.SELECTION_TYPE_STRING</code></td></tr><tr><td><p><span class="term">"WINDOW"</span></p></td><td><code class="literal">gtk.gdk.SELECTION_TYPE_WINDOW</code></td></tr></tbody></table><p>Also in <code class="literal">PyGTK</code> 2.4, comparison between a string
and a <a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a> is
supported.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gdkatom-intern"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.gdk.atom_intern</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>only_if_exists</code></strong></span><span class="initializer">=False</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>the string to be interned or
	retrieved</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>only_if_exists</code></strong> :</span></p></td><td>this value is ignored</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-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a>
	or <code class="literal">None</code></td></tr></tbody></table><p>Creates a <a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a>
referencing the interned string specified by <em class="parameter"><code>name</code></em>. An
interned string is a string that has a <code class="literal">GTK</code>+ mapping to an
unsigned integer value. This constructor will intern the string and create a
<a class="link" href="class-gdkatom.html" title="gtk.gdk.Atom"><code class="classname">gtk.gdk.Atom</code></a> if
it does not already exist. <em class="parameter"><code>only_if_exists</code></em> is
ignored and essentially is always <code class="literal">False</code>.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gdkapplaunchcontext.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gdk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gdkcairocontext.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.gdk.AppLaunchContext </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.gdk.CairoContext</td></tr></table></div></body></html>