Fwd: GTK+ is real object oriented?
- From: frederico schardong <frede sch gmail com>
- To: gtk-list gnome org
- Subject: Fwd: GTK+ is real object oriented?
- Date: Sun, 20 Dec 2009 16:16:11 -0200
---------- Forwarded message ----------
From: frederico schardong <frede sch gmail com>
Date: 2009/12/20
Subject: Re: GTK+ is real object oriented?
To: "Michael P. Soulier" <msoulier digitaltorque ca>
Real is when the language have the concepts of class, objects,
instance, method, inheritance, abstraction, encapsulation,
polymorphism...
In GTK+ programmin we don't have something like
widget->setVisibility(TRUE). For me it's broken the concept of object
oriented, because a attribute(visibility) of the class widget is set
by a extern function, not a method of the class widget.
2009/12/20 Michael P. Soulier <msoulier digitaltorque ca>:
> On 20/12/09 frederico schardong said:
>
>> Hi,
>>
>> Is GTK+ really object oriented?
>>
>> Or just provide a fake object oriented environment?
>
> Define real. Define fake.
>
> Mike
> --
> Michael P. Soulier <msoulier digitaltorque ca>
> "Any intelligent fool can make things bigger and more complex... It takes a
> touch of genius - and a lot of courage to move in the opposite direction."
> --Albert Einstein
>
--
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582
--
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]