HeaderBar.setShowCloseButton

void setShowCloseButton(bool setting)

Sets whether this header bar shows the standard window decorations, including close, maximize, and minimize.

Parameters

settingtrue to show standard window decorations