Hi Dan,

FrozenDice wrote:
> I'm trying to change the icon of of the Window widget by clicking a
> button.  Say the user clicks Button1 the icon would change to a closed
> padlock, if they clicked Button1 again it would change to an open
> padlock.  I know that I can set the property when I make it, I just
> can't figure how to access it after it's been rendered like this.
There was an open bug report for this problem. Using the method "setIcon" 
doesn't had an effect. 
I've just fixed this problem in the trunk. Please update to the current trunk 
version.

Then you can use the "setIcon" method in your button eventhandler to change 
the icon.

cheers,
  Alex

-------------------------------------------------------------------------
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