Interface Glib.OnDataForeachFunc

Enclosing class:
Glib
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Glib.OnDataForeachFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDataForeachFunc(CallbackHandler __self, int key_id, Pointer data, Pointer user_data)
    Specifies the type of function passed to g_dataset_foreach().
  • Method Details

    • onDataForeachFunc

      void onDataForeachFunc(CallbackHandler __self, int key_id, @Nullable Pointer data, @Nullable Pointer user_data)
      Specifies the type of function passed to g_dataset_foreach(). It is
      called with each #GQuark id and associated data element, together
      with the @user_data parameter supplied to g_dataset_foreach().
      Parameters:
      key_id - the #GQuark id to identifying the data element.
      data - the data element.
      user_data - user data passed to g_dataset_foreach().