MCPcopy
hub / github.com/beeware/toga / remove

Method remove

cocoa/src/toga_cocoa/widgets/table.py:205–213  ·  view source on GitHub ↗
(self, index, item)

Source from the content-addressed store, hash-verified

203 # March 2026: In 0.5.3 and earlier, notification methods
204 # didn't start with 'source_'
205 def remove(self, index, item):
206 import warnings
207
208 warnings.warn(
209 "The remove() method is deprecated. Use source_remove() instead.",
210 DeprecationWarning,
211 stacklevel=1,
212 )
213 self.source_remove(index=index, item=item)
214
215 def source_remove(self, *, index, item):
216 indexes = NSIndexSet.indexSetWithIndex(index)

Callers 1

remove_columnMethod · 0.45

Calls 2

source_removeMethod · 0.95
warnMethod · 0.80

Tested by

no test coverage detected