gimppalettemenu

## gimppalettemenu gimppalettemenu — A widget for selecting palettes. |

## Synopsis

    GtkWidget *         gimp_palette_select_widget_new      (const gchar *title,
                                                             const gchar *palette_name,
                                                             GimpRunPaletteCallback callback,
                                                             gpointer data);
    void                gimp_palette_select_widget_close    (GtkWidget *widget);
    void                gimp_palette_select_widget_set      (GtkWidget *widget,
                                                             const gchar *palette_name);

## Description

A widget for selecting palettes.

## Details

### gimp_palette_select_widget_new ()

    GtkWidget *         gimp_palette_select_widget_new      (const gchar *title,
                                                             const gchar *palette_name,
                                                             GimpRunPaletteCallback callback,
                                                             gpointer data);

### Warning

`gimp_palette_select_widget_new` is deprecated and should not be used in newly-written code.

Creates a new GtkWidget that completely controls the selection of a palette. This widget is suitable for placement in a table in a plug-in dialog.

`title` : | Title of the dialog to use or `NULL` to use the default title.
`palette_name` : | Initial palette name.
`callback` : | A function to call when the selected palette changes.
`data` : | A pointer to arbitary data to be used in the call to `callback`.
Returns : | A GtkWidget that you can use in your UI.

Since GIMP 2.2

### gimp_palette_select_widget_close ()

    void                gimp_palette_select_widget_close    (GtkWidget *widget);

### Warning

`gimp_palette_select_widget_close` is deprecated and should not be used in newly-written code.

Closes the popup window associated with `widget`.

`widget` : | A palette select widget.

Since GIMP 2.2

### gimp_palette_select_widget_set ()

    void                gimp_palette_select_widget_set      (GtkWidget *widget,
                                                             const gchar *palette_name);

### Warning

`gimp_palette_select_widget_set` is deprecated and should not be used in newly-written code.

`widget` : |
`palette_name` : |