Gck.modules_tokens_for_uri

function modules_tokens_for_uri(modules: Array(Gck.Module), uri: String): Array(Gck.Slot) {
    // Gjs wrapper for gck_modules_tokens_for_uri()
}
  

Lookup a token that matches the URI.

modules

The modules

uri

The URI that the token must match

Returns

A list of newly allocated Gck.Slot objects. Use Gck.list_unref_free to release the list once you're done with it.