The default widget is the widget that’s activated when the user
presses Enter in a dialog (for example). This function sets or
unsets the default widget for a #GtkWindow. When setting (rather
than unsetting) the default widget it’s generally easier to call
gtk.widget.Widget.grabDefault on the widget. Before making a widget
the default widget, you must call gtk.widget.Widget.setCanDefault on
the widget you’d like to make the default.
The default widget is the widget that’s activated when the user presses Enter in a dialog (for example). This function sets or unsets the default widget for a #GtkWindow. When setting (rather than unsetting) the default widget it’s generally easier to call gtk.widget.Widget.grabDefault on the widget. Before making a widget the default widget, you must call gtk.widget.Widget.setCanDefault on the widget you’d like to make the default.