GimpUi.ResourceSelectButton.prototype.get_resource
function get_resource(): Gimp.Resource {
// Gjs wrapper for gimp_resource_select_button_get_resource()
}
Gets the currently selected resource.
Since 2.4
- Returns
an internal copy of the resource which must not be freed. You should ref and unref it when you want to own the resource.