PrintOperation.connectDone
gulong connectDone(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gtk.types.PrintOperationResult)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.print_operation.PrintOperation)))
&& Parameters!T.length < 3)Connect to Done signal.
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.types.PrintOperationResult.Error] then you can call [gtk.print_operation.PrintOperation.getError] for more information.
If you enabled print status tracking then [gtk.print_operation.PrintOperation.isFinished] may still return false after #GtkPrintOperation::done was emitted.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.types.PrintOperationResult result, gtk.print_operation.PrintOperation printOperation) result the result of the print operation (optional) printOperation the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID