Comments (1)
This is not possible with the current API. Suppose that you have a map model that converts from your own C++ data structure Foo
to a slint_interpreter::Value
: If set_row_data
is called with a slint_interpreter::Value
, MapModel
canot know how to convert it back to Foo
.
So this would require new API where the user also provides a function that maps the other way around, a bi-directional map model.
from slint.
Related Issues (20)
- Math Postfix expressions on numbers HOT 2
- Callbacks for invoke_from_event_loop() and Weak::upgrade_in_event_loop() should support return values HOT 3
- slint winit: unrecognized renderer skia, falling back to FemtoVG
- ESP32-S3 rendering issue HOT 10
- slint core error for compilation HOT 4
- import error in slint module HOT 1
- Program takes a very long time to start (Linux, Wayland, Hyprland) HOT 15
- UI hanging on Windows when multiple components are created
- Windows11x64 use vulkan failed HOT 2
- Add a new ToDo MVC example HOT 2
- Stabilize full-screen rotation in the renderer HOT 1
- Add wrap anywhere functionality to text wrapping HOT 2
- Placing @children in PopupWindow doesn't work HOT 3
- Tabs in quickstart section don't maintain between links
- LinuxKMS: Add support for mouse cursor rendering with the software renderer HOT 3
- component is deprecated. moving from zenity to slint for all graphical applications. HOT 2
- HorizontalLayout restricting window size HOT 7
- Proposal: Styling capabilities for the std-widgets HOT 10
- !! A panic occured in 'i-slint-core-1.6.0\software_renderer.rs', at line 2460, column 9: not yet implemented HOT 2
- [FEATURE REQUEST] ability to add structs as fields of structs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slint.