Gimp.RunPaletteCallback

function onRunPaletteCallback(palette_name: String, dialog_closing: Boolean): void {
}
  
palette_name
dialog_closing