Gimp.palette_set_columns
@accepts(unicode, int)
@returns(bool)
def palette_set_columns(name, columns):
# Python 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