Window.setDefaultWidget

Sets the default widget.

The default widget is the widget that is activated when the user presses Enter in a dialog (for example).

class Window
void
setDefaultWidget

Parameters

defaultWidget gtk.widget.Widget

widget to be the default to unset the default widget for the toplevel