printFinish

open fun printFinish(result: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>

Finishes the method@Gtk.PrintDialog.print call and returns the results.

If the call was successful, the content to be printed should be written to the returned output stream. Otherwise, NULL is returned.

The overall results of the print operation will be returned in the method@Gio.OutputStream.close call, so if you are interested in the results, you need to explicitly close the output stream (it will be closed automatically if you just unref it). Be aware that the close call may not be instant as it operation will for the printer to finish printing.

Return

a class@Gio.OutputStream

Since

4.14

Parameters

result

a GAsyncResult