Sure, have a listener attached to a drop down box or menu or a button,
some way for the user to select the theme. And on select
use .removeStyleName(style) to remove the old style and .addStyleName
(style) to add the new style name. If this is the only style you have
applied to the Widget you could just use .setStyleName(style) to
remove the old ones and use this new style.

On Mar 11, 11:44 pm, Riyaz Mansoor <[email protected]> wrote:
> Have widget that I have stylized using CSS. But I have no idea how to
> theme this widget. I want some CSS differences to be seen by the user,
> when different themes are selected.
>
> Can this be done?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to