set_default_widget


Description:

public void set_default_widget (Widget? default_widget)

Sets the default widget.

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

Parameters:

this

a window

default_widget

widget to be the default