Package: gtk
Accessor gtk:window-focus-widget
Lambda Listgtk:window-focus-widget (object) SyntaxArgumentsDetails Accessor of the focus-widget slot of the gtk:window class. The gtk:window-focus-widget function retrieves the current focused widget within the window. The (setf gtk:window-focus-widget) function sets
the focus widget. Note that this is the widget that would have the focus if the toplevel window focused. If the toplevel window is not focused then the gtk:widget-has-focus function will not return true for the widget. If the widget argument is not the current focus widget, and is focusable, sets it as the focus widget for the window. If the widget argument is nil, unsets the focus widget for the window. To set the focus to a particular widget in the toplevel, it is usually more convenient to use the gtk:widget-grab-focus function instead of this function. | See also |
2024-10-2