Bugzilla – Attachment 105183 Details for
Bug 82998
[ACCESSIBILITY] Missing and incorrect accessibility events from LibreOffice's Open dialog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
accessible event listener
combobox.py (text/plain), 510 bytes, created by
Joanmarie Diggs
on 2014-08-24 06:22:50 UTC
(
hide
)
Description:
accessible event listener
Filename:
MIME Type:
Creator:
Joanmarie Diggs
Created:
2014-08-24 06:22:50 UTC
Size:
510 bytes
patch
obsolete
>#!/usr/bin/python3 > >import pyatspi > >def listener(e): > try: > if e.host_application.name != "soffice": > return > except: > return > > roles = [pyatspi.ROLE_COMBO_BOX, > pyatspi.ROLE_LIST, > pyatspi.ROLE_MENU] > > if not e.source.getRole() in roles: > return > > print(e) > >pyatspi.Registry.registerEventListener( > listener, > "object:state-changed:", > "object:selection-changed", > "object:active-descendant-changed") >pyatspi.Registry.start()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82998
: 105183