func (w *Window) MoveChgat(x, y, n, attr, color int) error { if C.mvwchgat(w.win, C.int(y), C.int(x), C.int(n), C.attr_t(attr), C.short(color), nil) == ERR { return Error } return nil }
func (w *Window) Chgat(n, attr, color int) error { if C.wchgat(w.win, C.int(n), C.attr_t(attr), C.short(color), nil) == ERR { return Error } return nil }
func (win *Window) Attrset(attr int) { win.cwin._attrs = C.attr_t(attr) }
func (win *Window) Mvchgat(y, x, n, attrs int, color int16) error { if C.mvwchgat((*C.WINDOW)(win), C.int(y), C.int(x), C.int(n), C.attr_t(attrs), C.short(color), nil) == C.ERR { return CursesError{"mvwchgat failed"} } return nil }
func (win *Window) AttrSet(attr int, color int16) error { if C.wattr_set((*C.WINDOW)(win), C.attr_t(attr), C.short(color), nil) == C.ERR { return CursesError{"wattr_set failed"} } return nil }
func (win *Window) AttrOff(attr int) error { if C.wattr_off((*C.WINDOW)(win), C.attr_t(attr), nil) == C.ERR { return CursesError{"wattr_off failed"} } return nil }