dogtail-devel [Bug 336562] Exposing AT-SPI AccessibleSelections



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=336562
 dogtail | Framework | Ver: unspecified





------- Comment #4 from Zack Cerza  2006-04-01 01:18 UTC -------
Here's my patch. It adds everything I proposed, except selectedChild() is now
the selectedChildren attribute, returning the list of selected children since
apparently multiple children can be selected (Jose got this right, I overlooked
it ;). It also adds the indexInParent attribute, such that
node.parent.children[node.indexInParent] would give you the same node.

It also adds selectAll(), to select all the children; and deselectAll, to
deselect all selected children.

AT-SPI does provide a deselectSelectedChild(), but the index it wants is not
the index in its parent, but something in range(foo.getNSelectedChildren()).
There doesn't seem to be a reliable way for a node to track what its "selection
index" is, so we'll have to deal with the fact that if you want to deselect any
node, you have to call node.parent.deselectAll() instead of being able to call
node.deselect().


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]