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