/usr/share/gtk-doc/html/pygtk/class-atkregistry.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>atk.Registry</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-atkrectangle.html" title="atk.Rectangle"><link rel="next" href="class-atkrelation.html" title="atk.Relation"></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.Registry</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkrectangle.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atkrelation.html">Next</a></td></tr></table><hr></div><div class="refentry" title="atk.Registry"><a name="class-atkregistry"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.Registry</h2><p>atk.Registry — an object used to store the GType of the factories used to
create an accessible object for an object of a particular GType.
</p></div><div class="refsect1" title="Synopsis"><a name="id2945766"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.Registry</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkregistry.html#method-atkregistry--set-factory-type" title="atk.Registry.set_factory_type">set_factory_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>factory_type</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkregistry.html#method-atkregistry--get-factory-type" title="atk.Registry.get_factory_type">get_factory_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkregistry.html#method-atkregistry--get-factory" title="atk.Registry.get_factory">get_factory</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></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-atkregistry.html#function-atk--get-default-registry" title="atk.get_default_registry">atk.get_default_registry</a></span>(<span class="methodparam"></span>)</code></pre></div><div class="refsect1" title="Ancestry"><a name="id2931996"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-atkregistry.html" title="atk.Registry">atk.Registry</a>
</pre></div><div class="refsect1" title="atk.Registry Signal Prototypes"><a name="signal-prototypes-atkregistry"></a><h2>atk.Registry Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" title="Description"><a name="id2939267"></a><h2>Description</h2><p>The <a class="link" href="class-atkregistry.html" title="atk.Registry"><code class="classname">atk.Registry</code></a> is
normally used to create appropriate ATK "peers" for user interface
components. Application developers usually need only interact with the <a class="link" href="class-atkregistry.html" title="atk.Registry"><code class="classname">atk.Registry</code></a> by
associating appropriate ATK implementation classes with <PYGTKDOCLINK HREF="class-gobject"><code class="classname">gobject.GObject</code></PYGTKDOCLINK>
classes via the <a class="link" href="class-atkregistry.html#method-atkregistry--set-factory-type" title="atk.Registry.set_factory_type"><code class="methodname">set_factory_type</code>()</a>
method, passing the appropriate GType for application custom widget
classes.</p></div><div class="refsect1" title="Methods"><a name="id2941746"></a><h2>Methods</h2><div class="refsect2" title="atk.Registry.set_factory_type"><a name="method-atkregistry--set-factory-type"></a><h3>atk.Registry.set_factory_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_factory_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>factory_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>an <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a> type</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>factory_type</code></strong> :</span></p></td><td>an <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
type to associate with <em class="parameter"><code>type</code></em>. Must
implement the <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
appropriate for <em class="parameter"><code>type</code></em>.</td></tr></tbody></table><p>Associate an <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
subclass with a <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
type. Note: The associated <em class="parameter"><code>factory_type</code></em> will
thereafter be responsible for the creation of new <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
implementations for instances appropriate for
<em class="parameter"><code>type</code></em>.</p></div><div class="refsect2" title="atk.Registry.get_factory_type"><a name="method-atkregistry--get-factory-type"></a><h3>atk.Registry.get_factory_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_factory_type</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>a <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
type with which to look up the associated <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
subclass</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
type associated with <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
<em class="parameter"><code>type</code></em></td></tr></tbody></table><p>Returns a <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
subclass associated with <em class="parameter"><code>type</code></em>.</p></div><div class="refsect2" title="atk.Registry.get_factory"><a name="method-atkregistry--get-factory"></a><h3>atk.Registry.get_factory</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_factory</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>a <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
with which to look up the associated <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>an <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
appropriate for creating <em class="parameter"><code>type</code></em> <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>s.</td></tr></tbody></table><p>Gets an <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
appropriate for creating <em class="parameter"><code>type</code></em> <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>s.</p></div></div><div class="refsect1" title="Functions"><a name="id2968865"></a><h2>Functions</h2><div class="refsect2" title="atk.get_default_registry"><a name="function-atk--get-default-registry"></a><h3>atk.get_default_registry</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">atk.get_default_registry</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>a default implementation of the <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
type registry</td></tr></tbody></table><p>Gets a default implementation of the <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
type registry. Note: For most toolkit maintainers, this will be the
correct registry for registering new <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
factories. Following a call to this function, maintainers may call the
<a class="link" href="class-atkregistry.html#method-atkregistry--set-factory-type" title="atk.Registry.set_factory_type"><code class="methodname">set_factory_type</code>()</a>
method to associate an <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><code class="classname">atk.ObjectFactory</code></a>
subclass with the type of objects for whom accessibility information
will be provided.</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-atkrectangle.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-atkrelation.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">atk.Rectangle </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> atk.Relation</td></tr></table></div></body></html>
|