Widget.canFocus

bool canFocus() @property

Get canFocus property.

Returns

Whether 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.

void canFocus(bool propval) @property

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.