---------- Forwarded message ---------- From: frederico schardong <frede....@gmail.com> Date: 2009/12/20 Subject: Re: GTK+ is real object oriented? To: "Michael P. Soulier" <msoul...@digitaltorque.ca>
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....@gmail.com>: > 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 <msoul...@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 <msoul...@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 -- Thanks, Frederico Schardong, SOLIS - Open source solutions www.solis.coop.br Linux registered user #500582 _______________________________________________ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list