Re: [gtk-list] Re: Gtk-- versus GTK+




Because connections between C++ objects through the gtk+
signal system are unsafe.  To do this without using gtk--
you usually end up writing hundreds of little static functions
to connect you C++ objects to gtk.

If you are just using C++ as an enhanced C (just overloading and
C++ comments,  but are not using class features, STL, and templates)
then you can use gtk+ without gtk-- fairly easily.  Beyond that
you start rewritting the functionality of gtk--.

Additionally, some people complain that they don't like to have to 
use the gtk+ system to derive a widget.  Gtk-- hides that from the
user by allowing more nature C++ OO system.  Also it provides some 
translation features for C++ types like strings to gchar* and such.
There are many reasons for it to be a seperate package beyond that 
of the gtk+.  

--Karl
  Gtk-- Contributor  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]