open fun print(parent: Window? = null, setup: PrintSetup? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)
This function prints content from a stream.
If you pass NULL
as @setup, then this method will present a print dialog. Otherwise, it will attempt to print directly, without user interaction.
The @callback will be called when the printing is done.
Since
4.14
Parameters
parent
the parent GtkWindow
setup
the GtkPrintSetup
to use
cancellable
a GCancellable
to cancel the operation
callback
a callback to call when the operation is complete