ListG.foreach_

Calls a function for each element of a GList

It is safe for func to remove the element from list, but it must not modify any part of the list after that element.

class ListG
void
foreach_

Parameters

func GFunc

the function to call with each element's data

userData void*

user data to pass to the function