Slice
List
Model_
Construct
Props
model
offset
size
GJS API Reference
Gtk-4.0
Gtk
SliceListModel_ConstructProps
Interface SliceListModel_ConstructProps
Hierarchy
Gio
.
ListModel_ConstructProps
GObject
.
Object_ConstructProps
SliceListModel_ConstructProps
Index
Properties
model
offset
size
Properties
Optional
model
model
?:
Gio
.
ListModel
Child model to take slice from.
Optional
offset
offset
?:
number
Offset of slice.
Optional
size
size
?:
number
Maximum size of slice.
Slice
List
Model_
Construct
Props
model
offset
size
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1pbnRlcmZhY2UiLCJocmVmIjoiR3RrXzRfMC5HdGsuU2xpY2VMaXN0TW9kZWxfQ29uc3RydWN0UHJvcHMuaHRtbCNtb2RlbCIsIm5hbWUiOiJtb2RlbCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWludGVyZmFjZSIsImhyZWYiOiJHdGtfNF8wLkd0ay5TbGljZUxpc3RNb2RlbF9Db25zdHJ1Y3RQcm9wcy5odG1sI29mZnNldCIsIm5hbWUiOiJvZmZzZXQiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1pbnRlcmZhY2UiLCJocmVmIjoiR3RrXzRfMC5HdGsuU2xpY2VMaXN0TW9kZWxfQ29uc3RydWN0UHJvcHMuaHRtbCNzaXplIiwibmFtZSI6InNpemUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9XSwiY2xhc3NOYW1lcyI6ImN1cnJlbnQgdHNkLWtpbmQtaW50ZXJmYWNlIHRzZC1wYXJlbnQta2luZC1uYW1lc3BhY2UiLCJocmVmIjoiR3RrXzRfMC5HdGsuU2xpY2VMaXN0TW9kZWxfQ29uc3RydWN0UHJvcHMuaHRtbCIsIm5hbWUiOiJTbGljZUxpc3RNb2RlbF9Db25zdHJ1Y3RQcm9wcyJ9
Child model to take slice from.