コード例 #1
0
ファイル: forms.go プロジェクト: mpatraw/gocurse
func (field *Field) Move(x int, y int) bool {
	return isOk(C.move_field((*C.FIELD)(field), C.int(x), C.int(y)))
}
コード例 #2
0
ファイル: form.go プロジェクト: repos-go/goncurses-1
// Move the field to the location of the specified coordinates
func (f *Field) Move(y, x int) error {
	err := C.move_field(f.field, C.int(y), C.int(x))
	return ncursesError(syscall.Errno(err))
}
コード例 #3
0
ファイル: form.go プロジェクト: trotha01/goncurses
// Move the field to the location of the specified coordinates
func (f *Field) Move(y, x int32) error {
	err := C.move_field((*C.FIELD)(f), C.int(y), C.int(x))
	return ncursesError(syscall.Errno(err))
}
コード例 #4
0
ファイル: form.go プロジェクト: zozor/gocurse
func (f *Field) Move(x int, y int) error {
	return geterror(C.move_field(f.field, C.int(x), C.int(y)))
}