EventControllerFocus.connectEnter

Connect to Enter signal.

Emitted whenever the focus enters into the widget or one of its descendents.

Note that this means you may not get an ::enter signal even though the widget becomes the focus location, in certain cases (such as when the focus moves from a descendent of the widget to the widget itself). If you are interested in these cases, you can monitor the propertyGtk.EventControllerFocus:is-focus property for changes.

class EventControllerFocus
ulong
connectEnter
(
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
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.event_controller_focus.EventControllerFocus eventControllerFocus)

eventControllerFocus 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