Sequence.foreach_

Calls @func for each item in the sequence passing @user_data to the function. @func must not modify the sequence itself.

class Sequence
void
foreach_

Parameters

func GFunc

the function to call for each item in @seq

userData void*

user data passed to @func

Meta

Since

2.14