Widget.setCanDefault

Specifies whether widget can be a default widget. See Widget.grabDefault for details about the meaning of “default”.

class Widget
void
setCanDefault
()

Parameters

canDefault bool

whether or not widget can be a default widget.

Meta

Since

2.18