Type Alias GParamSpecFloat

Source
pub type GParamSpecFloat = _GParamSpecFloat;
Expand description

GParamSpecFloat: @parent_instance: private #GParamSpec portion @minimum: minimum value for the property specified @maximum: maximum value for the property specified @default_value: default value for the property specified @epsilon: values closer than @epsilon will be considered identical by g_param_values_cmp(); the default value is 1e-30.

A #GParamSpec derived structure that contains the meta data for float properties.

Aliased Type§

struct GParamSpecFloat {
    pub parent_instance: _GParamSpec,
    pub minimum: f32,
    pub maximum: f32,
    pub default_value: f32,
    pub epsilon: f32,
}

Fields§

§parent_instance: _GParamSpec§minimum: f32§maximum: f32§default_value: f32§epsilon: f32