GimpUi.PaletteSelectButton.new

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

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

Since 2.4

title

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

palette_name

Initial palette name.

Returns

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