public void set_hide_titlebar_when_maximized (bool setting)
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.
whether to hide the titlebar when this is maximized