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

Method source_remove

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

Source from the content-addressed store, hash-verified

213 self.source_remove(index=index, item=item)
214
215 def source_remove(self, *, index, item):
216 indexes = NSIndexSet.indexSetWithIndex(index)
217 self.native_table.removeRowsAtIndexes(
218 indexes, withAnimation=NSTableViewAnimation.EffectNone
219 )
220
221 # Alias for backwards compatibility:
222 # March 2026: In 0.5.3 and earlier, notification methods

Callers 1

removeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected