PrintDialog


Object Hierarchy:

Gtk.PrintDialog Gtk.PrintDialog Gtk.PrintDialog GLib.Object GLib.Object GLib.Object->Gtk.PrintDialog

Description:

[ CCode ( type_id = "gtk_print_dialog_get_type ()" ) ]
[ Version ( since = "4.14" ) ]
public sealed class PrintDialog : Object

A `GtkPrintDialog` object collects the arguments that are needed to present a print dialog to the user, such as a title for the dialog and whether it should be modal.

The dialog is shown with the [method@Gtk.PrintDialog.setup] function. The actual printing can be done with [method@Gtk.PrintDialog.print] or [ method@Gtk.PrintDialog.print_file]. These APIs follows the GIO async pattern, and the results can be obtained by calling the corresponding finish methods.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: