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