set_columns


Description:

[ Version ( since = "2.4" ) ]
public bool set_columns (int columns)

Sets the number of columns used to display the palette

Set the number of colors shown per row when the palette is displayed. Returns an error when the palette is not editable. The maximum allowed value is 64.

Parameters:

this

The palette.

columns

The new number of columns.

Returns:

TRUE on success.