Skip to content

Gio.ListModel: implement most of the mutable sequence protocol. See #115

Christoph Reiter requested to merge listmodel-sequence into master

Adds all the dunder methods for MutableSequence to Gio.ListModel and Gio.ListStore.

__delitem__ supports atomic deletion of slices through splice() when possible.

__setitem__ has to fall back to remove/insert since adding items with splice doesn't work right, see

Edited by Christoph Reiter

Merge request reports