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

Method Remove

tableviewcolumnlist.go:101–108  ·  view source on GitHub ↗

Remove removes the specified TableViewColumn from the list.

(item *TableViewColumn)

Source from the content-addressed store, hash-verified

99
100// Remove removes the specified TableViewColumn from the list.
101func (l *TableViewColumnList) Remove(item *TableViewColumn) error {
102 index := l.Index(item)
103 if index == -1 {
104 return nil
105 }
106
107 return l.RemoveAt(index)
108}
109
110// RemoveAt removes the TableViewColumn at position index.
111func (l *TableViewColumnList) RemoveAt(index int) error {

Callers

nothing calls this directly

Calls 2

IndexMethod · 0.95
RemoveAtMethod · 0.95

Tested by

no test coverage detected