Gdk.ToplevelState.FOCUSED – gtk4 Reference Manual
FOCUSED
Description:
FOCUSED
the surface is presented as focused (with active decorations)