Function Control.getFocusOwner

Returns the control that has the keyboard focus or null if none.

Control getFocusOwner() nothrow @nogc const;