Package: gtk
Function gtk:bitset-splice
Lambda Listgtk:bitset-splice (bitset pos removed added) ArgumentsDetails This is a support function for g:list-model handling, by mirroring the "items-changed" signal. First, it "cuts" the values from pos to be removed from the bitset.
That is, it removes all those values and shifts all larger values to the left
by removed places. Then, it "pastes" new room into the bitset by shifting all values larger than pos by added spaces to the right. This frees up
space that can then be filled. | See also |
2025-03-13