Package: gdk

Function gdk-window-set-shadow-width

Lambda List

gdk-window-set-shadow-width (window left right top bottom)

Arguments

window -- a gdk-window object
left -- a :int with the left extent
right -- a :int with the right extent
top -- a :int with the top extent
bottom -- a :int with the bottom extent

Details

Newer GTK windows using client-side decorations use extra geometry around their frames for effects like shadows and invisible borders. Window managers that want to maximize windows or snap to edges need to know where the extents of the actual frame lie, so that users do not feel like windows are snapping against random invisible edges.

Note that this property is automatically updated by GTK, so this function should only be used by applications which do not use GTK to create toplevel windows.
 

See also

2020-9-24