Gtk.PrintOperation::done

function callback(print_operation, result:Gtk.PrintOperationResult, ):void;

Emitted when the print operation run has finished doing everything required for printing.

result gives you information about what happened during the run. If result is Gtk.PrintOperationResult.error then you can call Gtk.PrintOperation.prototype.get_error for more information.

If you enabled print status tracking then Gtk.PrintOperation.prototype.is_finished may still return false after Gtk.PrintOperation::done was emitted.

Since 2.10

print_operation

instance of Gtk.PrintOperation that is emitting the signal

result

the result of the print operation