slint-ui/slint

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

Chiusa

#9412 aperta il 14 set 2025

 (3 commenti) (3 reazioni) (0 assegnatari)Rust (881 fork)batch import
a:language-slintgood first issue

Metriche repository

Star
 (22.596 stelle)
Metriche merge PR
 (Merge medio 4g 18h) (254 PR mergiate in 30 g)

Descrizione

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.

Guida contributor