~ubuntu-branches/ubuntu/trusty/libpeas/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/PeasEngine.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2013-01-16 09:53:41 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20130116095341-wfnkv4dnzt9t8je7
Tags: 1.6.2-0ubuntu1
* New upstream release
* debian/control:
  - Use standards version 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
<a class="link" href="PeasEngine.html" title="PeasEngine"><span class="returnvalue">PeasEngine</span></a> *        <a class="link" href="PeasEngine.html#peas-engine-new" title="peas_engine_new ()">peas_engine_new</a>                     (<em class="parameter"><code><span class="type">void</span></code></em>);
49
49
<a class="link" href="PeasEngine.html" title="PeasEngine"><span class="returnvalue">PeasEngine</span></a> *        <a class="link" href="PeasEngine.html#peas-engine-get-default" title="peas_engine_get_default ()">peas_engine_get_default</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
50
50
<span class="returnvalue">void</span>                <a class="link" href="PeasEngine.html#peas-engine-add-search-path" title="peas_engine_add_search_path ()">peas_engine_add_search_path</a>         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
51
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *module_dir</code></em>,
52
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *data_dir</code></em>);
 
51
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_dir</code></em>,
 
52
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data_dir</code></em>);
53
53
<span class="returnvalue">void</span>                <a class="link" href="PeasEngine.html#peas-engine-prepend-search-path" title="peas_engine_prepend_search_path ()">peas_engine_prepend_search_path</a>     (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
54
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *module_dir</code></em>,
55
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *data_dir</code></em>);
 
54
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_dir</code></em>,
 
55
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data_dir</code></em>);
56
56
<span class="returnvalue">void</span>                <a class="link" href="PeasEngine.html#peas-engine-enable-loader" title="peas_engine_enable_loader ()">peas_engine_enable_loader</a>           (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
57
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *loader_id</code></em>);
 
57
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *loader_id</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="PeasEngine.html#peas-engine-rescan-plugins" title="peas_engine_rescan_plugins ()">peas_engine_rescan_plugins</a>          (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);
59
 
const <span class="returnvalue">GList</span> *       <a class="link" href="PeasEngine.html#peas-engine-get-plugin-list" title="peas_engine_get_plugin_list ()">peas_engine_get_plugin_list</a>         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);
60
 
<span class="returnvalue">gchar</span> **            <a class="link" href="PeasEngine.html#peas-engine-get-loaded-plugins" title="peas_engine_get_loaded_plugins ()">peas_engine_get_loaded_plugins</a>      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);
 
59
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *       <a class="link" href="PeasEngine.html#peas-engine-get-plugin-list" title="peas_engine_get_plugin_list ()">peas_engine_get_plugin_list</a>         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **            <a class="link" href="PeasEngine.html#peas-engine-get-loaded-plugins" title="peas_engine_get_loaded_plugins ()">peas_engine_get_loaded_plugins</a>      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);
61
61
<span class="returnvalue">void</span>                <a class="link" href="PeasEngine.html#peas-engine-set-loaded-plugins" title="peas_engine_set_loaded_plugins ()">peas_engine_set_loaded_plugins</a>      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
62
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> **plugin_names</code></em>);
 
62
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **plugin_names</code></em>);
63
63
<a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="returnvalue">PeasPluginInfo</span></a> *    <a class="link" href="PeasEngine.html#peas-engine-get-plugin-info" title="peas_engine_get_plugin_info ()">peas_engine_get_plugin_info</a>         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
64
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *plugin_name</code></em>);
65
 
<span class="returnvalue">gboolean</span>            <a class="link" href="PeasEngine.html#peas-engine-load-plugin" title="peas_engine_load_plugin ()">peas_engine_load_plugin</a>             (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
 
64
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plugin_name</code></em>);
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="PeasEngine.html#peas-engine-load-plugin" title="peas_engine_load_plugin ()">peas_engine_load_plugin</a>             (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
66
66
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>);
67
 
<span class="returnvalue">gboolean</span>            <a class="link" href="PeasEngine.html#peas-engine-unload-plugin" title="peas_engine_unload_plugin ()">peas_engine_unload_plugin</a>           (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
 
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="PeasEngine.html#peas-engine-unload-plugin" title="peas_engine_unload_plugin ()">peas_engine_unload_plugin</a>           (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
68
68
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>);
69
69
<span class="returnvalue">void</span>                <a class="link" href="PeasEngine.html#peas-engine-garbage-collect" title="peas_engine_garbage_collect ()">peas_engine_garbage_collect</a>         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);
70
 
<span class="returnvalue">gboolean</span>            <a class="link" href="PeasEngine.html#peas-engine-provides-extension" title="peas_engine_provides_extension ()">peas_engine_provides_extension</a>      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
 
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="PeasEngine.html#peas-engine-provides-extension" title="peas_engine_provides_extension ()">peas_engine_provides_extension</a>      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
71
71
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
72
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>);
 
72
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>);
73
73
<a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="returnvalue">PeasExtension</span></a> *     <a class="link" href="PeasEngine.html#peas-engine-create-extension" title="peas_engine_create_extension ()">peas_engine_create_extension</a>        (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
74
74
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
75
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>,
76
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property</code></em>,
 
75
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>,
 
76
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property</code></em>,
77
77
                                                         <em class="parameter"><code>...</code></em>);
78
78
<a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="returnvalue">PeasExtension</span></a> *     <a class="link" href="PeasEngine.html#peas-engine-create-extensionv" title="peas_engine_create_extensionv ()">peas_engine_create_extensionv</a>       (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
79
79
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
80
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>,
81
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_parameters</code></em>,
82
 
                                                         <em class="parameter"><code><span class="type">GParameter</span> *parameters</code></em>);
 
80
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>,
 
81
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>,
 
82
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GParameter"><span class="type">GParameter</span></a> *parameters</code></em>);
83
83
<a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="returnvalue">PeasExtension</span></a> *     <a class="link" href="PeasEngine.html#peas-engine-create-extension-valist" title="peas_engine_create_extension_valist ()">peas_engine_create_extension_valist</a> (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
84
84
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
85
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>,
86
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property</code></em>,
 
85
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>,
 
86
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property</code></em>,
87
87
                                                         <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
88
88
</pre>
89
89
</div>
90
90
<div class="refsect1">
91
91
<a name="PeasEngine.object-hierarchy"></a><h2>Object Hierarchy</h2>
92
92
<pre class="synopsis">
93
 
  GObject
 
93
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
94
94
   +----PeasEngine
95
95
</pre>
96
96
</div>
97
97
<div class="refsect1">
98
98
<a name="PeasEngine.properties"></a><h2>Properties</h2>
99
99
<pre class="synopsis">
100
 
  "<a class="link" href="PeasEngine.html#PeasEngine--loaded-plugins" title='The "loaded-plugins" property'>loaded-plugins</a>"           <span class="type">GStrv</span>                 : Read / Write
101
 
  "<a class="link" href="PeasEngine.html#PeasEngine--plugin-list" title='The "plugin-list" property'>plugin-list</a>"              <span class="type">gpointer</span>              : Read
 
100
  "<a class="link" href="PeasEngine.html#PeasEngine--loaded-plugins" title='The "loaded-plugins" property'>loaded-plugins</a>"           <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a>                 : Read / Write
 
101
  "<a class="link" href="PeasEngine.html#PeasEngine--plugin-list" title='The "plugin-list" property'>plugin-list</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read
102
102
</pre>
103
103
</div>
104
104
<div class="refsect1">
105
105
<a name="PeasEngine.signals"></a><h2>Signals</h2>
106
106
<pre class="synopsis">
107
 
  "<a class="link" href="PeasEngine.html#PeasEngine-load-plugin" title='The "load-plugin" signal'>load-plugin</a>"                                    : <code class="literal">Run Last</code>
108
 
  "<a class="link" href="PeasEngine.html#PeasEngine-unload-plugin" title='The "unload-plugin" signal'>unload-plugin</a>"                                  : <code class="literal">Run Last</code>
 
107
  "<a class="link" href="PeasEngine.html#PeasEngine-load-plugin" title='The "load-plugin" signal'>load-plugin</a>"                                    : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
108
  "<a class="link" href="PeasEngine.html#PeasEngine-unload-plugin" title='The "unload-plugin" signal'>unload-plugin</a>"                                  : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
109
109
</pre>
110
110
</div>
111
111
<div class="refsect1">
155
155
<col align="left" valign="top">
156
156
<tbody>
157
157
<tr>
158
 
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PeasEngineClass.parent-class"></a>parent_class</code></em>;</span></p></td>
 
158
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PeasEngineClass.parent-class"></a>parent_class</code></em>;</span></p></td>
159
159
<td>The parent class.</td>
160
160
</tr>
161
161
<tr>
209
209
<div class="refsect2">
210
210
<a name="peas-engine-add-search-path"></a><h3>peas_engine_add_search_path ()</h3>
211
211
<pre class="programlisting"><span class="returnvalue">void</span>                peas_engine_add_search_path         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
212
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *module_dir</code></em>,
213
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *data_dir</code></em>);</pre>
 
212
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_dir</code></em>,
 
213
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data_dir</code></em>);</pre>
214
214
<p>
215
215
This function appends a search path to the list of paths where to
216
216
look for plugins.
229
229
<a class="link" href="PeasPluginInfo.html#peas-plugin-info-get-data-dir" title="peas_plugin_info_get_data_dir ()"><code class="function">peas_plugin_info_get_data_dir()</code></a> when looking for its data files.
230
230
</p>
231
231
<p>
232
 
If <em class="parameter"><code>data_dir</code></em> is <code class="literal">NULL</code>, then it is set to the same value as
 
232
If <em class="parameter"><code>data_dir</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it is set to the same value as
233
233
<em class="parameter"><code>module_dir</code></em>.
234
234
</p>
235
235
<div class="variablelist"><table border="0">
255
255
<div class="refsect2">
256
256
<a name="peas-engine-prepend-search-path"></a><h3>peas_engine_prepend_search_path ()</h3>
257
257
<pre class="programlisting"><span class="returnvalue">void</span>                peas_engine_prepend_search_path     (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
258
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *module_dir</code></em>,
259
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *data_dir</code></em>);</pre>
 
258
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_dir</code></em>,
 
259
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data_dir</code></em>);</pre>
260
260
<p>
261
261
This function prepends a search path to the list of paths where to
262
262
look for plugins.
287
287
<div class="refsect2">
288
288
<a name="peas-engine-enable-loader"></a><h3>peas_engine_enable_loader ()</h3>
289
289
<pre class="programlisting"><span class="returnvalue">void</span>                peas_engine_enable_loader           (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
290
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *loader_id</code></em>);</pre>
 
290
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *loader_id</code></em>);</pre>
291
291
<p>
292
292
Enable a loader, enables a loader for plugins.
293
293
The C plugin loader is always enabled.
350
350
<hr>
351
351
<div class="refsect2">
352
352
<a name="peas-engine-get-plugin-list"></a><h3>peas_engine_get_plugin_list ()</h3>
353
 
<pre class="programlisting">const <span class="returnvalue">GList</span> *       peas_engine_get_plugin_list         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);</pre>
 
353
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *       peas_engine_get_plugin_list         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);</pre>
354
354
<p>
355
355
Returns the list of <a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> known to the engine.
356
356
</p>
363
363
</tr>
364
364
<tr>
365
365
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
366
 
<td>a <span class="type">GList</span> of
 
366
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
367
367
<a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a>. Note that the list belongs to the engine and should
368
368
not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Peas.PluginInfo]</span>
369
369
</td>
374
374
<hr>
375
375
<div class="refsect2">
376
376
<a name="peas-engine-get-loaded-plugins"></a><h3>peas_engine_get_loaded_plugins ()</h3>
377
 
<pre class="programlisting"><span class="returnvalue">gchar</span> **            peas_engine_get_loaded_plugins      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);</pre>
 
377
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **            peas_engine_get_loaded_plugins      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>);</pre>
378
378
<p>
379
379
Returns the list of the names of all the loaded plugins, or an array
380
 
containing a single <code class="literal">NULL</code> element if there is no plugin currently loaded.
 
380
containing a single <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> element if there is no plugin currently loaded.
381
381
</p>
382
382
<p>
383
383
Please note that the returned array is a newly allocated one: you will need
384
 
to free it using <code class="function">g_strfreev()</code>.
 
384
to free it using <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>.
385
385
</p>
386
386
<div class="variablelist"><table border="0">
387
387
<col align="left" valign="top">
393
393
<tr>
394
394
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
395
395
<td>A newly-allocated
396
 
<code class="literal">NULL</code>-terminated array of strings. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
 
396
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
397
397
</td>
398
398
</tr>
399
399
</tbody>
403
403
<div class="refsect2">
404
404
<a name="peas-engine-set-loaded-plugins"></a><h3>peas_engine_set_loaded_plugins ()</h3>
405
405
<pre class="programlisting"><span class="returnvalue">void</span>                peas_engine_set_loaded_plugins      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
406
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> **plugin_names</code></em>);</pre>
 
406
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **plugin_names</code></em>);</pre>
407
407
<p>
408
408
Sets the list of loaded plugins for <em class="parameter"><code>engine</code></em>. When this function is called,
409
409
the <a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> will load all the plugins whose names are in <em class="parameter"><code>plugin_names</code></em>,
410
410
and ensures all other active plugins are unloaded.
411
411
</p>
412
412
<p>
413
 
If <em class="parameter"><code>plugin_names</code></em> is <code class="literal">NULL</code>, all plugins will be unloaded.
 
413
If <em class="parameter"><code>plugin_names</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, all plugins will be unloaded.
414
414
</p>
415
415
<div class="variablelist"><table border="0">
416
416
<col align="left" valign="top">
421
421
</tr>
422
422
<tr>
423
423
<td><p><span class="term"><em class="parameter"><code>plugin_names</code></em> :</span></p></td>
424
 
<td>A <code class="literal">NULL</code>-terminated
425
 
array of plugin names, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
 
424
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
 
425
array of plugin names, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
426
426
</td>
427
427
</tr>
428
428
</tbody>
432
432
<div class="refsect2">
433
433
<a name="peas-engine-get-plugin-info"></a><h3>peas_engine_get_plugin_info ()</h3>
434
434
<pre class="programlisting"><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="returnvalue">PeasPluginInfo</span></a> *    peas_engine_get_plugin_info         (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
435
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *plugin_name</code></em>);</pre>
 
435
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plugin_name</code></em>);</pre>
436
436
<p>
437
437
Gets the <a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> corresponding with <em class="parameter"><code>plugin_name</code></em>,
438
 
or <code class="literal">NULL</code> if <em class="parameter"><code>plugin_name</code></em> was not found.
 
438
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>plugin_name</code></em> was not found.
439
439
</p>
440
440
<div class="variablelist"><table border="0">
441
441
<col align="left" valign="top">
460
460
<hr>
461
461
<div class="refsect2">
462
462
<a name="peas-engine-load-plugin"></a><h3>peas_engine_load_plugin ()</h3>
463
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            peas_engine_load_plugin             (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
 
463
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            peas_engine_load_plugin             (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
464
464
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>);</pre>
465
465
<p>
466
466
Loads the plugin corresponding to <em class="parameter"><code>info</code></em> if it's not currently loaded.
489
489
<hr>
490
490
<div class="refsect2">
491
491
<a name="peas-engine-unload-plugin"></a><h3>peas_engine_unload_plugin ()</h3>
492
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            peas_engine_unload_plugin           (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
 
492
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            peas_engine_unload_plugin           (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
493
493
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>);</pre>
494
494
<p>
495
495
Unloads the plugin corresponding to <em class="parameter"><code>info</code></em>.
536
536
<hr>
537
537
<div class="refsect2">
538
538
<a name="peas-engine-provides-extension"></a><h3>peas_engine_provides_extension ()</h3>
539
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            peas_engine_provides_extension      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
 
539
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            peas_engine_provides_extension      (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
540
540
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
541
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>);</pre>
 
541
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>);</pre>
542
542
<p>
543
543
Returns if <em class="parameter"><code>info</code></em> provides an extension for <em class="parameter"><code>extension_type</code></em>.
544
 
If the <em class="parameter"><code>info</code></em> is not loaded than <code class="literal">FALSE</code> will always be returned.
 
544
If the <em class="parameter"><code>info</code></em> is not loaded than <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will always be returned.
545
545
</p>
546
546
<div class="variablelist"><table border="0">
547
547
<col align="left" valign="top">
556
556
</tr>
557
557
<tr>
558
558
<td><p><span class="term"><em class="parameter"><code>extension_type</code></em> :</span></p></td>
559
 
<td>The extension <span class="type">GType</span>.</td>
 
559
<td>The extension <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>.</td>
560
560
</tr>
561
561
<tr>
562
562
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
570
570
<a name="peas-engine-create-extension"></a><h3>peas_engine_create_extension ()</h3>
571
571
<pre class="programlisting"><a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="returnvalue">PeasExtension</span></a> *     peas_engine_create_extension        (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
572
572
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
573
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>,
574
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property</code></em>,
 
573
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>,
 
574
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property</code></em>,
575
575
                                                         <em class="parameter"><code>...</code></em>);</pre>
576
576
<p>
577
577
If the plugin identified by <em class="parameter"><code>info</code></em> implements the <em class="parameter"><code>extension_type</code></em> interface,
578
578
then this function will return a new instance of this implementation,
579
 
wrapped in a new <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> instance. Otherwise, it will return <code class="literal">NULL</code>.
 
579
wrapped in a new <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> instance. Otherwise, it will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
580
580
</p>
581
581
<p>
582
582
When creating the new instance of the <em class="parameter"><code>extension_type</code></em> subtype, the
583
583
provided construct properties will be passed to the extension construction
584
 
handler (exactly like if you had called <code class="function">g_object_new()</code> yourself).
 
584
handler (exactly like if you had called <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> yourself).
585
585
</p>
586
586
<p>
587
587
The new extension instance produced by this function will always be
602
602
</tr>
603
603
<tr>
604
604
<td><p><span class="term"><em class="parameter"><code>extension_type</code></em> :</span></p></td>
605
 
<td>The implemented extension <span class="type">GType</span>.</td>
 
605
<td>The implemented extension <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>.</td>
606
606
</tr>
607
607
<tr>
608
608
<td><p><span class="term"><em class="parameter"><code>first_property</code></em> :</span></p></td>
611
611
<tr>
612
612
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
613
613
<td>the value of the first property, followed optionally by more
614
 
name/value pairs, followed by <code class="literal">NULL</code>.</td>
 
614
name/value pairs, followed by <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
615
615
</tr>
616
616
<tr>
617
617
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
618
618
<td>a new instance of <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> wrapping
619
 
the <em class="parameter"><code>extension_type</code></em> instance, or <code class="literal">NULL</code>.</td>
 
619
the <em class="parameter"><code>extension_type</code></em> instance, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
620
620
</tr>
621
621
</tbody>
622
622
</table></div>
626
626
<a name="peas-engine-create-extensionv"></a><h3>peas_engine_create_extensionv ()</h3>
627
627
<pre class="programlisting"><a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="returnvalue">PeasExtension</span></a> *     peas_engine_create_extensionv       (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
628
628
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
629
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>,
630
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_parameters</code></em>,
631
 
                                                         <em class="parameter"><code><span class="type">GParameter</span> *parameters</code></em>);</pre>
 
629
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>,
 
630
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>,
 
631
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GParameter"><span class="type">GParameter</span></a> *parameters</code></em>);</pre>
632
632
<p>
633
633
If the plugin identified by <em class="parameter"><code>info</code></em> implements the <em class="parameter"><code>extension_type</code></em> interface,
634
634
then this function will return a new instance of this implementation,
635
 
wrapped in a new <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> instance. Otherwise, it will return <code class="literal">NULL</code>.
 
635
wrapped in a new <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> instance. Otherwise, it will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
636
636
</p>
637
637
<p>
638
638
See <a class="link" href="PeasEngine.html#peas-engine-create-extension" title="peas_engine_create_extension ()"><code class="function">peas_engine_create_extension()</code></a> for more information.
650
650
</tr>
651
651
<tr>
652
652
<td><p><span class="term"><em class="parameter"><code>extension_type</code></em> :</span></p></td>
653
 
<td>The implemented extension <span class="type">GType</span>.</td>
 
653
<td>The implemented extension <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>.</td>
654
654
</tr>
655
655
<tr>
656
656
<td><p><span class="term"><em class="parameter"><code>n_parameters</code></em> :</span></p></td>
658
658
</tr>
659
659
<tr>
660
660
<td><p><span class="term"><em class="parameter"><code>parameters</code></em> :</span></p></td>
661
 
<td>an array of <span class="type">GParameter</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_parameters]</span>
 
661
<td>an array of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GParameter"><span class="type">GParameter</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_parameters]</span>
662
662
</td>
663
663
</tr>
664
664
<tr>
665
665
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
666
666
<td>a new instance of <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> wrapping
667
 
the <em class="parameter"><code>extension_type</code></em> instance, or <code class="literal">NULL</code>.
 
667
the <em class="parameter"><code>extension_type</code></em> instance, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
668
668
Rename to: peas_engine_create_extension. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
669
669
</td>
670
670
</tr>
676
676
<a name="peas-engine-create-extension-valist"></a><h3>peas_engine_create_extension_valist ()</h3>
677
677
<pre class="programlisting"><a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="returnvalue">PeasExtension</span></a> *     peas_engine_create_extension_valist (<em class="parameter"><code><a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a> *engine</code></em>,
678
678
                                                         <em class="parameter"><code><a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info</code></em>,
679
 
                                                         <em class="parameter"><code><span class="type">GType</span> extension_type</code></em>,
680
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property</code></em>,
 
679
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> extension_type</code></em>,
 
680
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property</code></em>,
681
681
                                                         <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
682
682
<p>
683
683
If the plugin identified by <em class="parameter"><code>info</code></em> implements the <em class="parameter"><code>extension_type</code></em> interface,
684
684
then this function will return a new instance of this implementation,
685
 
wrapped in a new <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> instance. Otherwise, it will return <code class="literal">NULL</code>.
 
685
wrapped in a new <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> instance. Otherwise, it will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
686
686
</p>
687
687
<p>
688
688
See <a class="link" href="PeasEngine.html#peas-engine-create-extension" title="peas_engine_create_extension ()"><code class="function">peas_engine_create_extension()</code></a> for more information.
700
700
</tr>
701
701
<tr>
702
702
<td><p><span class="term"><em class="parameter"><code>extension_type</code></em> :</span></p></td>
703
 
<td>The implemented extension <span class="type">GType</span>.</td>
 
703
<td>The implemented extension <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>.</td>
704
704
</tr>
705
705
<tr>
706
706
<td><p><span class="term"><em class="parameter"><code>first_property</code></em> :</span></p></td>
709
709
<tr>
710
710
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
711
711
<td>the value of the first property, followed optionally by more
712
 
name/value pairs, followed by <code class="literal">NULL</code>.</td>
 
712
name/value pairs, followed by <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
713
713
</tr>
714
714
<tr>
715
715
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
716
716
<td>a new instance of <a class="link" href="libpeas-PeasExtension.html#PeasExtension" title="PeasExtension"><span class="type">PeasExtension</span></a> wrapping
717
 
the <em class="parameter"><code>extension_type</code></em> instance, or <code class="literal">NULL</code>.</td>
 
717
the <em class="parameter"><code>extension_type</code></em> instance, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
718
718
</tr>
719
719
</tbody>
720
720
</table></div>
724
724
<a name="PeasEngine.property-details"></a><h2>Property Details</h2>
725
725
<div class="refsect2">
726
726
<a name="PeasEngine--loaded-plugins"></a><h3>The <code class="literal">"loaded-plugins"</code> property</h3>
727
 
<pre class="programlisting">  "loaded-plugins"           <span class="type">GStrv</span>                 : Read / Write</pre>
 
727
<pre class="programlisting">  "loaded-plugins"           <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a>                 : Read / Write</pre>
728
728
<p>
729
729
The list of loaded plugins.
730
730
</p>
745
745
3
746
746
4
747
747
5</pre></td>
748
 
        <td class="listing_code"><pre class="programlisting"><span class="function">g_settings_bind</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gsettings_object</span><span class="symbol">,</span>
 
748
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gio/unstable/GSettings.html#g-settings-bind">g_settings_bind</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gsettings_object</span><span class="symbol">,</span>
749
749
<span class="normal">                 LOADED_PLUGINS_KEY</span><span class="symbol">,</span>
750
750
<span class="normal">                 engine</span><span class="symbol">,</span>
751
751
<span class="normal">                 </span><span class="string">"loaded-plugins"</span><span class="symbol">,</span>
752
 
<span class="normal">                 G_SETTINGS_BIND_DEFAULT</span><span class="symbol">);</span></pre></td>
 
