func (w *Window) SetSize(width, height int) { C.setWindowSize(w.cw, C.int(width), C.int(height)) }
func (w *Window) SetSize(width, height int) { onMainThread(func() { C.setWindowSize(w.cw, _Ctype_int(width), _Ctype_int(height)) }) }
func (w *Window) SetSize(width, height int) { w.oplock.Lock() defer w.oplock.Unlock() C.setWindowSize(w.cw, _Ctype_int(width), _Ctype_int(height)) }