Example #1
0
func (win *Window) Getcurx() int {
	return int(C.getcurx((*C.WINDOW)(win)))
}
Example #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)))

}
Example #3
0
func (win *Window) Getyx() (int, int) {
	return int(C.getcury((*C.WINDOW)(win))), int(C.getcurx((*C.WINDOW)(win)))
}