Function Widget.setFocus

sets focus to this widget or suitable focusable child, returns previously focused widget

Prototype

Widget setFocus(
  FocusReason reason = cast(FocusReason)cast(ubyte)1u
);

Authors

Copyright

License