Calls the given function for each key/value pair in the glib.HashTable If the function returns TRUE, then the key/value pair is removed from the glib.HashTable, but no key or value destroy functions are called.

See glib.HashTableIter for an alternative way to loop over the key/value pairs in the hash table.

class HashTable


func GHRFunc

the function to call for each key/value pair

userData void*

user data to pass to the function

Return Value

Type: uint

the number of key/value pairs removed.