Widget::focus() Examples Syntax Java Return Widget::focus() Gives this widget the focus, e.g. the first button of a menu when it opens. Examples View on GitHub Syntax Java .focus() Return void focus() Create Shareable URL Standalone Mode Select Sections Widget::focus() Examples Syntax Java Return Copy Shareable URL