Gio.StaticResource.prototype.get_resource

function get_resource(): Gio.Resource {
    // Gjs wrapper for g_static_resource_get_resource()
}
  

Gets the GResource that was registered by a call to Gio.StaticResource.prototype.init.

This is normally used by code generated by [glib-compile-resources][glib-compile-resources] and is not typically used by other code.

Since 2.32

Returns

a Gio.Resource