# GimpUi.PaletteSelectButton::palette-set

    connect('palette-set', function (paletteSelectButton, palette_name: String, dialog_closing: Boolean, ): void);

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

Since 2.4

paletteSelectButton

  instance of GimpUi.PaletteSelectButton that is emitting the signal

palette_name

  the name of the currently selected palette.

dialog_closing

  whether the dialog was closed or not.