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 selfs children IdeObject. Those objects must already be sorted.

Parameters

child

Type: IdeObject

An IdeObject.

The data is owned by the caller of the method.
func

Type: GCompareDataFunc

A GCompareDataFunc that can be used to locate the proper sibling.

user_data

Type: gpointer

User data for func.

The argument can be NULL.
The data is owned by the caller of the method.