param_spec_palette


Description:


[ Version ( since = "3.0" ) ]
public unowned ParamSpec param_spec_palette (string name, string nick, string blurb, bool none_ok, Palette? default_value, bool default_to_context, ParamFlags flags)

Creates a new GimpParamSpecPalette specifying a [type@Palette] property.

See also [func@Gimp.param_spec_resource].

Parameters:

name

Canonical name of the property specified.

nick

Nick name of the property specified.

blurb

Description of the property specified.

none_ok

Whether null is a valid value.

default_value

Default palette.

default_to_context

Whether the context is the context's palette.

flags

Flags for the property specified.

Returns:

The newly created GimpParamSpecPalette.


Namespace: Gimp
Package: gimp-3.0