Re: Fwd: GTK+ is real object oriented?
- From: Michael Torrie <torriem gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Fwd: GTK+ is real object oriented?
- Date: Sun, 20 Dec 2009 12:16:13 -0700
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]