コード例 #1
0
ファイル: forms.go プロジェクト: mpatraw/gocurse
func (form *Form) FieldCount() int {
	return (int)(C.field_count((*C.FORM)(form)))
}
コード例 #2
0
ファイル: form.go プロジェクト: trotha01/goncurses
// FieldCount returns the number of fields attached to the Form
func (f *Form) FieldCount() int {
	return int(C.field_count(f.form))
}