Gtk.Window.prototype.set_hide_titlebar_when_maximized

function set_hide_titlebar_when_maximized(setting:Boolean):void {
    // Gjs wrapper for gtk_window_set_hide_titlebar_when_maximized()
}

If setting is true, then window 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.

Since 3.4

setting

whether to hide the titlebar when window is maximized