Package: gtk
Function gtk:widget-grab-default
Lambda Listgtk:widget-grab-default (widget) ArgumentsDetails
Causes the widget to become the default widget.
The widget must be able to be a default widget. Typically you would ensure this yourself by calling the gtk:widget-can-default function with a true value. The default widget is activated when the user presses the Enter key in a window. Default widgets must be activatable, that is, the gtk:widget-activate function should affect them. Note that gtk:entry widgets require the activates-default property set to true before they activate the default widget when the Enter key is pressed and the gtk:entry widget is focused. | See also |
#2023-3-8