Re: Empathy accessibility



From: Nolan Darilek <nolan thewordnerd info>

> It looks as if these renderers are part of GTK. Is there any way to get
> the cell to which they are rendering so I can set its accessible name
> correctly? Or am I completely on the wrong track? :)

Yes, this cell renderers are part of GTK [1], used a lot on the GtkTreeView [2].

And yes there are a way to get the cell and expose the accessible name, in
fact, this is what happens, but seems that in this concrete case there are
a error (or that is what I understand, after read the bug comments [3].

Currently the a11y support for GtkTreeView and GtkCellRenderer are implemented
on GAIL, on the classes GailTreeView [4] and GailRendererCell [5] (sorry for
this last code links). As Li Yuan says on one of the bug description, the
implementation of GailTreeView is complex, so take it easy if you want
to review it.

Br


[1] http://library.gnome.org/devel/gtk/stable/GtkCellRenderer.html
[2] http://library.gnome.org/devel/gtk/stable/GtkTreeView.html
[3] http://bugzilla.gnome.org/show_bug.cgi?id=545282
[4] http://svn.gnome.org/svn/gtk+/trunk/modules/other/gail/gailtreeview.c
[5] http://svn.gnome.org/svn/gtk+/trunk/modules/other/gail/gailrenderercell.c

===
API (apinheiro igalia com)


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