Exemple #1
0
// SetForeground character and attributes (colours, etc)
func (f *Field) SetForeground(ch Char) error {
	err := C.set_field_fore((*C.FIELD)(f), C.chtype(ch))
	return ncursesError(syscall.Errno(err))
}
Exemple #2
0
func (field *Field) SetFore(fore Chtype) bool {
	return isOk(C.set_field_fore((*C.FIELD)(field), (C.chtype)(fore)))
}
Exemple #3
0
func (f *Field) SetFore(fore int) error {
	return geterror(C.set_field_fore(f.field, C.chtype(fore)))
}