PyCListCtrl.SetItemCount

SetItemCount(count)

Prepares a list view control for adding a large number of items.

Parameters

count : int

Number of items that the control will ultimately contain.

Comments

By calling this function before adding a large number of items, you enable a list view control to reallocate its internal data structures only once rather than every time you add an item.