Gimp.palette_set_columns

function palette_set_columns(name: String, columns: Number(gint)): Boolean {
    // Gjs wrapper for gimp_palette_set_columns()
}
  

Sets the number of columns to use when displaying the palette

This procedures controls how many colors are shown per row when the palette is being displayed. This value can only be changed if the palette is writable. The maximum allowed value is 64.

Since 2.4

name

The palette name.

columns

The new number of columns.

Returns

TRUE on success.