Widget.addOnFocusIn

The ::focus-in-event signal will be emitted when the keyboard focus enters the widget's window.

To receive this signal, the gdk.Window associated to the widget needs to enable the GDK_FOCUS_CHANGE_MASK mask.

  1. gulong addOnFocusIn(bool delegate(GdkEventFocus*, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    gulong
    addOnFocusIn
    (
    bool delegate dlg
    ,
    ConnectFlags connectFlags = cast(ConnectFlags)0
    )
  2. gulong addOnFocusIn(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)

Return Value

Type: gulong

TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.