3 ms·
These blessed "system components" do not exist any more. Windows has two or three different ways of doing widgets and so does MacOS while the Unix land never ha
by exDM69 4y ago
These blessed "system components" do not exist any more. Windows has two or three different ways of doing widgets and so does MacOS while the Unix land never had one.
You can still use the old ones, but they will look old and may not behave like you would expect (hidpi displays, touch screen, etc).
wxWidgets and its bindings to many languages exists if that is what you want.
Writing an uniform interface to GUI widgets on many platforms is very much a non-trivial undertaking, there are plenty of failed attempts over the years.
- zozbot234 4y agoThe look & feel of system components on Windows has actively regressed starting from Win 8 and subsequent releases. No idea about the situation on Mac OS. But AIUI, both Qt and GTK+ will give you a good enough UI in practice. Perhaps someone will even split out the SerenityOS widgets (which are truly best-in-class, meshing the advantages of "classic" and "modern" UX) as a multi-platform framework, much like has been done wrt. the browser engine.
- dataflow 4y ago> AIUI, both Qt and GTK+ will give you a good enough UI in practice Not GTK+, it sticks out like a sore thumb. Qt gets much closer, though in both cases you can tell something feels off. (e.g., click an active tab in a tab control in Qt and you won't see the dotted selection line like you would in Win32. That normally indicates you can switch between tabs on the keyboard.)
- Wuzado 4y agoSerenityOS is such an amazing project. "Oh, this thing would take a large team several years to build? Let's build it anyway!" The backstory behind the project is extremely admirable, too.
- Ygg2 4y ago> Perhaps someone will even split out the SerenityOS widgets as a multi-platform framework That would look out of place on MacOS or Windows. Serenity has a Win 2000 look.
- api 4y agoMacOS still has standard components at least. For Windows you can pick the best of several options and stick with that.
- nix0n 4y agoFor what it's worth, wxWidgets does have hidpi support (at least on Windows).
- nuc1e0n 4y agoDon't forget about Microsoft COM components. That technology was specifically created as a system to produce "reusable components" with. What happened to that?