Пример #1
0
// SetBackground character and attributes (colours, etc)
func (f *Field) SetBackground(ch Char) error {
	err := C.set_field_back((*C.FIELD)(f), C.chtype(ch))
	return ncursesError(syscall.Errno(err))
}
Пример #2
0
func (field *Field) SetBack(back Chtype) bool {
	return isOk(C.set_field_back((*C.FIELD)(field), (C.chtype)(back)))
}
Пример #3
0
func (f *Field) SetBack(back int) error {
	return geterror(C.set_field_back(f.field, C.chtype(back)))
}