Package ch.bailu.gtk.glib
Interface HashTable.OnHRFunc
- Enclosing class:
- HashTable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onHRFunc
(CallbackHandler __self, Pointer key, Pointer value, Pointer user_data) Specifies the type of the function passed to
g_hash_table_foreach_remove().
-
Method Details
-
onHRFunc
boolean onHRFunc(CallbackHandler __self, @Nullable Pointer key, @Nullable Pointer value, @Nullable Pointer user_data) Specifies the type of the function passed to
g_hash_table_foreach_remove(). It is called with each key/value
pair, together with the @user_data parameter passed to
g_hash_table_foreach_remove(). It should return %TRUE if the
key/value pair should be removed from the #GHashTable.- Parameters:
key
- a keyvalue
- the value associated with the keyuser_data
- user data passed to g_hash_table_remove()- Returns:
- %TRUE if the key/value pair should be removed from the #GHashTable
-