WidgetGidBuilderImpl.canFocus

T canFocus(bool propval)

Set canFocus property.

Parameters

propvalWhether the widget or any of its descendents can accept the input focus. This property is meant to be set by widget implementations, typically in their instance init function.

Returns

Builder instance for fluent chaining