# GimpUi.ResourceChooser::resource-set

    connect('resource-set', function (resourceChooser, resource: GObject.Object, dialog_closing: Boolean, ): void);

The ::resource-set signal is emitted when the user selects a resource.

Since 3.0

resourceChooser

  instance of GimpUi.ResourceChooser that is emitting the signal

resource

  the currently selected resource.

dialog_closing

  whether the dialog was closed or not.