@new


Description:

[ Version ( since = "3.30" ) ]
public static ListModel @new (ListModel base_model)

Creates a new ReadOnlyListModel which is a read-only wrapper around base_model.

This is useful when you want to give API consumers access to a ListModel but without the ability to mutate the underlying list.

Parameters:

base_model

a ListModel

Returns:

a ReadOnlyListModel