Re: File Structure

David Crawshaw <[email protected]> Wed, 2 Apr 2003 21:06:22 +1000
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
On Wednesday, April 2, 2003, at 08:04  PM, Charles Goodwin wrote:
> I kinda agree with you here.  But (isn't there always a but?) you also 
> have
> to adhere to 'standard naming' sometimes.

Yeah, but there don't really seem to be any standard names (after 
looking around). Some people use checkbox, some use checkbutton. True, 
checkbox is more popular, but the other is still in use.

Some people use radiobutton, some use radiobox. There just don't seem 
to be any universal standards, as such, I say we simplify things.

radio, check and spin.

> I'd rather see richtext go under either xwt.util.richtext or 
> xwt.richtext,
> it's complex enough to warrant it's own namespace, for sure, and it's 
> not
> really a core widget.  Or is it?

Most widget libraries come with a rich text field, so we have to cater 
for them. Not only that, they all have their own idea about how 
selections should work. Monopoly, Ctrl+Left selects a word to the left. 
Aqua, Alt+left selects a word to the left. They also have different 
ideas about what consititues a word. This all needs to be handled in a 
theme.

xwt.html is an html render implementation, and as such never needs to 
be themed.

d


_______________________________________________
http://lists.xwt.org/listinfo/dev