MCPcopy Index your code
hub / github.com/lxn/walk / Clear

Method Clear

tableviewcolumnlist.go:43–51  ·  view source on GitHub ↗

Clear removes all TableViewColumns from the list.

()

Source from the content-addressed store, hash-verified

41
42// Clear removes all TableViewColumns from the list.
43func (l *TableViewColumnList) Clear() error {
44 for _ = range l.items {
45 if err := l.RemoveAt(0); err != nil {
46 return err
47 }
48 }
49
50 return nil
51}
52
53// Index returns the index of the specified TableViewColumn or -1 if it is not
54// found.

Callers

nothing calls this directly

Calls 1

RemoveAtMethod · 0.95

Tested by

no test coverage detected