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 window is part of the current active window

Details

Accessor of the is-active slot of the gtk-window class.

That is, the toplevel window receiving keystrokes. The return value is true if the window is active toplevel itself, but also if it is, say, a gtk-plug widget embedded in the active toplevel. 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 the gtk-window-has-toplevel-focus function.
 

See also

2021-9-9