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 https://bugzilla.gnome.org/show_bug.cgi?id=795307

Edited by Christoph Reiter

Merge request reports