⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atkregistry.html

📁 linux下图形库开发包atk-1.4.0.tar.gz
💻 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>AtkRegistry</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="AtkObjectFactory.html" title="AtkObjectFactory"><link rel="next" href="AtkRelation.html" title="AtkRelation"></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="AtkObjectFactory.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="AtkRelation.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="AtkRegistry"></a><div class="titlepage"></div><div class="refnamediv"><h2>AtkRegistry</h2><p>AtkRegistry &#8212; An object used to store the GType of the factories used to create an accessibleobject for an object of a particular GType.</p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id283154"></a>Synopsis</h1></h2><pre class="synopsis">struct      <a href="AtkRegistry.html#AtkRegistry-struct">AtkRegistry</a>;void        <a href="AtkRegistry.html#atk-registry-set-factory-type">atk_registry_set_factory_type</a>   (<a href="AtkRegistry.html" title="AtkRegistry">AtkRegistry</a> *registry,                                             GType type,                                             GType factory_type);GType       <a href="AtkRegistry.html#atk-registry-get-factory-type">atk_registry_get_factory_type</a>   (<a href="AtkRegistry.html" title="AtkRegistry">AtkRegistry</a> *registry,                                             GType type);<a href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a>* <a href="AtkRegistry.html#atk-registry-get-factory">atk_registry_get_factory</a>  (<a href="AtkRegistry.html" title="AtkRegistry">AtkRegistry</a> *registry,                                             GType type);<a href="AtkRegistry.html" title="AtkRegistry">AtkRegistry</a>* <a href="AtkRegistry.html#atk-get-default-registry">atk_get_default_registry</a>       (void);</pre></div><div class="refsect1"><h2>Object Hierarchy</h2><pre class="synopsis">  GObject   +----AtkRegistry</pre></div><div class="refsect1"><h2>Description</h2><p></p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="AtkRegistry-struct"></a>struct AtkRegistry</h3><a class="indexterm" name="id284078"></a><pre class="programlisting">struct AtkRegistry;</pre><p>The AtkRegistry structure should not be accessed directly.</p></div><hr><div class="refsect2"><h3><a name="atk-registry-set-factory-type"></a>atk_registry_set_factory_type ()</h3><a class="indexterm" name="id284105"></a><pre class="programlisting">void        atk_registry_set_factory_type   (<a href="AtkRegistry.html" title="AtkRegistry">AtkRegistry</a> *registry,                                             GType type,                                             GType factory_type);</pre><p>Associate an <a href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> subclass with a GType. Note:The associated <i><tt>factory_type</tt></i> will thereafter be responsible forthe creation of new <a href="AtkObject.html" title="AtkObject">AtkObject</a> implementations for instancesappropriate for <i><tt>type</tt></i>.</p><p></p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>registry</tt></i>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -