1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GNOME Online Accounts Reference Manual: GoaPrinters</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="GNOME Online Accounts Reference Manual">
8
<link rel="up" href="ref-library-generated.html" title="Generated Code">
9
<link rel="prev" href="GoaReadLater.html" title="GoaReadLater">
10
<link rel="next" href="ref-backend-library.html" title="Part IV. Backend Library API Reference">
11
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#GoaPrinters.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#GoaPrinters.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
20
<a href="#GoaPrinters.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_prerequisites"> <span class="dim">|</span>
21
<a href="#GoaPrinters.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations"> <span class="dim">|</span>
22
<a href="#GoaPrinters.implementations" class="shortcut">Known Implementations</a></span>
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
25
<td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
26
<td><a accesskey="p" href="GoaReadLater.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
27
<td><a accesskey="n" href="ref-backend-library.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
29
<div class="refentry">
30
<a name="GoaPrinters"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="GoaPrinters.top_of_page"></a>GoaPrinters</span></h2>
34
<p>GoaPrinters — Generated C code for the org.gnome.OnlineAccounts.Printers D-Bus interface</p>
36
<td class="gallery_image" valign="top" align="right"></td>
38
<div class="refsect1">
39
<a name="GoaPrinters.functions"></a><h2>Functions</h2>
40
<div class="informaltable"><table width="100%" border="0">
42
<col width="150px" class="functions_return">
43
<col class="functions_name">
47
<td class="function_type">
48
<a href="https://developer.gnome.org/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
50
<td class="function_name">
51
<a class="link" href="GoaPrinters.html#goa-printers-interface-info" title="goa_printers_interface_info ()">goa_printers_interface_info</a> <span class="c_punctuation">()</span>
55
<td class="function_type">
56
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
58
<td class="function_name">
59
<a class="link" href="GoaPrinters.html#goa-printers-override-properties" title="goa_printers_override_properties ()">goa_printers_override_properties</a> <span class="c_punctuation">()</span>
63
<td class="function_type">
64
<span class="returnvalue">void</span>
66
<td class="function_name">
67
<a class="link" href="GoaPrinters.html#goa-printers-proxy-new" title="goa_printers_proxy_new ()">goa_printers_proxy_new</a> <span class="c_punctuation">()</span>
71
<td class="function_type">
72
<a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
74
<td class="function_name">
75
<a class="link" href="GoaPrinters.html#goa-printers-proxy-new-finish" title="goa_printers_proxy_new_finish ()">goa_printers_proxy_new_finish</a> <span class="c_punctuation">()</span>
79
<td class="function_type">
80
<a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
82
<td class="function_name">
83
<a class="link" href="GoaPrinters.html#goa-printers-proxy-new-sync" title="goa_printers_proxy_new_sync ()">goa_printers_proxy_new_sync</a> <span class="c_punctuation">()</span>
87
<td class="function_type">
88
<span class="returnvalue">void</span>
90
<td class="function_name">
91
<a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus" title="goa_printers_proxy_new_for_bus ()">goa_printers_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
95
<td class="function_type">
96
<a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
98
<td class="function_name">
99
<a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus-finish" title="goa_printers_proxy_new_for_bus_finish ()">goa_printers_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
103
<td class="function_type">
104
<a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
106
<td class="function_name">
107
<a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus-sync" title="goa_printers_proxy_new_for_bus_sync ()">goa_printers_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
111
<td class="function_type">
112
<a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
114
<td class="function_name">
115
<a class="link" href="GoaPrinters.html#goa-printers-skeleton-new" title="goa_printers_skeleton_new ()">goa_printers_skeleton_new</a> <span class="c_punctuation">()</span>
121
<a name="GoaPrintersProxy"></a><a name="GoaPrintersSkeleton"></a><div class="refsect1">
122
<a name="GoaPrinters.other"></a><h2>Types and Values</h2>
123
<div class="informaltable"><table width="100%" border="0">
125
<col width="150px" class="name">
126
<col class="description">
130
<td class="datatype_keyword"> </td>
131
<td class="function_name"><a class="link" href="GoaPrinters.html#GoaPrinters-struct" title="GoaPrinters">GoaPrinters</a></td>
134
<td class="datatype_keyword">struct</td>
135
<td class="function_name"><a class="link" href="GoaPrinters.html#GoaPrintersIface" title="struct GoaPrintersIface">GoaPrintersIface</a></td>
138
<td class="datatype_keyword">struct</td>
139
<td class="function_name"><a class="link" href="GoaPrinters.html#GoaPrintersProxy-struct" title="struct GoaPrintersProxy">GoaPrintersProxy</a></td>
142
<td class="datatype_keyword">struct</td>
143
<td class="function_name"><a class="link" href="GoaPrinters.html#GoaPrintersProxyClass" title="struct GoaPrintersProxyClass">GoaPrintersProxyClass</a></td>
146
<td class="datatype_keyword">struct</td>
147
<td class="function_name"><a class="link" href="GoaPrinters.html#GoaPrintersSkeleton-struct" title="struct GoaPrintersSkeleton">GoaPrintersSkeleton</a></td>
150
<td class="datatype_keyword">struct</td>
151
<td class="function_name"><a class="link" href="GoaPrinters.html#GoaPrintersSkeletonClass" title="struct GoaPrintersSkeletonClass">GoaPrintersSkeletonClass</a></td>
156
<div class="refsect1">
157
<a name="GoaPrinters.object-hierarchy"></a><h2>Object Hierarchy</h2>
158
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html">GInterface</a>
159
<span class="lineart">╰──</span> GoaPrinters
160
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
161
<span class="lineart">├──</span> <a href="https://developer.gnome.org/gio/unstable/GDBusInterfaceSkeleton.html">GDBusInterfaceSkeleton</a>
162
<span class="lineart">│</span> <span class="lineart">╰──</span> GoaPrintersSkeleton
163
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html">GDBusProxy</a>
164
<span class="lineart">╰──</span> GoaPrintersProxy
167
<div class="refsect1">
168
<a name="GoaPrinters.prerequisites"></a><h2>Prerequisites</h2>
171
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
173
<div class="refsect1">
174
<a name="GoaPrinters.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
176
GoaPrintersProxy implements
177
<a href="https://developer.gnome.org/gio/unstable/GDBusInterface.html">GDBusInterface</a>, <a href="https://developer.gnome.org/gio/unstable/GInitable.html">GInitable</a>, <a href="https://developer.gnome.org/gio/unstable/GAsyncInitable.html">GAsyncInitable</a> and <a class="link" href="GoaPrinters.html" title="GoaPrinters">GoaPrinters</a>.</p>
179
GoaPrintersSkeleton implements
180
<a href="https://developer.gnome.org/gio/unstable/GDBusInterface.html">GDBusInterface</a> and <a class="link" href="GoaPrinters.html" title="GoaPrinters">GoaPrinters</a>.</p>
182
<div class="refsect1">
183
<a name="GoaPrinters.implementations"></a><h2>Known Implementations</h2>
185
GoaPrinters is implemented by
186
<a class="link" href="GoaPrinters.html#GoaPrintersProxy">GoaPrintersProxy</a> and <a class="link" href="GoaPrinters.html#GoaPrintersSkeleton">GoaPrintersSkeleton</a>.</p>
188
<div class="refsect1">
189
<a name="GoaPrinters.description"></a><h2>Description</h2>
190
<p>This section contains code for working with the org.gnome.OnlineAccounts.Printers D-Bus interface in C.</p>
192
<div class="refsect1">
193
<a name="GoaPrinters.functions_details"></a><h2>Functions</h2>
194
<div class="refsect2">
195
<a name="goa-printers-interface-info"></a><h3>goa_printers_interface_info ()</h3>
196
<pre class="programlisting"><a href="https://developer.gnome.org/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
197
goa_printers_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
198
<p>Gets a machine-readable description of the org.gnome.OnlineAccounts.Printers D-Bus interface.</p>
199
<div class="refsect3">
200
<a name="id-1.4.5.21.12.2.5"></a><h4>Returns</h4>
201
<p> A <a href="https://developer.gnome.org/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>. Do not free. </p>
202
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
204
<p class="since">Since 3.12.0</p>
207
<div class="refsect2">
208
<a name="goa-printers-override-properties"></a><h3>goa_printers_override_properties ()</h3>
209
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
210
goa_printers_override_properties (<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *klass</code></em>,
211
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id_begin</code></em>);</pre>
212
<p>Overrides all <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties in the <a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="type">GoaPrinters</span></a> interface for a concrete class.
213
The properties are overridden in the order they are defined.</p>
214
<div class="refsect3">
215
<a name="id-1.4.5.21.12.3.5"></a><h4>Parameters</h4>
216
<div class="informaltable"><table width="100%" border="0">
218
<col width="150px" class="parameters_name">
219
<col class="parameters_description">
220
<col width="200px" class="parameters_annotations">
224
<td class="parameter_name"><p>klass</p></td>
225
<td class="parameter_description"><p>The class structure for a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>-derived class.</p></td>
226
<td class="parameter_annotations"> </td>
229
<td class="parameter_name"><p>property_id_begin</p></td>
230
<td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td>
231
<td class="parameter_annotations"> </td>
236
<div class="refsect3">
237
<a name="id-1.4.5.21.12.3.6"></a><h4>Returns</h4>
238
<p> The last property id.</p>
241
<p class="since">Since 3.12.0</p>
244
<div class="refsect2">
245
<a name="goa-printers-proxy-new"></a><h3>goa_printers_proxy_new ()</h3>
246
<pre class="programlisting"><span class="returnvalue">void</span>
247
goa_printers_proxy_new (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
248
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
249
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
250
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
251
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
252
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
253
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
254
<p>Asynchronously creates a proxy for the D-Bus interface org.gnome.OnlineAccounts.Printers. See <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details.</p>
255
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
256
will be invoked in the <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
257
You can then call <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-finish" title="goa_printers_proxy_new_finish ()"><code class="function">goa_printers_proxy_new_finish()</code></a> to get the result of the operation.</p>
258
<p>See <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-sync" title="goa_printers_proxy_new_sync ()"><code class="function">goa_printers_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
259
<div class="refsect3">
260
<a name="id-1.4.5.21.12.4.7"></a><h4>Parameters</h4>
261
<div class="informaltable"><table width="100%" border="0">
263
<col width="150px" class="parameters_name">
264
<col class="parameters_description">
265
<col width="200px" class="parameters_annotations">
269
<td class="parameter_name"><p>connection</p></td>
270
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
271
<td class="parameter_annotations"> </td>
274
<td class="parameter_name"><p>flags</p></td>
275
<td class="parameter_description"><p>Flags from the <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
276
<td class="parameter_annotations"> </td>
279
<td class="parameter_name"><p>name</p></td>
280
<td class="parameter_description"><p> A bus name (well-known or unique) or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
281
is not a message bus connection. </p></td>
282
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
285
<td class="parameter_name"><p>object_path</p></td>
286
<td class="parameter_description"><p>An object path.</p></td>
287
<td class="parameter_annotations"> </td>
290
<td class="parameter_name"><p>cancellable</p></td>
291
<td class="parameter_description"><p> A <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
292
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
295
<td class="parameter_name"><p>callback</p></td>
296
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</p></td>
297
<td class="parameter_annotations"> </td>
300
<td class="parameter_name"><p>user_data</p></td>
301
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
303
<td class="parameter_annotations"> </td>
308
<p class="since">Since 3.12.0</p>
311
<div class="refsect2">
312
<a name="goa-printers-proxy-new-finish"></a><h3>goa_printers_proxy_new_finish ()</h3>
313
<pre class="programlisting"><a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
314
goa_printers_proxy_new_finish (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
315
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
316
<p>Finishes an operation started with <a class="link" href="GoaPrinters.html#goa-printers-proxy-new" title="goa_printers_proxy_new ()"><code class="function">goa_printers_proxy_new()</code></a>.</p>
317
<div class="refsect3">
318
<a name="id-1.4.5.21.12.5.5"></a><h4>Parameters</h4>
319
<div class="informaltable"><table width="100%" border="0">
321
<col width="150px" class="parameters_name">
322
<col class="parameters_description">
323
<col width="200px" class="parameters_annotations">
327
<td class="parameter_name"><p>res</p></td>
328
<td class="parameter_description"><p>The <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaPrinters.html#goa-printers-proxy-new" title="goa_printers_proxy_new ()"><code class="function">goa_printers_proxy_new()</code></a>.</p></td>
329
<td class="parameter_annotations"> </td>
332
<td class="parameter_name"><p>error</p></td>
333
<td class="parameter_description"><p>Return location for error or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
334
<td class="parameter_annotations"> </td>
339
<div class="refsect3">
340
<a name="id-1.4.5.21.12.5.6"></a><h4>Returns</h4>
341
<p> The constructed proxy object or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
343
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaPrintersProxy]</span></p>
345
<p class="since">Since 3.12.0</p>
348
<div class="refsect2">
349
<a name="goa-printers-proxy-new-sync"></a><h3>goa_printers_proxy_new_sync ()</h3>
350
<pre class="programlisting"><a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
351
goa_printers_proxy_new_sync (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
352
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
353
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
354
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
355
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
356
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
357
<p>Synchronously creates a proxy for the D-Bus interface org.gnome.OnlineAccounts.Printers. See <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details.</p>
358
<p>The calling thread is blocked until a reply is received.</p>
359
<p>See <a class="link" href="GoaPrinters.html#goa-printers-proxy-new" title="goa_printers_proxy_new ()"><code class="function">goa_printers_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
360
<div class="refsect3">
361
<a name="id-1.4.5.21.12.6.7"></a><h4>Parameters</h4>
362
<div class="informaltable"><table width="100%" border="0">
364
<col width="150px" class="parameters_name">
365
<col class="parameters_description">
366
<col width="200px" class="parameters_annotations">
370
<td class="parameter_name"><p>connection</p></td>
371
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
372
<td class="parameter_annotations"> </td>
375
<td class="parameter_name"><p>flags</p></td>
376
<td class="parameter_description"><p>Flags from the <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
377
<td class="parameter_annotations"> </td>
380
<td class="parameter_name"><p>name</p></td>
381
<td class="parameter_description"><p> A bus name (well-known or unique) or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
382
is not a message bus connection. </p></td>
383
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
386
<td class="parameter_name"><p>object_path</p></td>
387
<td class="parameter_description"><p>An object path.</p></td>
388
<td class="parameter_annotations"> </td>
391
<td class="parameter_name"><p>cancellable</p></td>
392
<td class="parameter_description"><p> A <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
393
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
396
<td class="parameter_name"><p>error</p></td>
397
<td class="parameter_description"><p>Return location for error or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
398
<td class="parameter_annotations"> </td>
403
<div class="refsect3">
404
<a name="id-1.4.5.21.12.6.8"></a><h4>Returns</h4>
405
<p> The constructed proxy object or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
407
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaPrintersProxy]</span></p>
409
<p class="since">Since 3.12.0</p>
412
<div class="refsect2">
413
<a name="goa-printers-proxy-new-for-bus"></a><h3>goa_printers_proxy_new_for_bus ()</h3>
414
<pre class="programlisting"><span class="returnvalue">void</span>
415
goa_printers_proxy_new_for_bus (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
416
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
417
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
418
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
419
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
420
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
421
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
422
<p>Like <a class="link" href="GoaPrinters.html#goa-printers-proxy-new" title="goa_printers_proxy_new ()"><code class="function">goa_printers_proxy_new()</code></a> but takes a <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
423
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
424
will be invoked in the <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
425
You can then call <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus-finish" title="goa_printers_proxy_new_for_bus_finish ()"><code class="function">goa_printers_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
426
<p>See <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus-sync" title="goa_printers_proxy_new_for_bus_sync ()"><code class="function">goa_printers_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
427
<div class="refsect3">
428
<a name="id-1.4.5.21.12.7.7"></a><h4>Parameters</h4>
429
<div class="informaltable"><table width="100%" border="0">
431
<col width="150px" class="parameters_name">
432
<col class="parameters_description">
433
<col width="200px" class="parameters_annotations">
437
<td class="parameter_name"><p>bus_type</p></td>
438
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
439
<td class="parameter_annotations"> </td>
442
<td class="parameter_name"><p>flags</p></td>
443
<td class="parameter_description"><p>Flags from the <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
444
<td class="parameter_annotations"> </td>
447
<td class="parameter_name"><p>name</p></td>
448
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
449
<td class="parameter_annotations"> </td>
452
<td class="parameter_name"><p>object_path</p></td>
453
<td class="parameter_description"><p>An object path.</p></td>
454
<td class="parameter_annotations"> </td>
457
<td class="parameter_name"><p>cancellable</p></td>
458
<td class="parameter_description"><p> A <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
459
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
462
<td class="parameter_name"><p>callback</p></td>
463
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</p></td>
464
<td class="parameter_annotations"> </td>
467
<td class="parameter_name"><p>user_data</p></td>
468
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
470
<td class="parameter_annotations"> </td>
475
<p class="since">Since 3.12.0</p>
478
<div class="refsect2">
479
<a name="goa-printers-proxy-new-for-bus-finish"></a><h3>goa_printers_proxy_new_for_bus_finish ()</h3>
480
<pre class="programlisting"><a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
481
goa_printers_proxy_new_for_bus_finish (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
482
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
483
<p>Finishes an operation started with <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus" title="goa_printers_proxy_new_for_bus ()"><code class="function">goa_printers_proxy_new_for_bus()</code></a>.</p>
484
<div class="refsect3">
485
<a name="id-1.4.5.21.12.8.5"></a><h4>Parameters</h4>
486
<div class="informaltable"><table width="100%" border="0">
488
<col width="150px" class="parameters_name">
489
<col class="parameters_description">
490
<col width="200px" class="parameters_annotations">
494
<td class="parameter_name"><p>res</p></td>
495
<td class="parameter_description"><p>The <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus" title="goa_printers_proxy_new_for_bus ()"><code class="function">goa_printers_proxy_new_for_bus()</code></a>.</p></td>
496
<td class="parameter_annotations"> </td>
499
<td class="parameter_name"><p>error</p></td>
500
<td class="parameter_description"><p>Return location for error or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
501
<td class="parameter_annotations"> </td>
506
<div class="refsect3">
507
<a name="id-1.4.5.21.12.8.6"></a><h4>Returns</h4>
508
<p> The constructed proxy object or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
510
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaPrintersProxy]</span></p>
512
<p class="since">Since 3.12.0</p>
515
<div class="refsect2">
516
<a name="goa-printers-proxy-new-for-bus-sync"></a><h3>goa_printers_proxy_new_for_bus_sync ()</h3>
517
<pre class="programlisting"><a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
518
goa_printers_proxy_new_for_bus_sync (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
519
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
520
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
521
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
522
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
523
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
524
<p>Like <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-sync" title="goa_printers_proxy_new_sync ()"><code class="function">goa_printers_proxy_new_sync()</code></a> but takes a <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
525
<p>The calling thread is blocked until a reply is received.</p>
526
<p>See <a class="link" href="GoaPrinters.html#goa-printers-proxy-new-for-bus" title="goa_printers_proxy_new_for_bus ()"><code class="function">goa_printers_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
527
<div class="refsect3">
528
<a name="id-1.4.5.21.12.9.7"></a><h4>Parameters</h4>
529
<div class="informaltable"><table width="100%" border="0">
531
<col width="150px" class="parameters_name">
532
<col class="parameters_description">
533
<col width="200px" class="parameters_annotations">
537
<td class="parameter_name"><p>bus_type</p></td>
538
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
539
<td class="parameter_annotations"> </td>
542
<td class="parameter_name"><p>flags</p></td>
543
<td class="parameter_description"><p>Flags from the <a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
544
<td class="parameter_annotations"> </td>
547
<td class="parameter_name"><p>name</p></td>
548
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
549
<td class="parameter_annotations"> </td>
552
<td class="parameter_name"><p>object_path</p></td>
553
<td class="parameter_description"><p>An object path.</p></td>
554
<td class="parameter_annotations"> </td>
557
<td class="parameter_name"><p>cancellable</p></td>
558
<td class="parameter_description"><p> A <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
559
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
562
<td class="parameter_name"><p>error</p></td>
563
<td class="parameter_description"><p>Return location for error or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
564
<td class="parameter_annotations"> </td>
569
<div class="refsect3">
570
<a name="id-1.4.5.21.12.9.8"></a><h4>Returns</h4>
571
<p> The constructed proxy object or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
573
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaPrintersProxy]</span></p>
575
<p class="since">Since 3.12.0</p>
578
<div class="refsect2">
579
<a name="goa-printers-skeleton-new"></a><h3>goa_printers_skeleton_new ()</h3>
580
<pre class="programlisting"><a class="link" href="GoaPrinters.html" title="GoaPrinters"><span class="returnvalue">GoaPrinters</span></a> *
581
goa_printers_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
582
<p>Creates a skeleton object for the D-Bus interface org.gnome.OnlineAccounts.Printers.</p>
583
<div class="refsect3">
584
<a name="id-1.4.5.21.12.10.5"></a><h4>Returns</h4>
585
<p> The skeleton object. </p>
586
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaPrintersSkeleton]</span></p>
588
<p class="since">Since 3.12.0</p>
591
<div class="refsect1">
592
<a name="GoaPrinters.other_details"></a><h2>Types and Values</h2>
593
<div class="refsect2">
594
<a name="GoaPrinters-struct"></a><h3>GoaPrinters</h3>
595
<pre class="programlisting">typedef struct _GoaPrinters GoaPrinters;</pre>
596
<p>Abstract interface type for the D-Bus interface org.gnome.OnlineAccounts.Printers.</p>
597
<p class="since">Since 3.12.0</p>
600
<div class="refsect2">
601
<a name="GoaPrintersIface"></a><h3>struct GoaPrintersIface</h3>
602
<pre class="programlisting">struct GoaPrintersIface {
603
GTypeInterface parent_iface;
606
<p>Virtual table for the D-Bus interface org.gnome.OnlineAccounts.Printers.</p>
607
<div class="refsect3">
608
<a name="id-1.4.5.21.13.3.5"></a><h4>Members</h4>
609
<div class="informaltable"><table width="100%" border="0">
611
<col width="300px" class="struct_members_name">
612
<col class="struct_members_description">
613
<col width="200px" class="struct_members_annotations">
616
<td class="struct_member_name"><p><a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GoaPrintersIface.parent-iface"></a>parent_iface</code></em>;</p></td>
617
<td class="struct_member_description"><p>The parent interface.</p></td>
618
<td class="struct_member_annotations"> </td>
622
<p class="since">Since 3.12.0</p>
625
<div class="refsect2">
626
<a name="GoaPrintersProxy-struct"></a><h3>struct GoaPrintersProxy</h3>
627
<pre class="programlisting">struct GoaPrintersProxy;</pre>
628
<p>The <a class="link" href="GoaPrinters.html#GoaPrintersProxy"><span class="type">GoaPrintersProxy</span></a> structure contains only private data and should only be accessed using the provided API.</p>
629
<p class="since">Since 3.12.0</p>
632
<div class="refsect2">
633
<a name="GoaPrintersProxyClass"></a><h3>struct GoaPrintersProxyClass</h3>
634
<pre class="programlisting">struct GoaPrintersProxyClass {
635
GDBusProxyClass parent_class;
638
<p>Class structure for <a class="link" href="GoaPrinters.html#GoaPrintersProxy"><span class="type">GoaPrintersProxy</span></a>.</p>
639
<div class="refsect3">
640
<a name="id-1.4.5.21.13.5.5"></a><h4>Members</h4>
641
<div class="informaltable"><table width="100%" border="0">
643
<col width="300px" class="struct_members_name">
644
<col class="struct_members_description">
645
<col width="200px" class="struct_members_annotations">
648
<td class="struct_member_name"><p><a href="https://developer.gnome.org/gio/unstable/GDBusProxy.html#GDBusProxyClass"><span class="type">GDBusProxyClass</span></a> <em class="structfield"><code><a name="GoaPrintersProxyClass.parent-class"></a>parent_class</code></em>;</p></td>
649
<td class="struct_member_description"><p>The parent class.</p></td>
650
<td class="struct_member_annotations"> </td>
654
<p class="since">Since 3.12.0</p>
657
<div class="refsect2">
658
<a name="GoaPrintersSkeleton-struct"></a><h3>struct GoaPrintersSkeleton</h3>
659
<pre class="programlisting">struct GoaPrintersSkeleton;</pre>
660
<p>The <a class="link" href="GoaPrinters.html#GoaPrintersSkeleton"><span class="type">GoaPrintersSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
661
<p class="since">Since 3.12.0</p>
664
<div class="refsect2">
665
<a name="GoaPrintersSkeletonClass"></a><h3>struct GoaPrintersSkeletonClass</h3>
666
<pre class="programlisting">struct GoaPrintersSkeletonClass {
667
GDBusInterfaceSkeletonClass parent_class;
670
<p>Class structure for <a class="link" href="GoaPrinters.html#GoaPrintersSkeleton"><span class="type">GoaPrintersSkeleton</span></a>.</p>
671
<div class="refsect3">
672
<a name="id-1.4.5.21.13.7.5"></a><h4>Members</h4>
673
<div class="informaltable"><table width="100%" border="0">
675
<col width="300px" class="struct_members_name">
676
<col class="struct_members_description">
677
<col width="200px" class="struct_members_annotations">
680
<td class="struct_member_name"><p><a href="https://developer.gnome.org/gio/unstable/GDBusInterfaceSkeleton.html#GDBusInterfaceSkeletonClass"><span class="type">GDBusInterfaceSkeletonClass</span></a> <em class="structfield"><code><a name="GoaPrintersSkeletonClass.parent-class"></a>parent_class</code></em>;</p></td>
681
<td class="struct_member_description"><p>The parent class.</p></td>
682
<td class="struct_member_annotations"> </td>
686
<p class="since">Since 3.12.0</p>
692
Generated by GTK-Doc V1.21</div>
b'\\ No newline at end of file'