Package: gdk

Function gdk:surface-destroy

Lambda List

gdk:surface-destroy (surface)

Arguments

surface -- a gdk:surface object

Details

Destroys the window system resources associated with surface and decrements reference count of the surface. The window system resources for all children of the surface are also destroyed, but the reference counts of the children are not decremented.

Note that a surface will not be destroyed automatically when its reference count reaches zero. You must call this function yourself before that happens.
 

See also

2024-1-8