Widget.focusOnClick

Set focusOnClick property.

  1. bool focusOnClick [@property getter]
  2. bool focusOnClick [@property setter]
    class Widget
    @property
    void
    focusOnClick
    (
    bool propval
    )

Parameters

propval bool

Whether the widget should grab focus when it is clicked with the mouse.

This property is only relevant for widgets that can take focus.