PrintOperation.connectCustomWidgetApply

gulong connectCustomWidgetApply(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.widget.Widget))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.print_operation.PrintOperation))) && Parameters!T.length < 3)

Connect to CustomWidgetApply signal.

Emitted right before ::begin-print if you added a custom widget in the ::create-custom-widget handler.

When you get this signal you should read the information from the custom widgets, as the widgets are not guaranteed to be around at a later time.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.widget.Widget widget, gtk.print_operation.PrintOperation printOperation) widget the custom widget added in ::create-custom-widget (optional) printOperation the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID