r/cpp • • Jul 07 '22

WxWidgets 3.2.0 Released

https://wxwidgets.org/news/2022/07/wxwidgets-3.2.0-final-release/
127 Upvotes

14 comments sorted by

View all comments

11

u/[deleted] Jul 07 '22

[removed] — view removed comment

3

u/domiran game engine dev Jul 08 '22

Having a GUI editor for wxWidgets would make me switch from Qt.

8

u/degaart Jul 08 '22

wxFormBuilder/wxCrafter

2

u/[deleted] Jul 08 '22

How's wxWidgets when we talk about a complex UI?

Imagine a collection that can be scrolled, each item in the collection is a control with its own layout, text, images, icons, buttons etc.

Each control of the collection will be the same, only the data will change.

That's my use case, how's wxWidgets for that?

2

u/eco_was_taken Jul 09 '22

Generally speaking, you can expect wxWidgets to work basically as well as the native platform GUI because a wrapper of that is all it is for the most part. I would have no trouble doing what you've described in wxWidgets. There are windows to help with variable height rows/columns. If your looking at millions of items you'd likely need to use a "virtual" control of some sort that only does layout/display on demand for visible items.

1

u/SpareSimian Jul 08 '22

I built something like that. I used wxFormBuilder to lay out a prototype wxPanel with all my controls and generated C++ source from that. I can then invoke the constructor for a derived class (to tie each to its own data source) and add that object to a wxScrolledWindow.

0

u/pjmlp Jul 08 '22

You mean like C++ Builder, the epitome of C++ RAD tooling?

Ironically using non standard C++ in GCC or clang seems to be fair game, only others are bad.