Dmitry Pryadkin wrote:
isEnabled has behaved just like getEnabled, 'inherit' was returned.

I'm on qooxdoo 0.74.


Oups, good to know... As far as I can see, you have to manually check for a return value of "inherit" and recurse the widget hierarchy upwards (with .getParent() or similar), until you get a true/false return, I'm afraid. Mind that you have to adapt the search for Tree widgets, as they have a different "getParent" implementation.

T.

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


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

Reply via email to