Type Alias GParamSpecVariant

Source
pub type GParamSpecVariant = _GParamSpecVariant;
Expand description

GParamSpecVariant: @parent_instance: private #GParamSpec portion @type: a #GVariantType, or %NULL @default_value: a #GVariant, or %NULL

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

When comparing values with g_param_values_cmp(), scalar values with the same type will be compared with g_variant_compare(). Other non-%NULL variants will be checked for equality with g_variant_equal(), and their sort order is otherwise undefined. %NULL is ordered before non-%NULL variants. Two %NULL values compare equal.

Since: 2.26

Aliased Type§

struct GParamSpecVariant {
    pub parent_instance: _GParamSpec,
    pub type_: *mut _GVariantType,
    pub default_value: *mut _GVariant,
    pub padding: [*mut c_void; 4],
}

Fields§

§parent_instance: _GParamSpec§type_: *mut _GVariantType§default_value: *mut _GVariant§padding: [*mut c_void; 4]