Re: GTK+ is real object oriented?



Depends on your definition of a 'fake object oriented environment'.

GTK+ uses GObject to provide its object model:
http://library.gnome.org/devel/gobject/stable/

So, in short, most would say yes it is 'really' object oriented. Because
C provides very little in the way of syntactic support for OOP,
GObject/GTK+'s native C APIs can be a little daunting. GTK+ does map
quite well to other more OOP-friendly languages such as Python, Java,
and the purposely designed Vala.

Matt.


On Sun, 2009-12-20 at 15:07 -0200, frederico schardong wrote:
> Hi,
> 
> Is GTK+ really object oriented?
> 
> Or just provide a fake object oriented environment?
> 




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