GimpUi.ResourceChooser.set_resource

@accepts(GimpUi.ResourceChooser, Gimp.Resource)
@returns(none)
def set_resource(self, resource):
    # Python wrapper for gimp_resource_chooser_set_resource()
  

Sets the currently selected resource. This will select the resource in both the button and any chooser popup.

Since 3.0

self

A GimpUi.ResourceChooser

resource

Resource to set.