VariantIter.copy

Creates a new heap-allocated glib.VariantIter to iterate over the container that was being iterated over by iter. Iteration begins on the new iterator from the current position of the old iterator but the two copies are independent past that point.

Use Variant.iterFree to free the return value when you no longer need it.

A reference is taken to the container that iter is iterating over and will be releated only when Variant.iterFree is called.

class VariantIter
copy
()

Return Value

a new heap-allocated glib.VariantIter

Meta

Since

2.24