示例#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
文件: forms.go 项目: mpatraw/gocurse
func (field *Field) SetPad(pad int) bool {
	return isOk(C.set_field_pad((*C.FIELD)(field), (C.bool)(C.int(pad))))
}
示例#3
0
文件: form.go 项目: zozor/gocurse
func (f *Field) SetPad(pad int) error {
	return geterror(C.set_field_pad(f.field, C.int(pad)))
}