code: func (w *Window) SetClosed(closed bool) {
  	mainthread.Call(func() {
  		w.window.SetShouldClose(closed)
  	})
  }
docs: // SetClosed sets the closed flag of the Window.
  //
  // This is useful when overriding the user's attempt to close the Window, or just to close the
  // Window from within the program.