Gimp.palette_get_columns

function palette_get_columns(name: String): Number(gint) {
    // Gjs wrapper for gimp_palette_get_columns()
}
  

Retrieves the number of columns to use to display this palette

This procedures retrieves the preferred number of columns to use when the palette is being displayed.

Since 2.4

name

The palette name.

Returns

The number of columns used to display this palette.