set-focus
This signal is emitted when the window's focus widget is changed (usually by calling set_focus() or grab_focus() ).
The callback will be passed two parameters: window, the window that emitted the signal, and focus_wigdget, the new focus widget.
See also: set_focus() , grab_focus()
Callback function