Gck.modules_object_for_uri
function modules_object_for_uri(modules: Array(Gck.Module), uri: String, session_options: Gck.SessionOptions): Gck.Object { // Gjs wrapper for gck_modules_object_for_uri() }
Find an object that matches a URI.
This call can block. Use Gck.modules_enumerate_uri for a non-blocking version.
- modules
The modules
- uri
The URI the objects must match
- session_options
Options from GckSessionOptions
- Returns
A new Gck.Object which should be released with g_object_unref(), or null if no matching object was found.