Example #1
0
// SetJustification of the field
func (f *Field) SetJustification(just int) error {
	err := C.set_field_just((*C.FIELD)(f), C.int(just))
	return ncursesError(syscall.Errno(err))
}
Example #2
0
func (field *Field) SetJust(justMode int) bool {
	return isOk(C.set_field_just((*C.FIELD)(field), C.int(justMode)))
}
Example #3
0
func (f *Field) SetJust(justMode int) error {
	return geterror(C.set_field_just(f.field, C.int(justMode)))
}