On Sun, 25 Nov 2007 00:03:14 +0100
Tomas Carnecky <[EMAIL PROTECTED]> wrote:

> > Am I limited with C?
> No, there are very few features in C++ that are hard/impossible to
> imitate in C, but you usually won't need those for small projects.

In fact the GObject library (on which GTK is based) is an example of how full 
object-orientation can be achieved in C. Of course other C++ features like 
templates, operator overloading (ugh!) and namespaces are unique.

If you want to use C++ with GTK you can do so through gtkmm which, if I'm not 
mistaken, is essentially a wrapper around the assorted C libraries. So you end 
up with two redundant layers of object-orientation on top of each other which 
doesn't hurt a bit but which I find conceptually so abhorrent that, if I'd want 
to write C++ GUI apps, I'd use Qt.

I prefer C and GTK+ though.

--D.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to