Re: set_selection_bounds() and select_text()
- From: Bill Haneman <Bill Haneman sun com>
- To: gnome-accessibility-list gnome org, Padraig Obriain sun com
- Subject: Re: set_selection_bounds() and select_text()
- Date: Mon, 28 May 2001 16:09:13 +0100 (BST)
>The AtkText interface contains set_selection_bounds() and
AtkEditableText
>contains select_text().
>
>Do we really need both of these?
There is an open issue around whether we allow discontiguous selection
("multi-select") or not.
If we do, then select_text() makes sense, set_selection_bounds() (and
similarly, get_selection_bounds) don't, unless they take an additional
gint parameter to indicate "which" selection range is being operated on.
I think multi-select is probably useful, but tricky. If we decide to
implement it then we need a get_n_selections() method as well, to go
with get/set_selection_bounds() [plus the new parameter to the
*_selection_bounds() methods).
>If so, can anyone suggest a scenario in which the implementation of the
two
>intefaces might be different?
>
>Padraig
>
>
>_______________________________________________
>gnome-accessibility-list mailing list
>gnome-accessibility-list gnome org
>http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
------
Bill Haneman x19279
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]