Package: gtk

Accessor gtk:window-is-active

Lambda List

gtk:window-is-active (object)

Syntax

(gtk:window-is-active object) => active
(setf (gtk:window-is-active object) active)

Arguments

object -- a gtk:window widget
active -- a boolean whether the toplevel is the currently active window

Details

The accessor for the is-active slot of the gtk:window class gets whether the toplevel is the currently active window. The active toplevel is the window receiving keystrokes. The return value is true if the window is active toplevel itself. You might use this function if you wanted to draw a widget differently in an active window from a widget in an inactive window.
 

See also

2025-07-29