Talk:GObject

From Wikipedia, the free encyclopedia

I removed some things that made the article C++-centric:

Unlike C++, object orientation with GObject does not allow multiple inheritance.

Important drawbacks of the GObject framework are the absence of operator overloading, exceptions and namespaces. Despite some missing features GObject is easier to learn and get started with than object orientation in C++.

If you want C++ (in the STL and Boost's heavily templated style) features, look at gtkmm, the C++ binding of GTK.

Perhaps some mention of alterative C OO libraries would be appropriate. Do such libraries exsist?


GObject is heavily runtime oriented, and as such interfaces very badly with compile-time type systems such as C++. GTKmm is a possible wrapper of GObject/Glib/GTK+, but it's not perfect.