Window.close

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

class Window
void
close
()

Meta