PtrArray.foreach_

Calls a function for each element of a #GPtrArray. @func must not add elements to or remove elements from the array.

class PtrArray
void
foreach_
(
GFunc func
,
void* userData
)

Parameters

func GFunc

the function to call for each array element

userData void*

user data to pass to the function

Meta