GimpUi.PaletteSelectButton.set_palette

@accepts(GimpUi.PaletteSelectButton, unicode)
@returns(none)
def set_palette(self, palette_name):
    # Python wrapper for gimp_palette_select_button_set_palette()
  

Sets the current palette for the palette select button.

Since 2.4

self

A GimpUi.PaletteSelectButton

palette_name

Palette name to set; None means no change.