SliceListModel.this

Creates a new slice model.

It presents the slice from offset to offset + size of the given model.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gio.list_model.ListModel model, uint offset, uint size)
    class SliceListModel

Parameters

model gio.list_model.ListModel

The model to use

offset uint

the offset of the slice

size uint

maximum size of the slice

Return Value