Type Alias GSettingsBindGetMapping

Source
pub type GSettingsBindGetMapping = Option<unsafe extern "C" fn(value: *mut GValue, variant: *mut GVariant, user_data: gpointer) -> gboolean>;
Expand description

GSettingsBindGetMapping: @value: return location for the property value @variant: the #GVariant @user_data: user data that was specified when the binding was created

The type for the function that is used to convert from #GSettings to an object property. The @value is already initialized to hold values of the appropriate type.

Returns: %TRUE if the conversion succeeded, %FALSE in case of an error

Aliased Type§

pub enum GSettingsBindGetMapping {
    None,
    Some(unsafe extern "C" fn(*mut _GValue, *mut _GVariant, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _GValue, *mut _GVariant, *mut c_void) -> i32)

Some value of type T.