Re: Why GTK+ use C as API style?

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

 



On Fri, 2008-03-28 at 09:27 +0800, 李西西 wrote:> Hi, all:>     When I saw the introduce of GTK+, it seemed that GTK+ have many> new thought in it, like OO, component, etc. But, why GTK+ still use C> style API, not an OO framework like WXwidgets?
Could it be that GTK is a C language API and WxWidgets is a C++ languageAPI? If you're asking why that is, its because people generally considerit easier to bind other languages to C than to C++. for the wider GTKcommunity, the availability of Python, Perl, PHP, C++ and many otherbindings has become very significant.
If you prefer to use a C++ idiom/API, just use gtkmm: www.gtkmm.org.I've been using GTK+ for 8 years and i've never use the C API unless iwas forced to.
--p

_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux