Function Window.focusedWidget

returns current focused widget

Widget focusedWidget() @property;