Gimp.Resource.get_by_name

function get_by_name(resource_type: GObject.Type, resource_name: String): Gimp.Resource {
    // Gjs wrapper for gimp_resource_get_by_name()
}
  

Returns the resource with the given resource_type and resource_name.

Since 3.0

resource_type

The GLib.Type of the resource.

resource_name

The name of the resource.

Returns

The resource.