Widget.connectKeynavFailed

Connect to KeynavFailed signal.

Emitted if keyboard navigation fails.

See gtk.widget.Widget.keynavFailed for details.

class Widget
ulong
connectKeynavFailed
(
T
)
(,
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] == gtk.types.DirectionType)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] : gtk.widget.Widget)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

bool callback(gtk.types.DirectionType direction, gtk.widget.Widget widget)

direction the direction of movement (optional)

widget the instance the signal is connected to (optional)

Returns true if stopping keyboard navigation is fine, false if the emitting widget should try to handle the keyboard navigation attempt in its parent widget(s).

after Flag!"After"

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

Return Value

Type: ulong

Signal ID