Gimp.context_set_palette
@accepts(Gimp.Palette)
@returns(bool)
def context_set_palette(palette):
# Python wrapper for gimp_context_set_palette()
Set the active palette.
Sets the active palette in the current context. The palette will be used in subsequent paint operations. Returns an error when the palette data was uninstalled since the palette object was created.
Since 2.2
- palette
The palette.
- Returns