Re: A GUI Library
Christof Donat <cd <at> okunah.de>
2012-06-27 16:20:12 GMT
Hi,
> Nana library is written though standard C++, this is a big difference
> between other libraries, as the brief mentioned, C++ idioms should works
> with a C++ library, and this is why the other popular GUI C++ libraries are
> not really C++ style at all.
Yes, that is the biggest weakness of Qt. Yet a GUI Libary needs many things
that are not the interface and basic handling of the objects. Since Qt is
widely used and very popular, especially for platform independent
applications, I would recommend to look there for any solutions before trying
to reinvent every wheel around.
Even when looking at the interfaces, wherever there is no conflict with
Standard C++, I think it is a good idea to make it as similar as possible to
the stuff people already know and like, and that is mostly Qt.
I can't tell if i would enjoy using nana, because I would have to have written
an application with it before I know. I mostly do enjoy working with Qt and
KDE, but I'd prefer to have them more standard C++ like. Sometimes that simply
sucks.
> Secondly, this library can be work with a
> thread pool, it reduces the difficulty for threadization.
That is a very good Idea. Also I like that you use RAII to manage widget
lifetime.
> > 2. if you want to submit your library to Boost, I think it would need
> >to>
(Continue reading)