Type Definition panda_sys::ObjectPropertyResolve[][src]

type ObjectPropertyResolve = Option<unsafe extern "C" fn(obj: *mut Object, opaque: *mut c_void, part: *const c_char) -> *mut Object>;
Expand description

ObjectPropertyResolve: @obj: the object that owns the property @opaque: the opaque registered with the property @part: the name of the property

Resolves the #Object corresponding to property @part.

The returned object can also be used as a starting point to resolve a relative path starting with “@part”.

Returns: If @path is the path that led to @obj, the function returns the #Object corresponding to “@path/@part”. If “@path/@part” is not a valid object path, it returns #NULL.