Package: gtk

Accessor gtk:window-controls-decoration-layout

Lambda List

gtk:window-controls-decoration-layout (object)

Syntax

(gtk:window-controls-decoration-layout object) => layout
(setf (gtk:window-controls-decoration-layout object) layout)

Arguments

object -- a gtk:window-controls widget
layout -- a string with the decoration layout, or nil to unset the decoration layout

Details

Accessor of the decoration-layout slot of the gtk:window-controls class. The gtk:window-controls-decoration-layout function gets the decoration layout. The (setf gtk:window-controls-decoration-layout) function sets the decoration layout for the title buttons, overriding the 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 the side property is :start, object will display the part before the colon, otherwise after that.
 

See also

2023-8-9