Re: GailTreeView Changes Proposal
- From: Brian Cameron <Brian Cameron Sun COM>
- To: gnome-accessibility-list gnome org, peter korn Sun COM
- Subject: Re: GailTreeView Changes Proposal
- Date: Tue, 26 Jun 2001 20:38:16 +0100 (BST)
Peter:
One problem with this idea is that the various renderers may need to
store private data in order to properly map the cell back to the
appropriate cell in the backing store. Therefore the cell gets cluttered
with information that is really private to the backing store. In my
previous email Bill & I suggested creating an intermediate object that
keeps backing store specific information hidden from the cell. Since
Renderers can be used by multiple widgets that all might have to keep
different private data around, keeping this information in the cell
might get ugly.
Perhaps I'm not reading your suggestion correctly?
Brian
> What about keeping the first pattern - basing the accessible on the
>
> renderer:
>
>
>
> cell = atk_object_factory_create_accessible (factory,
>
> G_OBJECT (renderer));
>
>
>
> and then modifying the accessible cell with appropriate information about
>
> the context of the object (please excuse my blatant Java-isms below). E.g.:
>
>
>
> cell.setAccessibleRole(...)
>
> cell.getAccessibleStateSet().addAccessibleState(...)
>
> ...
>
>
>
> Since the code that is building the accessible cell knows where the cell is,
>
> it should contain all of the additional information needed.
>
>
>
>
>
> Peter Korn
>
> Sun Accessibiliy team
>
> _______________________________________________
> gnome-accessibility-list mailing list
> gnome-accessibility-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]