//export windowClosing func windowClosing(data unsafe.Pointer) { w := (*window)(data) close := w.closing.fire() if close { C.windowClose(w.hwnd) } }
func (w *window) Close() { C.windowClose(w.id) }
func (w *window) Close() { C.windowClose(w.hwnd) }