Comments (5)
I've put both your bindings on the wiki for the moment -- if you combine efforts, feel free to update the wiki to reflect that!
from libui.
@pcwalton what do you mean exactly by HTML port?
As you can see here me and @mavenave agree to join our efforts on writing node binding.
Next step that we was both planning is to write a react-native sort of framework on top of it...
In that context, we will probably use a subset of CSS to style the UI, using the libui box system as you suggested.
If instead by HTML you mean using libui native widget with javascript in a browser, I don't think this could be technically possible...
By the way, there is also react-native-desktop developed by @ptmt, but it work only for OSX...
from libui.
Hi @mavenave, I also started to work on node bindings of libui https://github.com/parro-it/libui-node
It could be beautiful to join our efforts!
I too had done very little so far...
from libui.
Would be great to see a HTML/CSS port too: the box system of libui
maps directly to flexbox.
from libui.
I assume you have this progressed now. I'm going to close the issue here; good luck with your bindings!
It's possible to write a server that runs libui code locally and produces results on the browser. In fact, that has already happened indirectly: GTK+ 3 has a backend called "broadway" which renders into a browser. You launch the broadwayd
program to start the server and then run your program with the environment variable $GDK_BACKEND
set appropriately to point to the server; instructions are in the GTK+ documentation. Only one person can use it at a time and it isn't suitable for web apps, but it's there and it proves this is possible.
from libui.
Related Issues (20)
- Timer example doesn't compile HOT 1
- Crashes in example 'test'
- .
- .
- Language agnostic documentation for libui? Tutorial?
- [Feature request] .move() the main window/widget in a cross-platform manner
- Setting Custom Fonts on Controls
- Another C++ binding HOT 4
- Where is the Tutorial? HOT 2
- Key Location
- How to constrain area redrawing to clip region? HOT 1
- Geometric Algorithms HOT 4
- Questions about the table
- Aggregate "TODO" list - or hopeful TODO listing as-is HOT 8
- What's the object ownership model? HOT 5
- Is someone updating this repo but in another github repo/profile? HOT 20
- Glimmer DSL for LibUI Wins Fukuoka Ruby 2022 Special Award HOT 2
- <NOTE> Active fork `libui-ng` HOT 4
- MSYS will drop Windows 7; find an alternative to it for MinGW-w64 HOT 2
- macos m2 build fail HOT 4
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 libui.