This signal is emitted when the user changes the window's focus widget by tabbing from one widget to another or moving between focusable widgets with the arrow keys.
The callback will recieve the window that emitted the signal (window) and the direction (direction) the focus has moved. direction normally corresponds to the key or key combination pressed by the user.
Callback function