Hi Daojun,

The Qooxdoo widgets share a lot of ideas with Java Swing indeed. So if 
you come from a Java background, it should be pretty easy to get going 
fast. :)

The .set() method is inherited all the way from qx.core.Object(), so you 
can use it on any qooxdoo object. To see its api doc, you can click the 
"inherited" button in the api viewer (top right).

Note that the .set() method is just a shortcut for quickly setting 
multiple properties at once.

 >  myComposite.set({height: 100, width: 100});

is the same as

 >  myComposite.setHeight(100);
 >  myComposite.setWidth(100);

Regards,

Marc

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to