Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81208
| From | Kevin Walzer <kw@codebykevin.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: GUI toolkit(s) status |
| Date | 2014-11-21 09:13 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <m4nha6$vjf$1@dont-email.me> (permalink) |
| References | <5da0e7df-fd85-42b8-abfd-4db0dd9ff519@googlegroups.com> <7xwq6qgty4.fsf@ruckus.brouhaha.com> <mailman.16008.1416472839.18130.python-list@python.org> <m4kaqg$p62$1@dont-email.me> <mailman.16082.1416544509.18130.python-list@python.org> |
On 11/20/14, 11:34 PM, Terry Reedy wrote: > A possible solution for Tk is to replace the non-C Tcl parts of TK with > Python (or the CPython API functions as needed for speed). I have no > idea how horrendous a project creating Py/Tk would be. It would be very horrendous. See Perl/Tk as the example. They ripped out the Tcl interpreter and interfaced directly with Tk's C API. The result was a rigid, inflexible binding that was never ported to the Mac (because it required a C implementation) and could never be easily updated to take advantage of new features in Tk, because again it required a C implementation. Perl-Tk still exists, but more modern bindings like ActiveState's Tkx module have restored the Tcl interpreter, giving you access to all Tk advances and platforms "for free." Apart from the ease of updating Tk features, from a design standpoint I think this is the right call. There may be a little extra overhead in having an extra interpreter embedded, but that is what Tcl was originally designed for: embedding. It handles this requirement more easily and with less pain than most languages. I think that's why Tk became the default GUI binding of choice for other scripting languages. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-19 23:59 -0800
Re: GUI toolkit(s) status Paul Rubin <no.email@nospam.invalid> - 2014-11-20 00:25 -0800
Re: GUI toolkit(s) status Chris Angelico <rosuav@gmail.com> - 2014-11-20 19:40 +1100
Re: GUI toolkit(s) status Christian Gollwitzer <auriocus@gmx.de> - 2014-11-20 10:04 +0100
Re: GUI toolkit(s) status Chris Angelico <rosuav@gmail.com> - 2014-11-20 20:17 +1100
Re: GUI toolkit(s) status Terry Reedy <tjreedy@udel.edu> - 2014-11-20 23:34 -0500
Re: GUI toolkit(s) status Paul Rubin <no.email@nospam.invalid> - 2014-11-20 20:49 -0800
Re: GUI toolkit(s) status Christian Gollwitzer <auriocus@gmx.de> - 2014-11-21 08:57 +0100
Re: GUI toolkit(s) status Kevin Walzer <kw@codebykevin.com> - 2014-11-21 09:13 -0500
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 00:59 -0800
Re: GUI toolkit(s) status Kevin Walzer <kw@codebykevin.com> - 2014-11-22 12:40 -0500
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 10:49 -0800
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-21 12:38 -0800
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-21 12:49 -0800
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 10:33 -0800
Re: GUI toolkit(s) status Christian Gollwitzer <auriocus@gmx.de> - 2014-11-22 20:34 +0100
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-24 11:24 -0800
Re: GUI toolkit(s) status Kevin Walzer <kw@codebykevin.com> - 2014-11-21 09:05 -0500
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-21 12:15 -0800
Re: GUI toolkit(s) status Michael Torrie <torriem@gmail.com> - 2014-11-21 21:07 -0700
Re: GUI toolkit(s) status Dave Cook <davecook@nowhere.net> - 2014-11-26 09:40 +0000
Re: GUI toolkit(s) status Mark Summerfield <list@qtrac.plus.com> - 2014-11-26 03:47 -0800
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-26 06:36 -0800
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-26 07:11 -0800
Re: GUI toolkit(s) status Michael Torrie <torriem@gmail.com> - 2014-11-26 20:19 -0700
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 00:12 -0800
Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 02:46 -0800
Re: GUI toolkit(s) status Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-24 08:18 -0700
csiph-web