Delete deletes the nth control of the Form.
(n int)
| 53 | |
| 54 | // Delete deletes the nth control of the Form. |
| 55 | func (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. |