RE: Re: [Anygui-checkins] CVS: anygui setup.py,1.9,1.10

[email protected] (Dallas Johnston) Sat, 16 Nov 2002 08:19:45 -0500
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Actually, I am just being lazy here. I was going to do it the parameter route, but I just didn't get around to changing it. But now that I think about it, the FileDialog base might work out better in the end. For example, there are issues with what parameters go with which instance, and I don't like the **kwds magic all too much. Also, the widget setup will behave better polymorhpically.

Note that once I get the Layout stuff fixed in the ComboBox, I will use this for the filter.

Also, do you perhaps know a workaround for the Tkinter issue with not allowing more that one (text based) widget to have selected items? This really sucks for the dialog.

dallas

Magnus Lie Hetland <[email protected]> wrote:

>Dallas T. Johnston <[email protected]>:
>[snip]
>> dded frontend widgets and ported ComboBox to the new architecture.
>> Still some layout bugs in cb, but that will be fixed by tomorrow.
>> Also, changed the dialogs to remove Anygui, and fixed OpenFileDialog
>> to pretty much work perfectly now.
>> We just need to think of a clean way to have dialogs return their
>> values.
>
>Great work!!
>
>BTW: I assume the OpenFileDialog is mainly used for choosing file
>names, and that it can be used for other things than opening files,
>e.g. when saving files? If so, I think the name FileDialog would be
>more appropriate. We could probably have a separate SaveFileDialog,
>though (both having a common abstract superclass called FileDialog,
>perhaps?). Or the saving/opening/whatever message could just be a
>constructor parameter, and we could have only one class (i.e.
>FileDialog). What's the common design here?
>
>-- 
>Magnus Lie Hetland        Practical Python          The Anygui Project
>http://hetland.org        http://ppython.com        http://anygui.org
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: To learn the basics of securing 
>your web site with SSL, click here to get a FREE TRIAL of a Thawte 
>Server Certificate: http://www.gothawte.com/rd524.html
>

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html