set

fun set(iter: SequenceIter, data: <Error class: unknown class>? = null)

Changes the data for the item pointed to by @iter to be @data. If the sequence has a data destroy function associated with it, that function is called on the existing data that @iter pointed to.

Since

2.14

Parameters

iter

a #GSequenceIter

data

new data for the item