Skip to content

Make Selection#clearSelection work

Call the corresponding 'Atspi.Selection' method.

Forwarding to 'Atspi.Text' instead looks like that might have been a copy-paste error and e.g. resulted in

AttributeError: type object 'Text' has no attribute 'clear_selection'

when calling

sel.clearSelection()

on a 'pyatspi.selection.Selection' object in Accerciser's IPython console.

Merge request reports