# GimpUi.ResourceSelectButton::resource-set

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

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

Since 2.4

resourceSelectButton

  instance of GimpUi.ResourceSelectButton that is emitting the signal

resource

  the currently selected resource.

dialog_closing

  whether the dialog was closed or not.