Widget.hasDefault

Determines whether widget is the current default widget within its toplevel. See Widget.setCanDefault.

class Widget
bool
hasDefault
()

Return Value

Type: bool

TRUE if widget is the current default widget within its toplevel, FALSE otherwise

Meta

Since

2.18