HeaderBar.setShowCloseButton

void setShowCloseButton(bool setting) nothrow

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

Parameters

settingtrue to show standard window decorations