Comments (5)
As general direction - yes, it should support some data-binding, but I think it should be separate library.
No concrete plans for now.
from kotlin-libui.
Hello,
we (@andreas-mausch and me) would like to work on it. We already have a prototype version of this running (included in the DSL, not a separate library), but we are not sure how to test it. We found some files in the test directory, but can not make any sense of them. How can we write unit-tests for the stuff we came up with?
Our prototype is implementing the same as you can see in this vueJS example here: https://vuejs.org/v2/guide/#Handling-User-Input (app-6) -- the one with the input and the text.
from kotlin-libui.
About tests - test
directory was here from very early days of development, and still not used.
Maybe it should be removed or cleaned - I still don't figure out how to test this correctly.
Anyway it too should wait for migration to 'multiplatform' plugin.
from kotlin-libui.
@msink Can you take a look at the changes in this branch and tell us if you like it? https://github.com/mervyn-mccreight/kotlin-libui/tree/data-binding
Just check the new examples data-binding-1 and 2 to get an impression.
It's not complete yet, and we want to rename "ModelEntry" to "Property" to be more similar to TornadoFX.
But if you in general like what we did, I would continue on implementing ObservableLists for ComboBoxes and ListViews.
from kotlin-libui.
I'm not competent in this area, but to me it looks overcomplicated.
Can it be just some data class
, something like is done for tables?
checkbox(Data::checkbox)
Maybe more clean way could be using coroutines.
from kotlin-libui.
Related Issues (20)
- Documentation
- Can we have a OpenFolderDialog()? HOT 12
- Common UI for native and JVM ? HOT 1
- 32-bit windows target HOT 5
- "ld.lld: error: unable to find library" on CentOS7 HOT 6
- Any ways to manually close the window?
- Add support for copy/paste shortcut on TextField and TextArea (on macOS) HOT 1
- libtinfo.so.5: cannot open shared object file: No such file or directory HOT 3
- Add fieldset and field options
- File/Dir Choose&Open Support HOT 2
- Missing support for `linux_arm32_hfp` HOT 3
- How to display link?
- User guide/Documentation HOT 1
- Can't use MsgBox in worker
- Integrate with Jetbrains Compose HOT 8
- [Documentation] could this example https://github.com/msink/kotlin-libui/tree/master/samples/drawtext be explained a bit better?
- How to show images from res folder and also via URL ?
- Depends on old version of libcrypt HOT 2
- libui-ng? HOT 3
- Release on maven central? HOT 8
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 kotlin-libui.