Widget.connectMnemonicActivate

gulong connectMnemonicActivate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == bool))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.widget.Widget))) && Parameters!T.length < 3)

Connect to MnemonicActivate signal.

The default handler for this signal activates widget if group_cycling is false, or just makes widget grab focus if group_cycling is true.

Parameters

callbacksignal callback delegate or function to connect bool callback(bool groupCycling, gtk.widget.Widget widget) groupCycling true if there are other widgets with the same mnemonic (optional) widget the instance the signal is connected to (optional) Returns true to stop other handlers from being invoked for the event. false to propagate the event further.
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID