Exemple #1
0
// Sets the position of the cursor. See also HIDE_CURSOR and HideCursor().
func SetCursor(x int, y int) {
	C.tb_set_cursor(C.int(x), C.int(y))
}
Exemple #2
0
// The shortcut for SetCursor(HIDE_CURSOR, HIDE_CURSOR).
func HideCursor() {
	C.tb_set_cursor(HIDE_CURSOR, HIDE_CURSOR)
}
Exemple #3
0
func HideCursor() {
	C.tb_set_cursor(-1, -1)
}