New upstream version 3.24.5
This commit is contained in:
@ -59,35 +59,35 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-name" title="gtk_printer_get_name ()">gtk_printer_get_name</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-state-message" title="gtk_printer_get_state_message ()">gtk_printer_get_state_message</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-description" title="gtk_printer_get_description ()">gtk_printer_get_description</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-location" title="gtk_printer_get_location ()">gtk_printer_get_location</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-icon-name" title="gtk_printer_get_icon_name ()">gtk_printer_get_icon_name</a> <span class="c_punctuation">()</span>
|
||||
@ -95,7 +95,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-job-count" title="gtk_printer_get_job_count ()">gtk_printer_get_job_count</a> <span class="c_punctuation">()</span>
|
||||
@ -103,7 +103,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-is-active" title="gtk_printer_is_active ()">gtk_printer_is_active</a> <span class="c_punctuation">()</span>
|
||||
@ -111,7 +111,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-is-paused" title="gtk_printer_is_paused ()">gtk_printer_is_paused</a> <span class="c_punctuation">()</span>
|
||||
@ -119,7 +119,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-is-accepting-jobs" title="gtk_printer_is_accepting_jobs ()">gtk_printer_is_accepting_jobs</a> <span class="c_punctuation">()</span>
|
||||
@ -127,7 +127,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-is-virtual" title="gtk_printer_is_virtual ()">gtk_printer_is_virtual</a> <span class="c_punctuation">()</span>
|
||||
@ -135,7 +135,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-is-default" title="gtk_printer_is_default ()">gtk_printer_is_default</a> <span class="c_punctuation">()</span>
|
||||
@ -143,7 +143,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-accepts-ps" title="gtk_printer_accepts_ps ()">gtk_printer_accepts_ps</a> <span class="c_punctuation">()</span>
|
||||
@ -151,7 +151,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-accepts-pdf" title="gtk_printer_accepts_pdf ()">gtk_printer_accepts_pdf</a> <span class="c_punctuation">()</span>
|
||||
@ -159,7 +159,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GList</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-list-papers" title="gtk_printer_list_papers ()">gtk_printer_list_papers</a> <span class="c_punctuation">()</span>
|
||||
@ -167,7 +167,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-compare" title="gtk_printer_compare ()">gtk_printer_compare</a> <span class="c_punctuation">()</span>
|
||||
@ -175,7 +175,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-has-details" title="gtk_printer_has_details ()">gtk_printer_has_details</a> <span class="c_punctuation">()</span>
|
||||
@ -207,7 +207,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrinter.html#gtk-printer-get-hard-margins" title="gtk_printer_get_hard_margins ()">gtk_printer_get_hard_margins</a> <span class="c_punctuation">()</span>
|
||||
@ -215,7 +215,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<span class="c_punctuation">(</span><a class="link" href="GtkPrinter.html#GtkPrinterFunc" title="GtkPrinterFunc ()">*GtkPrinterFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
||||
@ -242,17 +242,17 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--accepting-jobs" title="The “accepting-jobs” property">accepting-jobs</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--accepts-pdf" title="The “accepts-pdf” property">accepts-pdf</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--accepts-ps" title="The “accepts-ps” property">accepts-ps</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
@ -264,40 +264,40 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--icon-name" title="The “icon-name” property">icon-name</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--is-virtual" title="The “is-virtual” property">is-virtual</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--job-count" title="The “job-count” property">job-count</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--location" title="The “location” property">location</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--name" title="The “name” property">name</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--paused" title="The “paused” property">paused</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkPrinter.html#GtkPrinter--state-message" title="The “state-message” property">state-message</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -315,7 +315,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkPrinter.html#GtkPrinter-details-acquired" title="The “details-acquired” signal">details-acquired</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -340,7 +340,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkPrinter.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">├──</span> GtkPrintBackend
|
||||
<span class="lineart">╰──</span> GtkPrinter
|
||||
</pre>
|
||||
@ -366,9 +366,9 @@ a <a class="link" href="GtkPrintJob.html" title="GtkPrintJob"><span class="type"
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-new"></a><h3>gtk_printer_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="returnvalue">GtkPrinter</span></a> *
|
||||
gtk_printer_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
gtk_printer_new (<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>,
|
||||
<em class="parameter"><code><a class="link" href="GtkPrinter.html#GtkPrintBackend"><span class="type">GtkPrintBackend</span></a> *backend</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> virtual_</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> virtual_</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-new.parameters"></a><h4>Parameters</h4>
|
||||
@ -435,7 +435,7 @@ gtk_printer_get_backend (<em class="parameter"><code><a class="link" href="GtkPr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-name"></a><h3>gtk_printer_get_name ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_printer_get_name (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns the name of the printer.</p>
|
||||
<div class="refsect3">
|
||||
@ -463,7 +463,7 @@ gtk_printer_get_name (<em class="parameter"><code><a class="link" href="GtkPrint
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-state-message"></a><h3>gtk_printer_get_state_message ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_printer_get_state_message (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns the state message describing the current state
|
||||
of the printer.</p>
|
||||
@ -492,7 +492,7 @@ of the printer.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-description"></a><h3>gtk_printer_get_description ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_printer_get_description (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Gets the description of the printer.</p>
|
||||
<div class="refsect3">
|
||||
@ -520,7 +520,7 @@ gtk_printer_get_description (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-location"></a><h3>gtk_printer_get_location ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_printer_get_location (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns a description of the location of the printer.</p>
|
||||
<div class="refsect3">
|
||||
@ -548,7 +548,7 @@ gtk_printer_get_location (<em class="parameter"><code><a class="link" href="GtkP
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-icon-name"></a><h3>gtk_printer_get_icon_name ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_printer_get_icon_name (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Gets the name of the icon to use for the printer.</p>
|
||||
<div class="refsect3">
|
||||
@ -576,7 +576,7 @@ gtk_printer_get_icon_name (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-job-count"></a><h3>gtk_printer_get_job_count ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_printer_get_job_count (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Gets the number of jobs currently queued on the printer.</p>
|
||||
<div class="refsect3">
|
||||
@ -604,7 +604,7 @@ gtk_printer_get_job_count (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-is-active"></a><h3>gtk_printer_is_active ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_is_active (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer is currently active (i.e.
|
||||
accepts new jobs).</p>
|
||||
@ -625,7 +625,7 @@ accepts new jobs).</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-is-active.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
is active</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -633,7 +633,7 @@ is active</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-is-paused"></a><h3>gtk_printer_is_paused ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_is_paused (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer is currently paused.
|
||||
A paused printer still accepts jobs, but it is not
|
||||
@ -655,7 +655,7 @@ printing them.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-is-paused.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
is paused</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -663,7 +663,7 @@ is paused</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-is-accepting-jobs"></a><h3>gtk_printer_is_accepting_jobs ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_is_accepting_jobs (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer is accepting jobs</p>
|
||||
<div class="refsect3">
|
||||
@ -683,7 +683,7 @@ gtk_printer_is_accepting_jobs (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-is-accepting-jobs.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
is accepting jobs</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -691,7 +691,7 @@ is accepting jobs</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-is-virtual"></a><h3>gtk_printer_is_virtual ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_is_virtual (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer is virtual (i.e. does not
|
||||
represent actual printer hardware, but something like
|
||||
@ -713,7 +713,7 @@ a CUPS class).</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-is-virtual.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
is virtual</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -721,7 +721,7 @@ is virtual</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-is-default"></a><h3>gtk_printer_is_default ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_is_default (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer is the default printer.</p>
|
||||
<div class="refsect3">
|
||||
@ -741,7 +741,7 @@ gtk_printer_is_default (<em class="parameter"><code><a class="link" href="GtkPri
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-is-default.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
is the default</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -749,7 +749,7 @@ is the default</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-accepts-ps"></a><h3>gtk_printer_accepts_ps ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_accepts_ps (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer accepts input in
|
||||
PostScript format.</p>
|
||||
@ -770,7 +770,7 @@ PostScript format.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-accepts-ps.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
accepts PostScript</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -778,7 +778,7 @@ accepts PostScript</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-accepts-pdf"></a><h3>gtk_printer_accepts_pdf ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_accepts_pdf (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer accepts input in
|
||||
PDF format.</p>
|
||||
@ -799,7 +799,7 @@ PDF format.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-accepts-pdf.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
accepts PDF</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -807,7 +807,7 @@ accepts PDF</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-list-papers"></a><h3>gtk_printer_list_papers ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
gtk_printer_list_papers (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Lists all the paper sizes <em class="parameter"><code>printer</code></em>
|
||||
supports.
|
||||
@ -838,7 +838,7 @@ available, see <a class="link" href="GtkPrinter.html#gtk-printer-has-details" ti
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-compare"></a><h3>gtk_printer_compare ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_printer_compare (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *a</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *b</code></em>);</pre>
|
||||
<p>Compares two printers.</p>
|
||||
@ -878,7 +878,7 @@ or a positive value if <em class="parameter"><code>a</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-has-details"></a><h3>gtk_printer_has_details ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_has_details (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>);</pre>
|
||||
<p>Returns whether the printer details are available.</p>
|
||||
<div class="refsect3">
|
||||
@ -898,7 +898,7 @@ gtk_printer_has_details (<em class="parameter"><code><a class="link" href="GtkPr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-has-details.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>printer</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>printer</code></em>
|
||||
details are available</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -991,12 +991,12 @@ gtk_printer_get_default_page_size (<em class="parameter"><code><a class="link" h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-printer-get-hard-margins"></a><h3>gtk_printer_get_hard_margins ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_printer_get_hard_margins (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *top</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *bottom</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *left</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *right</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *top</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *bottom</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *left</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *right</code></em>);</pre>
|
||||
<p>Retrieve the hard margins of <em class="parameter"><code>printer</code></em>
|
||||
, i.e. the margins that define
|
||||
the area at the borders of the paper that the printer cannot print to.</p>
|
||||
@ -1041,16 +1041,16 @@ see <a class="link" href="GtkPrinter.html#gtk-printer-has-details" title="gtk_pr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-printer-get-hard-margins.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> iff the hard margins were retrieved</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> iff the hard margins were retrieved</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.20</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinterFunc"></a><h3>GtkPrinterFunc ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="c_punctuation">(</span>*GtkPrinterFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
||||
<p>The type of function passed to <a class="link" href="GtkPrinter.html#gtk-enumerate-printers" title="gtk_enumerate_printers ()"><code class="function">gtk_enumerate_printers()</code></a>.
|
||||
Note that you need to ref <em class="parameter"><code>printer</code></em>
|
||||
, if you want to keep
|
||||
@ -1079,7 +1079,7 @@ a reference to it after the function has returned.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkPrinterFunc.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> to stop the enumeration, <code class="literal">FALSE</code> to continue</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop the enumeration, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
@ -1088,12 +1088,12 @@ a reference to it after the function has returned.</p>
|
||||
<a name="gtk-enumerate-printers"></a><h3>gtk_enumerate_printers ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_enumerate_printers (<em class="parameter"><code><a class="link" href="GtkPrinter.html#GtkPrinterFunc" title="GtkPrinterFunc ()"><span class="type">GtkPrinterFunc</span></a> func</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
||||
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> wait</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>);</pre>
|
||||
<p>Calls a function for all <a href="GtkPrinter.html#GtkPrinter-struct"><span class="type">GtkPrinters</span></a>.
|
||||
If <em class="parameter"><code>func</code></em>
|
||||
returns <code class="literal">TRUE</code>, the enumeration is stopped.</p>
|
||||
returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the enumeration is stopped.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-enumerate-printers.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1122,7 +1122,7 @@ is no longer needed</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>wait</p></td>
|
||||
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, wait in a recursive mainloop until
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, wait in a recursive mainloop until
|
||||
all printers are enumerated; otherwise return early</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -1148,8 +1148,8 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<a name="GtkPrinter.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--accepting-jobs"></a><h3>The <code class="literal">“accepting-jobs”</code> property</h3>
|
||||
<pre class="programlisting"> “accepting-jobs” <span class="type">gboolean</span></pre>
|
||||
<p>This property is <code class="literal">TRUE</code> if the printer is accepting jobs.</p>
|
||||
<pre class="programlisting"> “accepting-jobs” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>This property is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the printer is accepting jobs.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: TRUE</p>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -1157,7 +1157,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--accepts-pdf"></a><h3>The <code class="literal">“accepts-pdf”</code> property</h3>
|
||||
<pre class="programlisting"> “accepts-pdf” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “accepts-pdf” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>TRUE if this printer can accept PDF.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1165,7 +1165,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--accepts-ps"></a><h3>The <code class="literal">“accepts-ps”</code> property</h3>
|
||||
<pre class="programlisting"> “accepts-ps” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “accepts-ps” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>TRUE if this printer can accept PostScript.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -1180,7 +1180,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--icon-name"></a><h3>The <code class="literal">“icon-name”</code> property</h3>
|
||||
<pre class="programlisting"> “icon-name” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “icon-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>The icon name to use for the printer.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: ""</p>
|
||||
@ -1188,7 +1188,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--is-virtual"></a><h3>The <code class="literal">“is-virtual”</code> property</h3>
|
||||
<pre class="programlisting"> “is-virtual” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “is-virtual” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>FALSE if this represents a real hardware printer.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1196,7 +1196,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--job-count"></a><h3>The <code class="literal">“job-count”</code> property</h3>
|
||||
<pre class="programlisting"> “job-count” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “job-count” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>Number of jobs queued in the printer.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -1205,7 +1205,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
||||
<pre class="programlisting"> “location” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “location” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>The location of the printer.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: ""</p>
|
||||
@ -1213,7 +1213,7 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
||||
<pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>Name of the printer.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: ""</p>
|
||||
@ -1221,8 +1221,8 @@ all printers are enumerated; otherwise return early</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--paused"></a><h3>The <code class="literal">“paused”</code> property</h3>
|
||||
<pre class="programlisting"> “paused” <span class="type">gboolean</span></pre>
|
||||
<p>This property is <code class="literal">TRUE</code> if this printer is paused.
|
||||
<pre class="programlisting"> “paused” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>This property is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this printer is paused.
|
||||
|
||||
A paused printer still accepts jobs, but it does
|
||||
|
||||
@ -1234,7 +1234,7 @@ not print them.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPrinter--state-message"></a><h3>The <code class="literal">“state-message”</code> property</h3>
|
||||
<pre class="programlisting"> “state-message” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “state-message” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>String giving the current state of the printer.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: ""</p>
|
||||
@ -1246,8 +1246,8 @@ not print them.</p>
|
||||
<a name="GtkPrinter-details-acquired"></a><h3>The <code class="literal">“details-acquired”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkPrinter.html" title="GtkPrinter"><span class="type">GtkPrinter</span></a> *printer,
|
||||
<span class="type">gboolean</span> success,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Gets emitted in response to a request for detailed information
|
||||
about a printer from the print backend. The <em class="parameter"><code>success</code></em>
|
||||
parameter
|
||||
@ -1268,7 +1268,7 @@ indicates if the information was actually obtained.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>success</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> if the details were successfully acquired</p></td>
|
||||
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the details were successfully acquired</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1279,7 +1279,7 @@ indicates if the information was actually obtained.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user