| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
GTK2
GTK2.Entry

# Method GTK2.Entry()->set_activates_default()

Method set_activates_default

  `GTK2.Entry set_activates_default(int setting)`

Description

  If setting is true, pressing Enter will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons.