Orca开发指南

By admin, 19 三月, 2018

代码:https://github.com/GNOME/orca

如果是看commit记录,这个git会更清楚,它和github是同步的:https://git.gnome.org/browse/orca/log/

Quickstart: https://wiki.gnome.org/Projects/Orca

开发者文档:ORCA_3_27_91/docs/doc-set/internals.html

Debug方法:https://wiki.gnome.org/Projects/Orca/Debugging

AT-SPI调试器accerciser

下面是Orca支持ibus-pinyin读屏的一些修改,它把原来的“panel, Chinese letter 1"换成"可替换的Chinese letter描述 1"。也可以改chnames.py,这样就对全局用户都产生影响了。

Orca doesn't have its own entries for these characters but you can add
them to your Orca customizations (which by default lives in
$HOME/.local/share/orca/orca-customizations.py). I did this with the
third candidate character like so:

import orca.chnames
orca.chnames.chnames['张'] = 'hello world'

Then when I arrowed among characters 1, 2, and 3 I got:

'在 1' (spoken as "chinese character 1")
'之 2' (spoken as "chinese character 2")
'hello world 3'

https://github.com/GNOME/orca/commit/e230e807da4d58b261437a4c24091e7779e13709

https://github.com/GNOME/orca/commit/615180b367c0a182d2d4321f5daf85e6b785112f

https://github.com/GNOME/orca/commit/73259738758abc7e104064dd9292ed9c86e88f14

 

 

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"