set_default_widget


Description:

public void set_default_widget (Widget? default_widget)

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 Window.

Parameters:

this

a Window

default_widget

widget to be the default, or null to unset the default widget for the toplevel