GimpUi.ResourceSelectButton.set_resource
@accepts(GimpUi.ResourceSelectButton, Gimp.Resource)
@returns(none)
def set_resource(self, resource):
# Python 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
- self
- resource
Resource to set.