Which buttons are actually shown and where is determined by the #GtkHeaderBar:decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can't be closed).
HeaderBar.showCloseButton
bool showCloseButton() @propertyGet showCloseButton property.
Returns
Whether to show window decorations.
void showCloseButton(bool propval) @propertySet showCloseButton property.
Parameters
propval | Whether to show window decorations. Which buttons are actually shown and where is determined by the #GtkHeaderBar:decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can't be closed). |