Live data from Hacker News

WxWidgets 3.2

wxwidgets.org

81–84 of 84 posts

Re: WxWidgets 3.2

#81

wxWidgets has a sublime idea: an api that is just a wrapper over native controls. For cross platform frameworks it is fast and light. The very opposite of bloatware. But it also has a terrible flaw: its heavy-templated C++ api, hard to port to other languages. I don't want to get stuck on C++. I want to use Go and Rust. And all the wxWidgets ports to those languages suck, big time. Show me a solid wxWidgets for Rust…

I think the Haskell bindings for wxWidgets is pretty good

https://hackage.haskell.org/package/wx

Re: WxWidgets 3.2

#82

WxWidgets is like React Native but for desktops. It uses the platforms' native UI frameworks. Gtk on Linux. Audacity the audio editor uses WxWidgets.

Actually, not just GTK on Linux. You can use Qt or even plan Xlib frontends as well.

Re: WxWidgets 3.2

#83
post #61

Earlier quoted context omitted.

>> Would it be good enough on platforms like iOS to dynamically link, include the DLLs in the bundle, and tell people they are on their own if they want to switch them out? You also have to offer them source code, or just ship it along with.

Doesn't the LGPL exempt linking from the "viral" nature of the GPL?

I meant source code of the library part. Correct, your app can stay closed. You still have to comply with the redistribution requirements of the LGPL code.

Re: WxWidgets 3.2

#84

Earlier quoted context omitted.

The HWND-based ones that come with Windows would be the native controls as this is how the underlying window system works. The WPF/UWP/etc UI stacks are built on top of HWND stuff pretty much the same way as Java Swing or JavaFX were made that largely (especially the latter) ignore the underlying window system. Of course since they come with the OS you might as well use those instead of bundling a separate UI toolkit…

UWP is most definitely not HWND per control, and doing so would be incredibly limiting. I don't know the UWP (WinUI) internals, but on mac it's generally a CALayer per widget, and Core Animation is doing the compositing. On Windows, the Windows 8 equivalent is DirectComposition, but I think the WinRT Windows.UI.Composition interface has some capabilities not exposed through winapi.

It isn't HWND per control indeed, it does its own composition, hence why i mentioned Swing and JavaFX with an "especially the latter" in parentheses (but Swing also does bypass the underlying window system aside from the toplevel stuff for per-control functionality whenever that'd make sense).
Post reply on HN