set_decoration_layout


Description:

public void set_decoration_layout (string? layout)

Sets the decoration layout for the title buttons.

This overrides the [[email protected]: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 [[email protected]:side] value is GTK_PACK_START, this will display the part before the colon, otherwise after that.

Parameters:

this

a `GtkWindowControls`

layout

a decoration layout, or null to unset the layout




2022 vala-language.org