Re: Fwd: GTK+ is real object oriented?



frederico schardong wrote:
> Yes, GTK+ has been construct around OO concepts, buts it have all
> those concepts that a say before (class, objects,
> instance, method, inheritance, abstraction, encapsulation, polymorphism)?

Yes, it has all of those things.  Inheritance is single-inheritance,
unlike C++.  The fact that I can call GtkWidget methods on any GTK
object proves there is polymorphism.  Classes? check.  Objects and
instances? check.  Abstraction?  yes.



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