GimpUi.ResourceSelectButton.prototype.set_resource
function set_resource(resource: Gimp.Resource): void {
// Gjs wrapper for gimp_resource_select_button_set_resource()
}
Sets the currently selected resource. This will select the resource in both the button and any chooser popup.
Since 2.4
- resource
Resource to set.