Package: gtk
Function gtk:window-default-widget
Lambda Listgtk:window-default-widget (window) SyntaxArgumentsDetails
Gets or sets the default widget for the window.
The default widget is the widget that is activated when the user presses the Enter key in a dialog for example. When setting, rather than unsetting,
the default widget it is generally easier to call the gtk:widget-grab-focus function on the widget. Before making a widget the default widget, you must call the gtk:widget-can-default function on the
widget you would like to make the default. Notes | See also |
2026-06-10