getError

open fun getError(): <Error class: unknown class><Unit>

Call this when the result of a print operation is %GTK_PRINT_OPERATION_RESULT_ERROR.

It can be called either after method@Gtk.PrintOperation.run returns, or in the signal@Gtk.PrintOperation::done signal handler.

The returned GError will contain more details on what went wrong.