GNOME Bugzilla – Bug 586657
Imporve user experience getallstates match for defined state constants
Last modified: 2009-06-23 08:24:24 UTC
Documentation Section: http://ldtp.freedesktop.org/user-doc/index.html general/getallstates Description: Will return all the accessibility states of given object information Correct version: It would be better to help the end-user in finding the match of the accessibility states returned as a list of integers, with those defined in the state class as constants. Other information: In order to find the match, I looked at the pydoc of the state class in ldtplib.ldtputils. (python 2.4.4) >>> from ldtp import * >>> from ldtputils import * >>> help(state)
Thanks for the bug report. Added documentation for all the states with respective Accessibility state. The data portion in help(state) will remain same, as there is a mismatch between pyatspi and cspi implementation in states. Updated code is in git. Thanks