Package: gtk

Function gtk:window-destroy

Lambda List

gtk:window-destroy (window)

Arguments

window -- a gtk:window widget to destroy

Details

Drop the internal reference GTK holds on toplevel windows.

Examples

Signal handler for a Cancel button that gets the toplevel window and destroys it to quit the window.
(g:signal-connect cancelbutton "clicked"
                  (lambda (button)
                    (let ((toplevel (gtk:widget-root button)))
                      (gtk:window-destroy toplevel))))    
 

See also

2024-10-2