You can also use the Makefile variable APPLICATION_THEME. This is the best choice to define the initial theme to use. The managers should only be used to switch themes at runtime. Yes, You should be able to put the manager calls to the main method of your application for example.
Sebastian FrozenDice schrieb: > Maybe I'm not understanding this right. > > I just put this > "qx.theme.manager.Meta.getInstance().setTheme(qx.theme.WindowsLunaBlue);" > in something that gets executed onload, and it changes the theme? > > > > On 5/29/07, Sebastian Werner <[EMAIL PROTECTED]> wrote: >> since beta2 this must be: >> >> qx.theme.manager.Meta.getInstance().setTheme(qx.theme.WindowsLunaBlue); >> >> Hope this helps. >> >> Sebastian >> >> >> >> Am 29.05.2007 um 23:53 schrieb FrozenDice: >> >>> Thanks, but I tried putting this in and it didn't work. >>> >>> qx.manager.object.ThemeManager.getInstance().setTheme >>> (qx.theme.WindowsLunaBlue); >>> >>> Am I doing it wrong? >>> >>> - Dan >>> >>> On 5/29/07, Juan carlos Rodriguez <[EMAIL PROTECTED]> wrote: >>>> try this: >>>> >>>> qx.manager.object.ThemeManager.getInstance().setTheme(qx.theme.Ext); >>>> >>>> ----- Mensaje original ---- >>>> De: FrozenDice <[EMAIL PROTECTED]> >>>> Para: qooxdoo Development >>>> <qooxdoo-devel@lists.sourceforge.net> >>>> Enviado: martes, 29 de mayo, 2007 16:02:54 >>>> Asunto: [qooxdoo-devel] How do I set a theme? >>>> >>>> >>>> So I've been looking around the documentation for a little while and >>>> haven't figured out how to set any one certain theme. In the example >>>> http://demo.qooxdoo.org/current/sample/html/example/ToolBar_2.html >>>> the >>>> user can click to change the theme, but is there any way I can >>>> specify >>>> the theme and not give the user a choice of buttons? >>>> >>>> - 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 >>>> >>>> >>>> ________________________________ >>>> >>>> LLama Gratis a cualquier PC del Mundo. >>>> Llamadas a fijos y móviles desde 1 céntimo por minuto. >>>> http://es.voice.yahoo.com >>>> --------------------------------------------------------------------- >>>> ---- >>>> 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 >>>> >>>> >>> ---------------------------------------------------------------------- >>> --- >>> 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 >> >> ------------------------------------------------------------------------- >> 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 >> > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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