Package: gtk

Function gtk:window-close

Lambda List

gtk:window-close (window)

Arguments

window -- a gtk:window widget

Details

Requests that the window is closed. This is similar to what happens when the Close button in a window is clicked. This function can be used with Close buttons in custom titlebars.

Notes:

This function emits the "close-request" signal on window. If the close request is not stopped, the window will be destroyed using the gtk:window-destroy function.
 

See also

2026-10-03