slint-ui/slint

Allow modifying operation on Model (e.g. push, insert, remove)

Open

#9412 opened on Sep 14, 2025

View on GitHub
 (3 comments) (3 reactions) (0 assignees)Rust (22,596 stars) (881 forks)batch import
a:language-slintgood first issue

Description

It would be useful to support methods like push, insert, and remove on models directly in .slint code, as well as for slint::Model

(Maybe using += to push.)

Original Description

Slint Vector type or modifyable Model within Slint**

Model has no way of appending or popping from within Slint. It would be good to have a Vector type that can do this.

Contributor guide