forked from AuroraMiddleware/gtk
c8747d974d
2006-06-19 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkprinter.sgml: Document GtkPrinterFunc * gtk/gtk-sections.txt: Add gtk_enumerate_printers
231 lines
3.1 KiB
Plaintext
231 lines
3.1 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkPrinter
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Represents a printer
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
A #GtkPrinter object represents a printer. You only need to
|
|
deal directly with printers if you use the non-portable
|
|
#GtkPrintUnixDialog API.
|
|
</para>
|
|
<para>
|
|
A #GtkPrinter allows to get status information about the printer,
|
|
such as its description, its location, the number of queued jobs,
|
|
etc. Most importantly, a #GtkPrinter object can be used to create
|
|
a #GtkPrintJob object, which lets you print to the printer.
|
|
</para>
|
|
|
|
<para>
|
|
Printing support was added in GTK+ 2.10.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT GtkPrinter ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### SIGNAL GtkPrinter::details-acquired ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer: the object which received the signal.
|
|
@arg1:
|
|
|
|
<!-- ##### ARG GtkPrinter:accepts-pdf ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:accepts-ps ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:backend ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:icon-name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:is-virtual ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:job-count ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:location ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkPrinter:state-message ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkPrintBackend ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@name:
|
|
@backend:
|
|
@virtual_:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_backend ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_state_message ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_location ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_icon_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_get_job_count ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_is_active ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_is_virtual ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_is_default ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@printer:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_printer_compare ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@a:
|
|
@b:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkPrinterFunc ##### -->
|
|
<para>
|
|
The type of function passed to gtk_enumerate_printers().
|
|
Note that you need to ref @printer, if you want to keep
|
|
a reference to it after the function has returned.
|
|
</para>
|
|
|
|
@printer: a #GtkPrinter
|
|
@data: user data passed to gtk_enumerate_printers()
|
|
@Returns: %TRUE to stop the enumeration, %FALSE to continue
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_enumerate_printers ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@func:
|
|
@data:
|
|
@destroy:
|
|
@wait:
|
|
|
|
|