Re: optional policy

[email protected] (Dallas Johnston) Mon, 18 Nov 2002 02:29:47 -0500
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Robin Becker <[email protected]> wrote:
>..... I am against special cases. If combobox is to be considered
>special, why not label, textarea etc etc. I take the anygui version of
>any supported widget to be that defined by anygui and the backend, by
>introducing another case at the user level I believe we make things
>harder to understand, by just having a fallback/preferred combobox you
>don't change the architecture, just the implementation.

Hm... I don't see that we are treating ComboBox specially. This *could* be done for any backend widget that exists in some and not others. I'm not even sure if this *is* the case for ComboBox, but I assumed that it was, due to the fact the it wasn't in the initial anygui offering. Qt, GTK+, wxWindows, Java, and Win32 do have it, but as for the others, I really don't know. I am sure, however, that textgui doesn't =).

The very thing that I have done is "just having a fallback/preferred combobox." Well, maybe not preferred in this case, as I would think that native is always better at the widget level. I don't think that this unilaterally applies to Dialogs though. However, I do feel that what Magnus suggested is much better of an approach, i.e., having the genericgui namespace for widgets and dialogs that one can specify explicitely in the import statement.

If we agree that Magnus's way is most desirable, I could implement it before you could say the phrase, "Peanut butter is much better while eating naked at the pinnacle of Mt.Kilimanjaro."

--Dallas
--Dallas

__________________________________________________________________
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