Method

IdeUniqueListModelget_pending

Declaration

guint
ide_unique_list_model_get_pending (
  IdeUniqueListModel* self
)

Description

Returns the number of items that have not yet been filtered.

You can use this value to check if self is busy filtering by comparing the return value to 0 or you can compute the percentage of the filter remaining by dividing the return value by the total number of items in the underlying model:

Return value

Type: guint

The number of items noet yet filtered.