Package: gdk

Function gdk:window-decorations

Lambda List

gdk:window-decorations (window)

Syntax

(gdk:window-decorations window) => decorations
(setf (gdk:window-decorations window) decorations)

Arguments

window -- a toplevel gdk:window object
decorations -- a gdk:wm-decoration value with the decoration hint mask

Details

"Decorations" are the features the window manager adds to a toplevel gdk:window object. This function sets the traditional Motif window manager hints that tell the window manager which decorations you would like your window to have. Usually you should use the gtk:window-decorated function on a gtk:window widget instead of using the GDK function directly.

The decorations argument is the logical OR of the values of the gdk:wm-decoration flags. If :all is included in the mask, the other bits indicate which decorations should be turned off. If :all is not included, then the other bits indicate which decorations should be turned on.

Most window managers honor a decorations hint of 0 to disable all decorations, but very few honor all possible combinations of bits.
 

See also

#2023-2-26