[Python-3000] PyGUI in Py3K stdlib, more details

Josiah Carlson jcarlson at uci.edu
Tue May 2 03:49:27 CEST 2006


Bill Janssen <janssen at parc.com> wrote:
> > > This seems like part of the application UI to me, not a toolkit issue.
> > 
> > Um...no.  Most client-side email applications allow you to view email in
> > a particular folder as a 'threaded' and 'non-threaded' view.  The
> > 'non-threaded' view would be a list control, if I understand Antoine
> > correctly.  I would also tend to agree that it is a very useful and/or
> > necessary widget.
> 
> A widget toolkit which pre-implements parts of particular applications
> does make it easier to implement those applications, I agree.  The
> question in my mind is whether an application can be built even if
> that particular widget is missing.  Core vs. useful, I suppose.
> 
> I encourage you to try some experimentation to see if there's
> something in the design of PyGUI which would preclude such a widget
> from being added.

I was using that particular example of a list control as an example of
what one would look like.  Many applications use list controls to many
different effects.  My only public (at the moment) GUI application (PyPE)
uses list controls to hold results lists for a find-in-files result, as
well as a list of 'todos' (delimited by #todo:what, or its equivalent in
other languages).  Almost every filesystem viewer in the history of
computing has also used the rows and columns approach, as does pgAdmin
to display the results of SQL queries.

Technically speaking, any toolkit which allows for scrolling and the
laying out of controls in a grid would be sufficient to implement this
(optional column-title buttons for sorting would be convenient, as well
as draggable column widths; as has been demonstrated almost everywhere).

 - Josiah



More information about the Python-3000 mailing list