set_hide_titlebar_when_maximized


Description:

[ Version ( since = "3.4" ) ]
public void set_hide_titlebar_when_maximized (bool setting)

If setting is true, then this will request that it’s titlebar should be hidden when maximized.

This is useful for windows that don’t convey any information other than the application name in the titlebar, to put the available screen space to better use. If the underlying window system does not support the request, the setting will not have any effect.

Note that custom titlebars set with set_titlebar are not affected by this. The application is in full control of their content and visibility anyway.

Parameters:

this

a Window

setting

whether to hide the titlebar when this is maximized