Skip to content

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

@bryce-happel-walton

Description

@bryce-happel-walton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:language-slintCompiler for the .slint language (mO,bF)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions