[xwt-users] Re: [widgets] Theme defaults
Andrew Kohlsmith <[email protected]>
| Newsgroups | gmane.comp.java.xwt.users |
|---|---|
| Organization | Benshaw Canada |
| Message-ID | <[email protected]> |
(moved over from xwt-widgets, as it's more suited for here) > The abstraction of theming allows for theme defaults to be easily set up. Something that has come up with my evangelicism of XWT is that people seem to be under the impression that the engine will detect what OS it's running on and "hint" to the application what theme it should use. I for one think this is an incredible idea. Can we have an xwt.themehint() or xwt.oshint() function which returns what the engine thinks we should be using for a theme? something like "macosx.[version].aqua" or "winxp.2183.luna" or "winxp.2183.legacy" ... By making it available to the application but not enforcing it there is on worry about having to require all themes in every app. The app can simply choose to ignore the data or retheme to the closest theme available in the xwar. Adam? Regards, Andrew