Assistant.connectApply

gulong connectApply(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.assistant.Assistant))) && Parameters!T.length < 2)

Connect to Apply signal.

Emitted when the apply button is clicked.

The default behavior of the [gtk.assistant.Assistant] is to switch to the page after the current page, unless the current page is the last one.

A handler for the ::apply signal should carry out the actions for which the wizard has collected data. If the action takes a long time to complete, you might consider putting a page of type [gtk.types.AssistantPageType.Progress] after the confirmation page and handle this operation within the [gtk.assistant.Assistant.prepare] signal of the progress page.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.assistant.Assistant assistant) assistant 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

Deprecated

This widget will be removed in GTK 5