Troll_King Guest
|
Posted: Thu Jun 26, 2003 10:29 pm Post subject: Re: Java Swing style C++ library |
|
|
[email]marcinmueller (AT) yahoo (DOT) com[/email] (Marcin Mueller) wrote in message news:<788e4c13.0306230709.32053a88 (AT) posting (DOT) google.com>...
| Quote: | Hi,
I've recently looked around for portable C++ GUI libraries, but it
seems
there aren't any very nice libraries around. Well, there are a few
like
gtk, qt, wxWindows but it seems that they all have their strengths and
weakness. So wouldn't it be nice to have one standard library/inteface
for writing graphical/windows applications in C++ as it is quite
tedious to learn new libraries all the time.
|
You can use Standard C++ containers with Gtkmm. It's a wrapper of
Gtk+. The documentation and support is not strong. There is a mailing
list, and there is a tutorial, and development is active, but there is
a stronger support structure based on Qt, although Qt doesn't support
modern C++. Yet Qt is not a wapper, it is built directly ontop of xlib
primitives as far as I know. There is nothing at all wrong with using
a wrapper, for example Gtk+ is an object oriented C Widget Toolkit,
the widgets are based on an object oriented heirarchy that takes
advantage of inheritance. The problem though is support. I think that
most people who use Standard C++ are Microsoft users, so they are all
stranded on MFC.
As far as I can tell X is a great base to construct a pure Standard
C++ Widget Toolkit built on the minimal xlib interface. They did this
in C with Gtk+ so there is no reason why it can't be done in Standard
C++. The documentation of X doesn't appear to be that great, however
with enough digging around, I'm sure that all the answers are there.
Mr. Stroustrup told me that support was one of the most important
factors, and he liked Qt, but what really burns me about Qt is that it
doesn't support modern C++. I can't force myself to use it.
| Quote: | Furthermore, I was very
surprised that there
isn't a single finished C++ port of the Java Swing library. There are
jtk, jLib and jlWindows but they are all unfinished!
I wonder what the reason for this might be? Is there actually no need
for
a standard C++ GUI library? Is Sun preventing any ports of Swing
through copyrights?
Regards,
Marcin
|
Java is 100% controlled by Sun Microsystems. I know about the
community process, however with all vendor libraries, the vendor
retains all rights and control. I don't know why anyone would want to
invest their time in a port, when we could build an open source Widget
Toolkit and sove the problem once and for all. I would like the
control structure to be organic, that way one person doesn't hold all
of the power.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|