# Gimp.palettes_set_popup

    @accepts(unicode, unicode)
    @returns(bool)
    def palettes_set_popup(palette_callback, palette_name):
        # Python wrapper for gimp_palettes_set_popup()

Sets the current palette in a palette selection dialog.

Sets the current palette in a palette selection dialog.

palette_callback

  The name of the callback registered for this pop-up.

palette_name

  The name of the palette to set as selected.

Returns