setDefaultWidget

open fun setDefaultWidget(defaultWidget: Widget? = null)

Sets the default widget.

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

Parameters

defaultWidget

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