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