diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-16 14:38:50 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-16 22:02:36 +0200 |
commit | 14574267f1711b6d51738f9e371837202babd04b (patch) | |
tree | fc4e989413b6753c96627677f84df9c1e2f34c49 /tests/test_gobject.py | |
parent | ad1bbfa148b7734e2fca3c9f0e14ddab630bc354 (diff) | |
download | pygobject-listmodel-sequence.tar.gz |
Gio.ListModel: implement most of the mutable sequence protocol. See #115listmodel-sequence
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/delete since adding items with
splice doesn't work right, see https://bugzilla.gnome.org/show_bug.cgi?id=795307
Diffstat (limited to 'tests/test_gobject.py')
0 files changed, 0 insertions, 0 deletions