Gimp.Palette.prototype.get_columns

function get_columns(): Number(gint) {
    // Gjs wrapper for gimp_palette_get_columns()
}
  

Gets the number of columns used to display the palette

Gets the preferred number of columns to display the palette.

Since 2.4

Returns

The number of columns used to display this palette.