I call it just on the widget.
thron7 wrote:
>
>
> Dmitry Pryadkin wrote:
>> How did I do it? Well, at least it works for my case. I'm just
>> querying for widget.hasState("disabled").
>>
>
> Going up the parent hierarchy? Or do you just call it on the widget
> your interested in?
>
> T.
>
>> Dmitry
>>
>> thron7 wrote:
>>
>>> So how did you do it?
>>>
>>> T.
>>>
>>> Dmitry Pryadkin wrote:
>>>
>>>> Solved it in other way,
>>>> thanks
>>>>
>>>> Dmitry Pryadkin wrote:
>>>>
>>>>
>>>>> isEnabled has behaved just like getEnabled, 'inherit' was returned.
>>>>>
>>>>> I'm on qooxdoo 0.74.
>>>>>
>>>>> thron7 wrote:
>>>>>
>>>>>
>>>>>
>>>>>>> Hello qooxdoo people,
>>>>>>>
>>>>>>> How do I know if a widget is enabled or disabled?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> Try isEnabled().
>>>>>>
>>>>>> T.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Tried using getEnabled(), but it often returns "inherit", but I wanted
>>>>>>> just a boolean value.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Dmitry
>>>>>>>
>>>>>>>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel