"""\r
return None\r
\r
+ def _get_isFocusable(self):\r
+ """Whether this object is focusable.\r
+ @rtype: bool\r
+ """\r
+ return controlTypes.STATE_FOCUSABLE in self.states\r
+\r
+ def _get_hasFocus(self):\r
+ """Whether this object has focus.\r
+ @rtype: bool\r
+ """\r
+ return controlTypes.STATE_FOCUSED in self.states\r
+\r
def setFocus(self):\r
"""\r
Tries to force this object to take the focus.\r
ret = "exception: %s" % e\r
info.append("states: %s" % ret)\r
try:\r
+ ret = repr(self.isFocusable)\r
+ except Exception as e:\r
+ ret = "exception: %s" % e\r
+ info.append("isFocusable: %s" % ret)\r
+ try:\r
+ ret = repr(self.hasFocus)\r
+ except Exception as e:\r
+ ret = "exception: %s" % e\r
+ info.append("hasFocus: %s" % ret)\r
+ try:\r
ret = repr(self)\r
except Exception as e:\r
ret = "exception: %s" % e\r