palettes_popup


Description:


public bool palettes_popup (string palette_callback, string popup_title, Palette? initial_palette, Bytes? parent_window)

Invokes the Gimp palette selection dialog.

Opens a dialog letting a user choose a palette.

Parameters:

palette_callback

The callback PDB proc to call when user chooses a palette.

popup_title

Title of the palette selection dialog.

initial_palette

The palette to set as the initial choice.

parent_window

An optional parent window handle for the popup to be set transient to.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0