Package: gtk

Accessor gtk:text-activates-default

Lambda List

gtk:text-activates-default (object)

Syntax

(gtk:text-activates-default object) => setting
(setf (gtk:text-activates-default object) setting)

Arguments

object -- a gtk:text widget
setting -- a boolean whether to activate the default widget, when Enter is pressed

Details

Accessor of the activates-default slot of the gtk:text class. If the activates-default property is true, pressing Enter in the text entry will activate the default widget for the window containing the text entry. This usually means that the dialog containing the text entry will be closed, since the default widget is usually one of the dialog buttons.
 

See also

2024-5-22