Which GUI?

Fredrik Lundh effbot at telia.com
Mon Feb 21 19:54:05 EST 2000


Gerrit Holl <gerrit.holl at pobox.com> wrote:> > Tcl/Tk is not OO (at least not
in its base version).
>
> Tkinter *is* OO, and the fact the underlying Tcl/Tk isn't bothers
> me a lot.

get over it.

first, Tk *is* object oriented.  it provides widget classes,
and widget instances have distinct identities, attributes,
and methods.

second, even if Tk hadn't been object-oriented, what makes
you think that providing an object-oriented layer on top of
a non-object-oriented library would be a bad thing?  are you
aware of the fact that major portions of the standard library
are designed that way?  do you really think that anyone would
take you seriously if you claimed that Python's file objects, or
the socket module shouldn't be used?  (after all, the underlying
C library isn't "object oriented"...)

> > What about Solaris? HPUX? IRIX? AIX? OSF/1 or the
> > latest True64? They do not come with fancy GUI
> > stuff pre-installed, only X11.
>
> I know.

fyi, OSF/1 (aka Digital Unix, aka Tru64) comes with libtcl
and libtk preinstalled...  and Xt.  and Motif.  and CDE libs.
etc.

</F>





More information about the Python-list mailing list