GimpUi.ResourceChooser.prototype.get_resource

function get_resource(): Gimp.Resource {
    // Gjs wrapper for gimp_resource_chooser_get_resource()
}
  

Gets the currently selected resource.

Since 3.0

Returns

an internal copy of the resource which must not be freed.