I'll vote for Derrell ...

I think it might be useful to put Derrell's instructions into the Qooxdoo
Manual (or some other appropriate place) as at least to new Qooxdoo users
willing/able to read the docs it will be useful.

Cheers,
Fritz

On Thu, 18 Feb 2010, thron7 wrote:

> Derrel,
>
> I hereby nominate you for the title "Mailing-List Angel of the Month".
> Your likeness will be pinned to the floor wall here in the office :).
>
> As for the topic, the API Viewer also features a search tab, which might
> be helpful in the quest.
>
> T.
>
> On 02/17/2010 11:37 PM, Derrell Lipman wrote:
>> On Wed, Feb 17, 2010 at 17:17, [email protected]
>> <mailto:[email protected]> <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>     How can i get/change the actual Buttontext?
>>
>>
>> Rather than simply answering your question directly, I'll teach you how
>> to find the answer yourself. How's that for service! :-)
>>
>>     * Go to http://qooxdoo.org and click on the yellowish/greenish tab
>>       that says "API Reference". You're interested in learning about the
>>       API for the qx.ui.form.Button class.
>>     * In the tree in the left pane, open up the "ui" branch and in it,
>>       open up the "form" branch, corresponding to qx.ui.form.
>>     * Click on "Button". In a moment, the documentation for the Button
>>       class will appear in the right pane.
>>     * Take a look at the Inheritance hierarchy. You'll see that Button
>>       descends from Atom, which descends from Widget. With just a very
>>       little qooxdoo experience, one learns that Widget is the root of
>>       most visible... uh... widgets, and Widget itself offers no visible
>>       UI. Therefore what you're looking for is either in Button itself,
>>       or in its superclass, Atom.
>>     * Now scan down in the right pane a little bit, to the Constructor
>>       documentation. Notice that the first parameter is a string called
>>       "label". That may ring a bell for you, as you've likely worked
>>       with other things that have label properties.
>>     * Since you don't know whether that label property is in Button
>>       itself or in Atom, click on the button in the button bar at the
>>       top right of the page, that says "Inherited". By turning that on,
>>       you are asking for the API documentation to be shown not only for
>>       Button itself, but also for its inherited features.
>>     * Now scan down the page past Events, until you get to Properties,
>>       and then look, in alphabetical order, for "label". Ah ha! It's
>>       there, and its documented as "The label/caption/text of the
>>       qx.ui.basic.Atom instance". Sounds like exactly what you're
>>       looking for, right?
>>     * Since it's a property, you know that you have a getter and a
>>       setter that were automatically created, so you can set a new label
>>       with button.setLabel("new label"); or retrieve the existing label
>>       with button.getLabel();
>>
>> QED.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel&reg; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>>
>>
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> ------------------------------------------------------------------------------
> Download Intel&reg; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to