setTitleBarOverlay

open external override fun setTitleBarOverlay(options: TitleBarOverlayOptions)(source)

On a window with Window Controls Overlay already enabled, this method updates the style of the title bar overlay.

On Linux, the symbolColor is automatically calculated to have minimum accessible contrast to the color if not explicitly set.