Alex, yes it does help -- thanks for the info. 

Eagerly anticipating the 0.8 release...

Best,
Dalmazio




Alexander Back wrote:
> 
> Hi Dalmazio,
> 
> Dalmazio Brisinda wrote:
>> Is there a way to determine the type of an object as given in method
>> parameters where the object is listed as type "var"? For example in the
>> qx.ui.core.Border object:
>> 
>> setLeft(Number widthLeft, var styleLeft, var colorLeft)
> This is owed to the incomplete documentation. Normally the description 
> of a method should show you the type of parameters you have to pass.
> The incomplete documentation is a known issue and we are aiming a much 
> more complete documentation for the upcoming 0.8 release.
> 
>> What would I pass for "styleLeft" and "colorLeft"? Presumably a
>> "qx.html.Style" and "qx.theme.Manager.Color" object? If so, is there a
>> reason these methods don't state explicitly the object type as in the
>> followiing qx.ui.core.Border method?
> In your case you have to pass a string for the style parameter and a 
> defined color (all colors are defined in your color theme -> 
> qx.theme.classic.Color for example) or a known color like "lime" or "red".
> 
> To get to know more details of a method you can click at the plus icon 
> of each method at the the API-Viewer application ( 
> http://api.qooxdoo.org ). In your case "setLeft" the documentation shows 
> up that the values of the parameters are used to set the properties. The 
> properties are linked so this way you can obtain deeper infos about the 
> parameter values.
> 
> Hope this helps,
>    Alex
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-to-determine-the-type-of-a-%27var%27-object-in-qooxdoo--tp679531p680774.html
Sent from the qooxdoo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to