8 ms·
A journey of a thousand miles begins with a single step. Indeed. So you are at the first mile of that road... On the second mile you will discover that X11 is
by c-smile 8y ago
A journey of a thousand miles begins with a single step. Indeed.
So you are at the first mile of that road...
On the second mile you will discover that X11 is just a protocol to present bitmaps on monitor surfaces + plus generator of events coming from some of input devices.
So on the third mile you will decide that you will need system of widgets and you will get a tree of HWND's, GtkWidget* - UI DOM elements tree as an ultimate abstraction.
Somewhere on the way further you will come up with the bright idea that look and feel of those UI bricks in the tree needs to be customizable. So you will try to invent style definition system/language. And CSS will be born again.
As a result, at N-th mile, you will end up with something close to Sciter/Go : https://github.com/sciter-sdk/go-sciter https://github.com/sciter-sdk/go-sciter that already works not only on X11 but on Windows and Mac too.
- deleted 8y ago[deleted]
- yjftsjthsd-h 8y agoOr you can stop halfway and be content with it being functional even if it is ugly. I'm pretty fond of Tk.
- c-smile 8y agoOr Tk, yes, if you prefer buttons a la turrets of Panzerkampfwagen VI Tiger and musik of Sabaton.
- oblio 8y agoI’m going to borrow this comparison when someone recommends Tk :))) Solid tech, but c’est la vie, software still folows fashion, as you so amusingly showed :)
- kevin_thibedeau 8y agoTtk enables modern widget rendering in Tk for those who can't appreciate the benefits of drawing without pixmaps everywhere. Been available for 10+ years.
- pjmlp 8y ago10+ years ago Tk was already outdated in what concerns UI design. Motif widgets on System 7 and Windows NT/2000? No thanks.
- lloeki 8y agoYou missed the part about TTK, which makes TK use modern widgets, hence is nowhere near like "classic" TK and very much native in terms of rendering. See https://tkdocs.com/tutorial/widgets.html#button https://tkdocs.com/tutorial/widgets.html#button
- pjmlp 8y agoAny GUI developer knows that UI/UX is much more than just rendering the same. Back when Tk still mattered even the attempt to emulate Win32 L&F was just partially done. I very much doubt that it has improved.
- jacobush 8y agoWho wouldn't!?
- adito 8y agoIIRC, sciter isn't a free (libre) software, right? That might be a problem for some applications.
- c-smile 8y agoIt takes quite a lot of money to convert the project to OpenSource. Social responsibility and maintenance, all that. I am accepting offers, if that is interesting.
- pq0ak2nnd 8y agoSo... many... frameworks ... What's the C version of Sciter?
- masklinn 8y agohttps://sciter.com/download/ https://sciter.com/download/ > include – C and C++ include files that define the public Sciter engine API: window level functions, DOM access methods and utilities.
- codetrotter 8y agoSciter seems cool. Too bad it’s proprietary software.
- pjmlp 8y agoToo bad my supermarket lady doesn't accept my push requests.
- coldtea 8y agoPeople want free software exactly because their supermarket lady doesn't accept their push requests. They need to save money from somewhere, and until now, supermarkets never gave away stuff for free, where programmers do.
- pjmlp 8y agoYeah it is such a big offence to expect to be paid for our work.
- coldtea 8y agoWho is this response addressed to? Where did I say something to that effect?
- pjmlp 8y agoTo everyone that feels proprietary software is work of evil and we should just give our work for free. Want open source stuff? Fine, but then pay the developers that created the software for their efforts. Note I say the ones that created the software, not the ones that came after forked the repository and get to get money instead of the real authors. That is why FOSS tools for RAD desktop development are so behind enterprise tooling.
- geezerjay 8y ago> So you will try to invent style definition system/language. And CSS will be born again. If he arrives at QML then he will be doing something awesome. https://en.m.wikipedia.org/wiki/QML https://en.m.wikipedia.org/wiki/QML
- marcus_holmes 8y agoYes! I never understood why QML didn't take off more...
- TomMarius 8y agoLicensing issues? The situation around Qt licensing is still not clear, AFAIK.
- pjmlp 8y agoIt is pretty clear, want to give your work for free to others as you enjoy using Qt for free? Then give it away for free. Want to earn money with the work from Qt devs? Give them something back to pay their bills.
- jcelerier 8y ago> Want to earn money with the work from Qt devs? Give them something back to pay their bills. that's absolutely not mandatory with Qt's license (though a nice thing to do). Besides, a non-negligible part of contributions to Qt aren't made by The Qt Company but by others such as KDAB, etc... which won't see a cent.
- pjmlp 8y agoKDAB already earns their money selling Qt expertise and advocacy, which they contribute back to Qt community. My point was about those that want to use Qt as free beer, don't contribute anything back and even feel entitled to complain on Qt Creator and Qt bug reports.
- 8y ago
- henry_flower 8y agoa hint: it's very customary to inject a proper disclaimer into such kind of posts
- equalunique 8y agoLooking at the example screenshots of Sciter applications, it is now apparent to me why the GUIs of Anti-Virus applications all look so similar.