Package: gtk

Accessor gtk:window-controls-use-native-controls

Lambda List

gtk:window-controls-use-native-controls (object)

Syntax

(gtk:window-controls-use-native-controls object) => setting
(setf (gtk:window-controls-use-native-controls object) setting)

Arguments

object -- a gtk:window-controls widget
setting -- true to show native controls

Details

Accessor of the use-native-controls slot of the gtk:window-controls class. The gtk:window-controls-use-native-controls function returns whether platform native window controls are shown. The (setf gtk:window-controls-use-native-controls) function sets whether platform native window controls are used. This option shows the "stoplight" buttons on macOS. For Linux, this option has no effect. See also Using GTK on Apple macOS.

Since 4.18
 

See also

2025-3-29