GUIs - A Modest Proposal

Martin v. Loewis martin at v.loewis.de
Thu Jun 10 04:13:15 EDT 2010


> That said, PerlTk didn't use Tcl did it?

If you are referring to http://search.cpan.org/~srezic/Tk-804.028/ -
this also has a full Tcl interpreter, in pTk/mTk, and uses Tcl_Interp
and Tcl_Obj throughout. From the Perl/Tk FAQ (*):

"However, from a Perl perspective, Perl/Tk does not require any 
familiarity with Tcl, nor does its installation depend on any Tcl code 
apart from that packaged within Perl/Tk."

They also explain

"The pTk code proper is an externally callable Tk toolkit (i.e. a 
re-write of the Tk 8.0 code that allows easier external linking & 
calling, especially by perl)."

I couldn't quite understand what they mean by that: the sources for 
tcl/generic (for example) look fairly unmodified.

Regards,
Martin

(*) http://www.lns.cornell.edu/~pvhp/ptk/ptkFAQ.htm



More information about the Python-list mailing list