Package: gtk
Function gtk:window-focus
Lambda Listgtk:window-focus (window) SyntaxArgumentsDetails The gtk:window-focus function retrieves the current focused widget
within the window. If the focus argument is not the current focus widget, and is focusable, the (setf gtk:window-focus) function sets it as the focus widget for the
window. If the focus 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. 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. | See also |
#2024-3-20