Hello Daniel, hello James,

James A. Pyrich wrote:
> Daniel,
>
> Put this line in your Application's initialize() function:
>
> qx.manager.object.AppearanceManager.getInstance().setAppearanceTheme(
>      new theme.you.want.Theme);
Just one little correction at this point. You should not use the "new" 
operator here. Just use the full-qualified class name here 
e.g. "qx.theme.Ext".

In case you stuck with the trunk/beta2 version:

qx.theme.manager.Meta.getInstance().setTheme(theme.you.want);

is the new syntax.

cheers,
  Alex

>
> FrozenDice wrote:
> > I've noticed in some of the examples on the qooxdoo website there is
> > the ability to change your Theme.  How can I set a theme in the code?
> > I don't want to give the user a set of buttons of even have them click
> > one.  I just want my widgets to default to a certain theme.
> >
> > Thank you for your time.
> >
> > - Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to