Function gegl::param_spec_enum

source ·
pub fn param_spec_enum(
    name: &str,
    nick: &str,
    blurb: &str,
    enum_type: Type,
    default_value: i32,
    flags: ParamFlags
) -> Option<ParamSpec>
Expand description

Creates a new GeglParamSpecEnum instance.

name

canonical name of the property specified

nick

nick name for the property specified

blurb

description of the property specified

enum_type

the enum type to get valid values from

default_value

default value for the property specified

flags

flags for the property specified

Returns

a newly created parameter specification