RE: [g-a-devel]Notebook's selection interface ...



Michael, Padraig,

>
>  	Ok - this conversation has got horribly,
> horribly confused - partially because we use
> 'selection' for several disparate things.
>

And partially because of me (reason below) and am sincerely trying to
clear up issues in this mail :-)

>
> I believe someone said that the AccessibleSelection
> interface was applicable here and used to emulate
> this behavior 'clicked'.
>

I said that because I deduced the following:
(1) Table interface (on tree-table) will allow moving focus from one sub
row (table-cells) to another
(2) Selection interface (on tree-table) will do the 'click'
functionality for the sub rows (table-cells).

I haven't been able to try (1) because CSPI doesn't seem to provide a
method to select cells! I have detailed that in context towards the end
of the mail.

As for (2), the method AccessibleSelection_selectChild on the tree-table
(which parents table-cells) returns FALSE for all children so I don't
know what Selection interface achieves in this case.

>
>  This was a counter explanation to my assertion that
>  there is a bug to whit a missing 'activate' action
>  on each sub row's accessible.
>

AccessibleAction_doAction for 'click' is implemented *only* for the last
table-cell in gtk-demo (left hand side). Note that the last table-cell
is different from others in the list in that, it can be expanded and
collapsed (i.e., more sub-rows under it). For others, the method
AccessibleAction_getNActions returns 0.

>
>  	Also it's not clear to me how the AccessibleTable
>  interface allows rows or columns to be selected -
>  it appears to be a read only interface ...
>

Yeah, it does since there is no method in CSPI to select a column or a
row. BUT.. (as Padraig mentioned in this thread) add_row_selection is
implemented in Gail for GailTreeView and this is part of AtkTable
interface.

To summarize (skip, if you already got it:)
(1) Selection interface on tree-table (parent) seems to be a read-only
interface - neither does it allow to select (focus) the cells nor click
them.
(2) Table-interface: Though add_row_selection is implemented in gail for
GailTreeView, there is no complimentary method in CSPI. When done, this
should allow the sub-rows to be selected (focused).
(3) Action (click) is implemented for table cells that has sub-rows.
AccessibleAction_doAction, for these cells, expands and collapses the
children (view).

Please confirm/deny if these are issues and if required to be tracked
through Bugzilla, do let me know.

Cheers,
Mukund.





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