Widget.hasDefault

Determines whether widget is the current default widget within its toplevel.

class Widget
bool
hasDefault
()

Return Value

Type: bool

true if widget is the current default widget within its toplevel, false otherwise