# GimpUi.IntStore.lookup_by_user_data

    function lookup_by_user_data(model: Gtk.TreeModel, user_data: void): [ok: Boolean, iter: Gtk.TreeIter] {
        // Gjs wrapper for gimp_int_store_lookup_by_user_data()
    }

Iterate over the model looking for user_data.

Since 2.10

model

  a GimpUi.IntStore

user_data

  a gpointer "user-data" to lookup in the model

ok

  true if the user-data has been located and iter is valid, false otherwise.

iter

  return location for the iter of the given user_data