Пример #1
0
// SetPad sets the padding character of the field
func (f *Field) SetPad(padch int) error {
	err := C.set_field_pad((*C.FIELD)(f), C.int(padch))
	return ncursesError(syscall.Errno(err))
}
Пример #2
0
func (field *Field) SetPad(pad int) bool {
	return isOk(C.set_field_pad((*C.FIELD)(field), (C.bool)(C.int(pad))))
}
Пример #3
0
func (f *Field) SetPad(pad int) error {
	return geterror(C.set_field_pad(f.field, C.int(pad)))
}