Function gegl::param_spec_int

source ·
pub fn param_spec_int(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: i32,
    maximum: i32,
    default_value: i32,
    ui_minimum: i32,
    ui_maximum: i32,
    ui_gamma: f64,
    flags: ParamFlags
) -> Option<ParamSpec>
Expand description

Creates a new GeglParamSpecInt instance.

name

canonical name of the property specified

nick

nick name for the property specified

blurb

description of the property specified

minimum

minimum value for the property specified

maximum

maximum value for the property specified

default_value

default value for the property specified

ui_minimum

minimum value a user should be allowed to input

ui_maximum

maximum value a user should be allowed to input

ui_gamma

the gamma that should be used when adjusting the value

flags

flags for the property specified

Returns

a newly created parameter specification