752
<span class="normal">                 <a href="http://library.gnome.org/devel/gio/unstable/GSettings.html#G-SETTINGS-BIND-DEFAULT:CAPS">G_SETTINGS_BIND_DEFAULT</a></span><span class="symbol">);</span></pre></td>
753
753
      </tr>
754
754
    </tbody>
755
755
  </table>
764
764
<hr>
765
765
<div class="refsect2">
766
766
<a name="PeasEngine--plugin-list"></a><h3>The <code class="literal">"plugin-list"</code> property</h3>
767
 
<pre class="programlisting">  "plugin-list"              <span class="type">gpointer</span>              : Read</pre>
 
767
<pre class="programlisting">  "plugin-list"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read</pre>
768
768
<p>
769
769
The list of found plugins.
770
770
</p>
783
783
<a name="PeasEngine-load-plugin"></a><h3>The <code class="literal">"load-plugin"</code> signal</h3>
784
784
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a>     *engine,
785
785
                                                        <a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info,
786
 
                                                        <span class="type">gpointer</span>        user_data)      : <code class="literal">Run Last</code></pre>
 
786
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
787
787
<p>
788
788
The load-plugin signal is emitted when a plugin is being loaded.
789
789
</p>
790
790
<p>
791
791
The plugin is being loaded in the default handler. Hence, if you want to
792
792
perform some action before the plugin is loaded, you should use
793
 
<code class="function">g_signal_connect()</code>, but if you want to perform some action *after* the
 
793
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect"><code class="function">g_signal_connect()</code></a>, but if you want to perform some action *after* the
794
794
plugin is loaded (the most common case), you should use
795
 
<code class="function">g_signal_connect_after()</code>.
 
795
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect-after"><code class="function">g_signal_connect_after()</code></a>.
796
796
</p>
797
797
<div class="variablelist"><table border="0">
798
798
<col align="left" valign="top">
817
817
<a name="PeasEngine-unload-plugin"></a><h3>The <code class="literal">"unload-plugin"</code> signal</h3>
818
818
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="PeasEngine.html" title="PeasEngine"><span class="type">PeasEngine</span></a>     *engine,
819
819
                                                        <a class="link" href="PeasPluginInfo.html" title="PeasPluginInfo"><span class="type">PeasPluginInfo</span></a> *info,
820
 
                                                        <span class="type">gpointer</span>        user_data)      : <code class="literal">Run Last</code></pre>
 
820
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
821
821
<p>
822
822
The unload-plugin signal is emitted when a plugin is being unloaded.
823
823
</p>
824
824
<p>
825
825
The plugin is being unloaded in the default handler. Hence, if you want
826
826
to perform some action before the plugin is unloaded (the most common
827
 
case), you should use <code class="function">g_signal_connect()</code>, but if you want to perform some
 
827
case), you should use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect"><code class="function">g_signal_connect()</code></a>, but if you want to perform some
828
828
action after the plugin is unloaded (the most common case), you should
829
 
use <code class="function">g_signal_connect_after()</code>.
 
829
use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect-after"><code class="function">g_signal_connect_after()</code></a>.
830
830
</p>
831
831
<div class="variablelist"><table border="0">
832
832
<col align="left" valign="top">