Creates a new gtk.print_unix_dialog.PrintUnixDialog.
Adds a custom tab to the print dialog.
Gets the current page of the gtk.print_unix_dialog.PrintUnixDialog.
Gets whether to embed the page setup.
Gets whether there is a selection.
Gets the capabilities that have been set on this gtk.print_unix_dialog.PrintUnixDialog.
Gets the page setup that is used by the gtk.print_unix_dialog.PrintUnixDialog.
Gets whether a page setup was set by the user.
Gets the currently selected printer.
Gets a new gtk.print_settings.PrintSettings object that represents the current values in the print dialog.
Gets whether the print dialog allows user to print a selection.
Sets the current page number.
Embed page size combo box and orientation combo box into page setup page.
Sets whether a selection exists.
This lets you specify the printing capabilities your application supports.
Sets the page setup of the gtk.print_unix_dialog.PrintUnixDialog.
Sets the gtk.print_settings.PrintSettings for the gtk.print_unix_dialog.PrintUnixDialog.
Sets whether the print dialog allows user to print a selection.
Adds an activatable widget to the action area of a gtk.dialog.Dialog.
Adds a button with the given text.
Returns the content area of dialog.
Returns the header bar of dialog.
Gets the response id of a widget in the action area of a dialog.
Gets the widget button that uses the given response ID in the action area of a dialog.
Emits the ::response signal with the given response ID.
Sets the default widget for the dialog based on the response ID.
A convenient way to sensitize/desensitize dialog buttons.
Connect to Close signal.
Connect to Response signal.
gtk.print_unix_dialog.PrintUnixDialog implements a print dialog for platforms which don’t provide a native print dialog, like Unix.
It can be used very much like any other GTK dialog, at the cost of the portability offered by the high-level printing API with gtk.print_operation.PrintOperation.
In order to print something with gtk.print_unix_dialog.PrintUnixDialog, you need to use gtk.print_unix_dialog.PrintUnixDialog.getSelectedPrinter to obtain a gtk.printer.Printer object and use it to construct a gtk.print_job.PrintJob using gtk.print_job.PrintJob.new_.
gtk.print_unix_dialog.PrintUnixDialog uses the following response values:
GtkPrintUnixDialog as GtkBuildable
The gtk.print_unix_dialog.PrintUnixDialog implementation of the gtk.buildable.Buildable interface exposes its @notebook internal children with the name “notebook”.
An example of a gtk.print_unix_dialog.PrintUnixDialog UI definition fragment:
CSS nodes
gtk.print_unix_dialog.PrintUnixDialog has a single CSS node with name window. The style classes dialog and print are added.