[LDTP-Dev] How to use the array returned by getallstates()

Wang Qi, Scott wangqi.s at gmail.com
Thu Sep 24 19:13:16 PDT 2009


Hi, Nagappan,

It seems ldtp.getallstates() return an array of integer. I look in the
online doc about how to use the index. Seems there is no information on it.

Also, how to tell if a mnu is enabled or not? Seems button' state can be get
by calling stateenabled (). But stateenabled() will always return 0 for mnu?

Thanks
Scott Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20090925/b4e07b22/attachment.htm 


More information about the LDTP-dev mailing list