HeaderBar.decorationLayout

string decorationLayout() @property

Get decorationLayout property.

Returns

The decoration layout for buttons.

If this property is not set, the property@Gtk.Settings:gtk-decoration-layout setting is used.

The format of the string is button names, separated by commas. A colon separates the buttons that should appear at the start from those at the end. Recognized button names are minimize, maximize, close and icon (the window icon).

For example, “icon:minimize,maximize,close” specifies an icon at the start, and minimize, maximize and close buttons at the end.

void decorationLayout(string propval) @property

Set decorationLayout property.

Parameters

propvalThe decoration layout for buttons. If this property is not set, the property@Gtk.Settings:gtk-decoration-layout setting is used. The format of the string is button names, separated by commas. A colon separates the buttons that should appear at the start from those at the end. Recognized button names are minimize, maximize, close and icon (the window icon). For example, “icon:minimize,maximize,close” specifies an icon at the start, and minimize, maximize and close buttons at the end.