Gimp.Palette.get_by_name

function get_by_name(name: String): Gimp.Palette {
    // Gjs wrapper for gimp_palette_get_by_name()
}
  

Returns the palette with the given name.

Returns an existing palette having the given name. Returns null when no palette exists of that name.

Since 3.0

name

The name of the palette.

Returns

The palette.