HeaderBar.showCloseButton

bool showCloseButton() @property

Get showCloseButton property.

Returns

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).

void showCloseButton(bool propval) @property

Set showCloseButton property.

Parameters

propvalWhether 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).