GimpUi.PaletteSelectButton.new

function new(title: String, resource: Gimp.Resource): Gtk.Widget {
    // Gjs wrapper for gimp_palette_select_button_new()
}
  

Creates a new Gtk.Widget that lets a user choose a palette. You can put this widget in a table in a plug-in dialog.

When palette is NULL, initial choice is from context.

Since 2.4

title

Title of the dialog to use or null to use the default title.

resource

Initial palette.

Returns

A Gtk.Widget that you can use in your UI.