Method
IdeObjectinsert_sorted
Declaration
void
ide_object_insert_sorted (
IdeObject* self,
IdeObject* child,
GCompareDataFunc func,
gpointer user_data
)
Description
Locates the proper sibling for child by using func amongst self‘s
children IdeObject. Those objects must already be sorted.
Parameters
child-
Type:
IdeObjectAn
IdeObject.The data is owned by the caller of the method. func-
Type:
GCompareDataFuncA
GCompareDataFuncthat can be used to locate the proper sibling. user_data-
Type:
gpointerUser data for
func.The argument can be NULL.The data is owned by the caller of the method.