Re: [pyatspi2] How to get current element (tab or application) ?



Hello,

AIUI, it's a matter of looking for the element which has the "focused"
state.  You can then lookup its parents until the tab series.

Samuel

Alex ARNAUD, on Sun 13 Dec 2015 06:10:29 +0100, wrote:
Hi everyone! I've developed software to make focus tracking in Compiz
environment but I doesn't find how to get the current tab on terminal or
Firefox. I have found some method to get the current application
(event.host_application) but nothing to deal with the tab or a specific
window of an application. If you can give me more information about that and
how Orca does I would be grateful.
The goal of that need is to block focus tracking with the current element.

Best regards.

-- 
Alex ARNAUD

_______________________________________________
gnome-accessibility-list mailing list
gnome-accessibility-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list


-- 
Samuel
"...very few phenomena can pull someone out of Deep Hack Mode, with two
noted exceptions: being struck by lightning, or worse, your *computer*
being struck by lightning."
(By Matt Welsh)


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