2

I know that it isn't first topic when somebody considering different GUI libraries. But I have a few specific questions and needs that "the others" didn't have.

(As usual) I'm novice programmer, learning C++ now (finishing thinking in c++) and my university wants me to learn some GUI for programming projects (I'm electronics student) - I'm writing this because personally I would like to know C++ a little bit better before learning some additional libraries. But reality is brutal in this case :).

I'm looking for simple (easy to write in) library that will work under windows, linux and embedded systems (embedded linux or any other lightweight ARM system, not necessary android) without much (best case - ANY) modifications. I would like this library to be lightweight (thats why I eliminated QT), easy to use with other libraries (for audio/video players or some network applications) and languages (I'd like to write also in C, which will be my primary language I believe, maybe some python, D or java). The documentation/tutorials should be also easy and simply written - my English skills are very basic, as you can see reading my post.

After googling for hours my vote is for GTK/GTKmm which allow me to use LXDE, XFCE and GNOME (light/medium/heavy) without installing additional libraries, write code in C, C++, D, Python, Java and almost every programming language that exists. On the other hand many peoples wrote that FLTK is very simple, most portable and probably the fastest one. WxWidgets has many positive opinions so... I just don't know, please help me.

Thanks for your replies,

Pawel

4

1 回答 1

1

I heard that FLTK is lightweight but have never used so no much comments. I have used however GTK+ and wxWidgets. I would say go for wxWidgets as it is a wrapper around GTK+ in Linux. Apart from that here are added advantages

  • wxWidgets uses native widgets wherever possible
  • You can use wxBase library which makes it lightweight (at expense of some feature see this)
  • Great support than GTK+ IMHO (forum, IRC, mailing list, SO, et al)

Also you can read these entries

  1. http://docs.wxwidgets.org/trunk/page_libs.html
  2. http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits
  3. https://stackoverflow.com/questions/5141116/choosing-between-qt-gtk-and-wxwidgets
  4. https://stackoverflow.com/questions/1257894/wxwindows-vs-gtk-for-cross-platform-gui-programming
  5. http://www.gidforums.com/showpost.php?p=37761&postcount=8

I would personally suggest you go with wxWidgets!

于 2013-02-06T10:44:10.820 回答