EventControllerFocus.connectEnter
gulong connectEnter(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.event_controller_focus.EventControllerFocus)))
&& Parameters!T.length < 2)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.
Parameters
callback | 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 | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID