Text.setActivatesDefault

If @activates is %TRUE, pressing Enter in the @self will activate the default widget for the window containing @self.

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

class Text
void
setActivatesDefault
()

Parameters

activates bool

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

Meta