DataForeachFunc

typealias DataForeachFunc = (keyId: Quark, <Error class: unknown class>?) -> Unit

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().

  • param keyId the #GQuark id to identifying the data element.

  • param data the data element.