ReadOnlyListModel.this

Creates a new #DzlReadOnlyListModel which is a read-only wrapper around @base_model. This is useful when you want to give API consumers access to a #GListModel but without the ability to mutate the underlying list.

  1. this(DzlReadOnlyListModel* dzlReadOnlyListModel, bool ownedRef = false)
  2. this(ListModelIF baseModel)
    class ReadOnlyListModel
    this
    (
    ListModelIF baseModel
    )

Parameters

baseModel
Type: ListModelIF

a #GListModel

Return Value

a #DzlReadOnlyListModel

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

3.30