set_activates_default


Description:

public void set_activates_default (bool setting)

Sets whether pressing Enter in the this will activate the default widget for the window containing the entry.

This usually means that the dialog containing the entry will be closed, since the default widget is usually one of the dialog buttons.

Parameters:

this

a `GtkEntry`

setting

true to activate window’s default widget on Enter keypress