Пример #1
0
func (win *Window) Getcurx() int {
	return int(C.getcurx((*C.WINDOW)(win)))
}
Пример #2
0
/* Returns the current coordinates of the cursor */
func (w *Window) GetXY() (int, int) {
	return int(C.getcurx((*C.WINDOW)(w))), int(C.getcury((*C.WINDOW)(w)))

}
Пример #3
0
func (win *Window) Getyx() (int, int) {
	return int(C.getcury((*C.WINDOW)(win))), int(C.getcurx((*C.WINDOW)(win)))
}