[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: C vs C++ for GTK
- From: Benoît Dejean <benoit placenet org>
- To: Tomas Carnecky <tom dbservice com>
- Cc: gtk-app-devel-list gnome org, Allin Cottrell <cottrell wfu edu>
- Subject: Re: C vs C++ for GTK
- Date: Mon, 26 Nov 2007 17:32:43 +0100
Le dimanche 25 novembre 2007 à 10:47 +0100, Tomas Carnecky a écrit :
> Allin Cottrell wrote:
> > One reason for going with C is that the great bulk of free
> > software is in C, including GLib and GTK. The main exception
> > is Qt, the basis for KDE. So if you might want to get into KDE
> > programming, maybe learning C++ would be better.
>
> You can use gtk in C++, there's gtkmm which is a thin wrapper on top of
> gtk! Many good gtk apps are written in gtk. So actually when using gtk
> you are less restricted in your programing language choice than with Qt.
I wouldn't call GTKmm thin. It's smart and changes the way you can use
GTK+. The best example is treeview: in C or python, they are not
typesafe, i.e. you can get runtime errors because you inserted the
wrong datatype in the wrong column. Gtkmm provides typesafe treeview at
compile type. This is amazing.
--
Benoît Dejean
GNOME http://www.gnomefr.org/
LibGTop http://directory.fsf.org/libgtop.html
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]