Package: gtk

Accessor gtk-entry-activates-default

Lambda List

gtk-entry-activates-default (object)

Syntax

(gtk-entry-activates-default object) => setting
(setf (gtk-entry-activates-default object) setting)

Arguments

object -- a gtk-entry widget
setting -- true to activate the default widget of the window on Enter keypress

Details

Accessor of the activates-default slot of the gtk-entry class.

The gtk-entry-activates-default slot access function retrieves whether to activate the default widget, when the Enter key is pressed.

If the setting argument is true, pressing the Enter key in the entry 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.

If the setting argument is true, the entry calls the gtk-window-activate-default function on the window containing the entry, in the default handler for the "activate" signal.
 

See also

2021-11-2