Fwd: GTK+ is real object oriented?

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

 



---------- Forwarded message ----------
From: frederico schardong <frede.sch@xxxxxxxxx>
Date: 2009/12/20
Subject: Re: GTK+ is real object oriented?
To: "Michael P. Soulier" <msoulier@xxxxxxxxxxxxxxxx>


Fake is when change a attribute (visibility) of a class (gtkwidget)
only can be changed by a function (gtk_widget_hide() or
(gtk_widget_show()) not by a method.

2009/12/20 frederico schardong <frede.sch@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxx>:
>> 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@xxxxxxxxxxxxxxxx>
>> "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



-- 
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux