Type Alias GObjectGetPropertyFunc

Source
pub type GObjectGetPropertyFunc = Option<unsafe extern "C" fn(object: *mut GObject, property_id: guint, value: *mut GValue, pspec: *mut GParamSpec)>;
Expand description

GObjectGetPropertyFunc: @object: a #GObject @property_id: the numeric id under which the property was registered with g_object_class_install_property(). @value: a #GValue to return the property value in @pspec: the #GParamSpec describing the property

The type of the @get_property function of #GObjectClass.

Aliased Type§

enum GObjectGetPropertyFunc {
    None,
    Some(unsafe extern "C" fn(*mut _GObject, u32, *mut _GValue, *mut _GParamSpec)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _GObject, u32, *mut _GValue, *mut _GParamSpec))

Some value of type T.