PrintOperation.connectDone

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 the ::done signal was emitted.

class PrintOperation
ulong
connectDone
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

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 Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID