nvda
ad0e759e - DynamicNVDAObjectType.__call__: take an optional keyword argument of chooseBestAPI. By default this is set to True. If True then findBestAPIClass will be used, if false it will not be used. Code that calls findBestAPIClass separately and then instanciates that APIClass now sets chooseBestAPI to false. E.g. objectFromPoint, objectWithFocus, objectInForeground, correctAPIForRelation. This stops findBestAPIClass being called twice.

Commit
16 years ago
DynamicNVDAObjectType.__call__: take an optional keyword argument of chooseBestAPI. By default this is set to True. If True then findBestAPIClass will be used, if false it will not be used. Code that calls findBestAPIClass separately and then instanciates that APIClass now sets chooseBestAPI to false. E.g. objectFromPoint, objectWithFocus, objectInForeground, correctAPIForRelation. This stops findBestAPIClass being called twice.
Parents
Loading