Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45529

Re: Future standard GUI library

From Terry Jan Reedy <tjreedy@udel.edu>
Subject Re: Future standard GUI library
Date 2013-05-18 16:53 -0400
References <CAPbpa4QQf1NZd-0-GDH=wjBMApBmh5=FXfWxFp28dngbXrPWWQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1818.1368910446.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 5/18/2013 10:03 AM, Beinan Li wrote:
> Not sure if this is the right place to talk about this.

It is.

> Even less sure if I can
> move this discussion to tkinter list,

The idea of replacing tkinter is not about improving tkinter ;-).

> Do you think tkinter is going to be the standard python built-in gui
> solution as long as python exists?

AT the moment, there is nothing really comparable that is a realistic 
candidate to replace tkinter. Tkinter is a tcl-based c gui library. wx 
and qt4 are gui application frameworks that include a gui library -- and 
much more that duplicate part of Python's stdlib. They, and consequently 
their Python wrappers, are too big. That is quite aside from the fact 
that the authors of the wrappers have good reason to not donate their 
code, but stay independent.

PyGui was designed as a gui library comparable to tkinter and a possible 
replacement. But according to the web page, it is still not completely 
ready for py 3 (the last update was July 2011).
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/

I think a tkinter replacement should be written for at least 3.4+, so it 
can use the new 3.3 unicode implementation and use or at least integrate 
with the new 3.4 event loop that will be part of the planned new async 
library.

One test for any new gui library is whether idle can be rewritten in it. 
It heavily uses the tag features of the tk text widget.

TJR


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Future standard GUI library Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-18 16:53 -0400

csiph-web