You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Gets the current navigator object. Navigator objects can be used to navigate around the operating system (with the number pad) with out moving the focus. If the navigator object is not set, it fetches it from the review position.
@@ -346,6 +363,34 @@ def filterFileName(name):
346
363
name=name.replace(c,'_')
347
364
returnname
348
365
366
+
367
+
defisNVDAObject(obj: Any) ->bool:
368
+
"""Returns whether the supplied object is a L{NVDAObjects.NVDAObject}"""
369
+
returnisinstance(obj, NVDAObjects.NVDAObject)
370
+
371
+
372
+
defisCursorManager(obj: Any) ->bool:
373
+
"""Returns whether the supplied object is a L{cursorManager.CursorManager}"""
# As we do not call nextHandler which would trigger the vision framework to handle gain focus,
1508
+
# we need to call it manually here.
1509
+
vision.handler.handleGainFocus(obj)
1506
1510
else:
1507
1511
# Although we are going to speak the object rather than textInfo content, we still need to silently speak the textInfo content so that the textInfo speech cache is updated correctly.
1508
1512
# Not doing this would cause later browseMode speaking to either not speak controlFields it had entered, or speak controlField exits after having already exited.
0 commit comments