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 Enter in a dialog (for example).

Parameters:

this

a `GtkWindow`

default_widget

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




2022 vala-language.org