📄 atkobjectfactory.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"><title>AtkObjectFactory</title><meta name="generator" content="DocBook XSL Stylesheets V1.48"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css"> .synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } .programlisting { background: #eeeeff; border: solid 1px #aaaaff; padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .navigation { background: #ffeeee; border: solid 1px #ffaaaa; margin-top: 0.5em; margin-bottom: 0.5em; } .navigation a { color: #770000; } .navigation a:visited { color: #550000; } .navigation .title { font-size: 200%; } </style><link rel="home" href="index.html" title="ATK Library Reference Manual"><link rel="up" href="atk.html" title="ATK Library"><link rel="previous" href="AtkObject.html" title="AtkObject"><link rel="next" href="AtkRegistry.html" title="AtkRegistry"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="AtkObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="atk.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">ATK Library Reference Manual</th><td><a accesskey="n" href="AtkRegistry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="AtkObjectFactory"></a><div class="titlepage"></div><div class="refnamediv"><h2>AtkObjectFactory</h2><p>AtkObjectFactory — The base object class for a factory used to create accessible objects for objects of a specific GType.</p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id273758"></a>Synopsis</h1></h2><pre class="synopsis">struct <a href="AtkObjectFactory.html#AtkObjectFactory-struct">AtkObjectFactory</a>;<a href="AtkObject.html" title="AtkObject">AtkObject</a>* <a href="AtkObjectFactory.html#atk-object-factory-create-accessible">atk_object_factory_create_accessible</a> (<a href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory, GObject *obj);GType <a href="AtkObjectFactory.html#atk-object-factory-get-accessible-type">atk_object_factory_get_accessible_type</a> (<a href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory);void <a href="AtkObjectFactory.html#atk-object-factory-invalidate">atk_object_factory_invalidate</a> (<a href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory);</pre></div><div class="refsect1"><h2>Object Hierarchy</h2><pre class="synopsis"> GObject +----AtkObjectFactory +----<a href="AtkNoOpObjectFactory.html" title="AtkNoOpObjectFactory">AtkNoOpObjectFactory</a></pre></div><div class="refsect1"><h2>Description</h2><p>This class is the base object class for a factory used to create an accessible object for a specific GType. The function <a href="AtkRegistry.html#atk-registry-set-factory-type"><tt>atk_registry_set_factory_type()</tt></a> is normally called to store in the registry the factory type to be used to create an accessible of aparticular GType.</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="AtkObjectFactory-struct"></a>struct AtkObjectFactory</h3><a class="indexterm" name="id283345"></a><pre class="programlisting">struct AtkObjectFactory;</pre><p>The AtkObjectFactory structure should not be accessed directly.</p></div><hr><div class="refsect2"><h3><a name="atk-object-factory-create-accessible"></a>atk_object_factory_create_accessible ()</h3><a class="indexterm" name="id283375"></a><pre class="programlisting"><a href="AtkObject.html" title="AtkObject">AtkObject</a>* atk_object_factory_create_accessible (<a href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory, GObject *obj);</pre><p>Provides an <a href="AtkObject.html" title="AtkObject">AtkObject</a> that implements an accessibility interface on behalf of <i><tt>obj</tt></i></p><p></p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>factory</tt></i>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -