Method

GtkWindowset_hide_titlebar_when_maximized

since: 3.4

Declaration [src]

void
gtk_window_set_hide_titlebar_when_maximized (
  GtkWindow* window,
  gboolean setting
)

Description [src]

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.

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

Available since: 3.4

Parameters

setting

Type: gboolean

Whether to hide the titlebar when window is maximized.