Palette


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.2" ) ]
public Palette (string name)

Creates a new palette

Creates a new palette. The new palette has no color entries. You must add color entries for a user to choose. The actual name might be different than the requested name, when the requested name is already in use.

Parameters:

name

The requested name of the new palette.

Returns:

The palette.