Example #1
0
File: gmdgo.go Project: waxcorp/gmd
func (w *Window) SetSize(width, height int) {
	C.setWindowSize(w.cw, C.int(width), C.int(height))
}
Example #2
0
func (w *Window) SetSize(width, height int) {
	onMainThread(func() {
		C.setWindowSize(w.cw, _Ctype_int(width), _Ctype_int(height))
	})
}
Example #3
0
func (w *Window) SetSize(width, height int) {
	w.oplock.Lock()
	defer w.oplock.Unlock()

	C.setWindowSize(w.cw, _Ctype_int(width), _Ctype_int(height))
}