func (w *Window) Attrset(attrs int) error { if C.wattrset(w.win, C.int(attrs)) == ERR { return Error } return nil }
func (win *Window) Attrset(flags int32) { C.wattrset((*C.WINDOW)(win), C.int(flags)) }
/* Clears all attributes, then sets an attribute(s). */ func (w *Window) AttrSet(attr int) { C.wattrset((*C.WINDOW)(w), C.int(attr)) }
func (win *Window) Attrset(attr int) error { if C.wattrset((*C.WINDOW)(win), C.int(attr)) == C.ERR { return CursesError{"wattrset failed"} } return nil }