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

Accessor of the is-active slot of the gtk:window class. 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

2024-10-2