Widget.hasDefault

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

class Widget
bool
hasDefault
()

Return Value

Type: bool

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