Re: [g-a-devel]AccessibleTextSelectionChangedEvent_getSelectionString



The text-selection signal in ATK does not provide any information other than 
that a text selection change has occurred.

On looking further I do not see an object which allows more than one text 
selection.

Padraig

> On Fri, 2003-03-07 at 13:41, Padraig O'Briain wrote:
> > What should be returned by this function if there is more than text 
selection?
> 
> I would suggest that if the event contains enough info to determine
> which selection has changed, we should return only that selection, in
> text-string form.
> 
> So if we have two non-contiguous selections, and we add a third, then
> the third substring gets returned along with the information that we
> have added a selection.
> 
> If we remove a selection, then we return an empty string.
> 
> If we edit a selection, we return the edited selection (one of possibly
> several).
> 
> This would require that multiple selection additions/edits could not be
> returned in a single event, and require that the event carry
> selection-count information with it.  It would also require that the
> event let us know which selection (index) it was associated with.
> 
> I am not sure that our current selection signal API can contain all this
> info; do you think it's feasible?
> 
> -Bill
> 
> > Padraig
> > 
> > _______________________________________________
> > Gnome-accessibility-devel mailing list
> > Gnome-accessibility-devel gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> -- 
> Bill Haneman <bill haneman sun com>
> 
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel




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