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 -- decoration hint mask of type gdk-wm-decoration

Details

"Decorations" are the features the window manager adds to a toplevel gdk-window. 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 function gtk-window-decorated 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

2020-9-25