Help on choosing GUI toolkit

Jan 5, 2012 at 4:32am
Okay,, now here is the thing. I have done C++ console programming for a long time and now want to move on to GUI programming. So I'm confused over which toolkit to choose. I use CodeBlocks (and perhaps will keep on using it for a long time). The choices are FLTK, wxWidget, Qt, GTK+ and etc. Now I know that this is a very argued matter and do not want to wage a war over here. Just state your personal choice and describe why you prefer it. I want my toolkit to be cross platform, light and easy to use, the most important of all being drag and drop facility. Thanks in advanced
Jan 5, 2012 at 5:05am
By drag and drop, you mean support for dragging files onto the application and dragging things back out?
Jan 5, 2012 at 8:24am
I think he meant something like Visual Basic, Borland Delphi etc provided back in the old days. You drag a control from the Control toolbox and drop them onto a "form".

The closest I know for C++ are the outdated Borland C++ and Visual C++.
Jan 5, 2012 at 9:43am
from my knowledge, Visual C++ is one possibility.
Jan 5, 2012 at 12:03pm
Well yeah, by drag and drop, I mean just the same thing (like Visual Basic). So any suggestions guys!?
@lipatrick. I want the toolkit to be cross platform.
Jan 5, 2012 at 12:51pm
If the toolkit is good you should not have any problem making your own drag and drop interface to generate the code for you. ;)
Jan 5, 2012 at 1:53pm
Well Qt does not support drag and drop (I think not at least) but as for what I like about it is it's thorough documentation, it uses c++ (that I personally prefer over c for many reasons) and it's surely cross-platform.
Jan 5, 2012 at 2:46pm
@L.B. and you want me to develop a complete drag and drop interface?? And I thought only my teacher was harsh.. ;)
Jan 5, 2012 at 8:23pm
Does Qt Creator count as a drag & drop interface? Well, its UI designer element? (It would mean switching IDEs, at least part of the time)

And FLTK's got Fluid, which is basic but does do drag & drop.

And wxWidgets has something called wxGlade, but all I know about that is thanks to Google.

But I have no idea about GTK+ or etc.

Andy

PS I use FLTK for small cross-platform apps, as it's pretty easy use (if a little basic) and nice and light. See "Erco's FLTK Cheat Page" for assorted code snippets...
http://seriss.com/people/erco/fltk/
Last edited on Jan 5, 2012 at 8:27pm
Jan 6, 2012 at 12:04am
If you want to still use codeblocks, then wxwidgets is your best choice, codeblocks it has built-in support through its wxsmith plugin, which is enabled by default. There also is wxformbuilder.
Jan 6, 2012 at 2:06am
@modoran, yeah, well I too think that wxWidgets will be comfortable for me. Thanks all for their answers.
Last edited on Jan 6, 2012 at 2:06am
Topic archived. No new replies allowed.