Hacker News new | ask | show | jobs
by jcfields 2214 days ago
I did a couple of small projects in Python using wxWidgets recently, and I was surprised at how easy it was (as well as how consistent the results were between Windows and Mac OS).
2 comments

I'm overall surprised at how unpopular/unknown wxWidgets is when the discussion turns to cross platform UI toolkits.

I've used it a lot, as well as other popular toolkits (Qt, GTK, etc.) and I find that wx is, at the very least, the least bad option and overall programming in it hasn't been a pain, regardless of which binding I used.

I guess my only complaint would be that it's a bit harder to do something way outside the norm when compared to Qt, but at that point it might be better to use native SDKs or straight up OpenGL or something for your GUI.

I am surprised too. It is easy to talk to the devs about issues and also the documentation is good.

There are some rough spots here and there but all in all I am really baffled why you don't see more use of it. I use it in C++ for all my GUIs.

The wxPython demo (which spawns many apps that show use of many widgets, including complex ones), is very good too. And is a non-trivial wxPython app itself. Separately downloadable from wxPython itself, last I used it. All apps come with source (of course), good for learning from and adapting to your own app needs.
I've been using it for years, and what attracts me is the native UI widgets instead of the self-drawn widgets in Qt and GTK.

This also makes customizing the widgets much harder (if possible at all). There are also some self-drawn widget libraries available for wxWidgets.

Nitpick, but wxWidgets is for C++. wxPython is the wrapper for Python.