Entry.setActivatesDefault

Sets whether pressing Enter in the @entry 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.

class Entry
void
setActivatesDefault
(
bool setting
)

Parameters

setting bool

%TRUE to activate window’s default widget on Enter keypress

Meta