WindowControls.setDecorationLayout

Sets the decoration layout for the title buttons.

This overrides the [property@Gtk.Settings:gtk-decoration-layout] setting.

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

For example, “icon:minimize,maximize,close” specifies a icon on the left, and minimize, maximize and close buttons on the right.

If [property@Gtk.WindowControls:side] value is @GTK_PACK_START, @self will display the part before the colon, otherwise after that.

class WindowControls
void
setDecorationLayout
(
string layout
)

Parameters

layout string

a decoration layout, or %NULL to unset the layout

Meta