MCPcopy Create free account
hub / github.com/andlabs/ui / Delete

Method Delete

form.go:55–58  ·  view source on GitHub ↗

Delete deletes the nth control of the Form.

(n int)

Source from the content-addressed store, hash-verified

53
54// Delete deletes the nth control of the Form.
55func (f *Form) Delete(n int) {
56 f.children = append(f.children[:n], f.children[n + 1:]...)
57 C.uiFormDelete(f.f, C.int(n))
58}
59
60// Padded returns whether there is space between each control
61// of the Form.

Callers 1

DestroyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected