Package: gtk

Accessor gtk:window-has-toplevel-focus

Lambda List

gtk:window-has-toplevel-focus (object)

Syntax

(gtk:window-has-toplevel-focus object) => setting

Arguments

object -- a gtk:window widget
setting -- true if the input focus is within this window

Details

The accessor for the has-toplevel-focus slot returns whether the input focus is within the window. For real toplevel windows, this is identical to the gtk:window-is-active function, but for embedded windows, like a gtk:plug widget, the results will differ.
 

See also

2026-06-04