[Python-3000] back with more GUI planning in a few days...

Bill Janssen janssen at parc.com
Tue May 9 18:30:36 CEST 2006


> A far as widgets go, I think I'd be satisfied (mostly) with the following
> (this is just off the top of my head, and not a definitive list):
> 
>   Window
>   Dialog
>   Button / Checkbox / Radio
>   Scrollbar
>   Slider
>   Listview
>   Combo box / drop-down
>   Scrollview
>   Group box
>   Tree View (extra credit: support drag and drop.)
>   Spinner (i.e. increment/decrement control)
>   Grid View
>   Text Edit / Multiline Edit / Styled Edit
>   Static Text
>   Static styled text
>   Static Image
>   Toolbar (Dockable if supported by the platform)
>   Menubar / Menu / Menu item  
>   Status bar
>   Tab panel
> 
> Standard system dialogs:
> 
>   Open File
>   Save File
>   Select Directory
>   Color Chooser
>   Font Chooser
> 
> Standard application dialogs:
> 
>   Caption + Single button (notify)
>   Caption + Two buttons
>   Caption + Text Entry + Two buttons
> 
> Standard cursors:
> 
>   Arrow
>   Hourglass / Wait
>   Sizing cursors: left/right, up/down, NE/SW, NW/SE
>   I-beam cursor
>   Hand / Drag cursor
> 
> Standard Alerts:
> 
>   Notice
>   Warning
>   Error

That's an interesting list, Talin.  It's close to my list.

I have to confess I don't see the point of some of them: Listview and
Gridview are trivial if there's a reasonable layout system, Statusbar
and Toolbar are likewise just arrays of other widgets.  Spinner is a
non-issue for me.  I also don't really see the point of the "standard
application dialogs", as they are so easy to build yourself.

"Color chooser" and "Font chooser" seem to fall into the category of
"widgets that aren't used by UIs, but are very hard to build yourself,
so the toolkit should do it", which is a reasonable contention
(though, I think, not overwhelming).

Styled text is another question mark.  Though I've used static styled
text, and found it handy, I'm not sure I'd miss it that much.  Ditto
for editable styled text (I'm not sure I've ever used it).  More
important to me would be a text editor widget which supported in-line
objects, like images and hyperlinks.

Bill


More information about the Python-3000 mailing list