1
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>atk.ObjectFactory</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" 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-atkobject.html" title="atk.Object"><link rel="next" href="class-atkrectangle.html" title="atk.Rectangle"></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.ObjectFactory</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkobject.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atkrectangle.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-atkobjectfactory"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.ObjectFactory</h2><p>atk.ObjectFactory — the base object class for a factory used to create
2
accessible objects for objects of a specific GType. </p></div><div class="refsect1" lang="en"><a name="id2794896"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.ObjectFactory</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
3
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkobjectfactory.html#method-atkobjectfactory--create-accessible" title="atk.ObjectFactory.create_accessible">create_accessible</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>obj</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkobjectfactory.html#method-atkobjectfactory--invalidate" title="atk.ObjectFactory.invalidate">invalidate</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkobjectfactory.html#method-atkobjectfactory--get-accessible-type" title="atk.ObjectFactory.get_accessible_type">get_accessible_type</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id2794091"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
2
accessible objects for objects of a specific GType. </p></div><div class="refsect1" lang="en"><a name="id2995600"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.ObjectFactory</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
3
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkobjectfactory.html#method-atkobjectfactory--create-accessible" title="atk.ObjectFactory.create_accessible">create_accessible</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>obj</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkobjectfactory.html#method-atkobjectfactory--invalidate" title="atk.ObjectFactory.invalidate">invalidate</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-atkobjectfactory.html#method-atkobjectfactory--get-accessible-type" title="atk.ObjectFactory.get_accessible_type">get_accessible_type</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id2994795"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
4
4
+-- <a class="link" href="class-atkobjectfactory.html" title="atk.ObjectFactory">atk.ObjectFactory</a>
5
</pre></div><div class="refsect1" lang="en"><a name="signal-prototypes-atkobjectfactory"></a><h2>atk.ObjectFactory Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" lang="en"><a name="id2766258"></a><h2>Description</h2><p>This class is the base object class for a factory used to create
5
</pre></div><div class="refsect1" lang="en"><a name="signal-prototypes-atkobjectfactory"></a><h2>atk.ObjectFactory Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" lang="en"><a name="id2966962"></a><h2>Description</h2><p>This class is the base object class for a factory used to create
6
6
an accessible object for a specific GType. The method <a class="link" href="class-atkregistry.html#method-atkregistry--set-factory-type" title="atk.Registry.set_factory_type"><code class="methodname">atk.Registry.set_factory_type()</code></a>
7
7
is normally called to store in the registry the factory type to be used
8
to create an accessible of a particular GType.</p></div><div class="refsect1" lang="en"><a name="id2800244"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-atkobjectfactory--create-accessible"></a><h3>atk.ObjectFactory.create_accessible</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">create_accessible</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>obj</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>obj</code></strong> :</span></p></td><td>a <PYGTKDOCLINK HREF="class-gobject"><code class="classname">gobject.GObject</code></PYGTKDOCLINK></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-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
8
to create an accessible of a particular GType.</p></div><div class="refsect1" lang="en"><a name="id3000948"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-atkobjectfactory--create-accessible"></a><h3>atk.ObjectFactory.create_accessible</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">create_accessible</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>obj</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>obj</code></strong> :</span></p></td><td>a <PYGTKDOCLINK HREF="class-gobject"><code class="classname">gobject.GObject</code></PYGTKDOCLINK></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-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
9
9
that implements an accessibility interface on behalf of
10
10
<em class="parameter"><code>obj</code></em></td></tr></tbody></table><p>Provides an <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
11
11
that implements an accessibility interface on behalf of