requestTextChangeNotifications(obj,
enable)
| source code
|
Request or cancel notifications for when the display text changes in
an NVDAObject. A textChange event (event_textChange) will be fired on the
object when its text changes. Note that this event does not provide any
information about the changed text itself. It is important to request
that notifications be cancelled when you no longer require them or when
the object is no longer in use, as otherwise, resources will not be
released.
- Parameters:
obj (NVDAObject) - The NVDAObject for which text change notifications are desired.
enable (bool) - True to enable notifications, False to
disable them.
|