You pass directly when create the object.
as in this example in a api reference of qooxdoo
  var image = new qx.ui.basic.Image("icon/32/actions/format-justify-left.png");

Date: Wed, 21 Jan 2009 11:45:32 +0100
From: [email protected]
To: [email protected]
Subject: [qooxdoo-devel] "backgroundImage" property gone in 0.8?

Hi all,

the setBackgroundImage member of the image widget is not available in 0.8 it 
seems.

when I try:
        var resultView = new qx.ui.basic.Image;
        resultView.setBackgroundImage("myapp/image/blockbg.png");


I get an error message in firebug which says that resultView has no member 
"setBackgroundImage".
in 0.7 this code worked fine.
I can't find it in the online 0.8 api reference on qooxdoo.org either.

How can I set the background image of a qx.ui.basic.Image widget in qx 0.8.1?

Farid

_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to