noahgibbs: Me and my teddy bear at Karaoke after a day of RubyKaigi in HIroshima in 2017 (monkey scientist)
noahgibbs ([personal profile] noahgibbs) wrote2004-03-10 05:19 pm

More geeking...

I'm looking at writing some simple cross-platform GUI stuff, probably in C. Well, probably in C++ since all the decent cross-platform GUI libraries seem to require it.

Other than FLTK (which looks pretty good) and GTK+ (which sorta works on Windows, but it's not clear how well), anybody got any recommendations for a toolkit that will do (at a minimum) Linux and most common Windows flavors?

[identity profile] msde.livejournal.com 2004-03-11 03:51 pm (UTC)(link)
I think wxwindows was what my coworker used. It was a huge pain in the butt, because he used it just so he could program in C. The rest of the project was VBA. It did seem to handle basic gui components tolerably well though.

Hmm. a couple minutes with google suggests that wxwindows is the way to go if you already have a code base written using MFC. My suspicion is that writing for windows with the intent of porting to linux might be the way you have to go.

Whoops! Now that I think about it, I think he was using wxWidgets. http://www.wxwidgets.org/ I remember him complaining that it was a huge library and he wasn't able to just use part of it.

How complicated is the gui going to be? It might be easier to just write two?

[identity profile] angelbob.livejournal.com 2004-03-11 10:55 pm (UTC)(link)
The GUI won't be too complicated, but maintaining two mostly-seperate versions would be kind of a pain... We'd be talking complexity on the order of the LiveJournal web client -- so, y'know, big but not all that complicated.

wxWidgets is apparently just a rename of wxWindows. So it's basically the same thing. Yeah, it looks like a pain for that reason among others.

I actually have barely used MFC before, but I was distinctly unimpressed. In any case, this'll all be written from scratch unless I find something similar to base it off. I'm not optimistic about finding such a thing.