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

}
Exemplo n.º 3
0
func (win *Window) Getyx() (int, int) {
	return int(C.getcury((*C.WINDOW)(win))), int(C.getcurx((*C.WINDOW)(win)))
}