Re: [g-a-devel]AccessibleText_getSelection
- From: Bill Haneman <Bill Haneman sun com>
- To: michael ximian com, bill haneman sun com, marc mulcahy sun com
- Cc: gnome-accessibility-devel gnome org
- Subject: Re: [g-a-devel]AccessibleText_getSelection
- Date: Wed, 27 Mar 2002 12:34:14 +0000 (GMT)
Hi Folks:
This suggestion doesn't actually seem right to me.
see my comments below.
>Yes, this seems right. does the CORBA implementation in libspi/text.c
>return a CORBA_boolean as well?
>
>Marc
>
>At 10:42 PM 3/21/2002 +0000, Michael Meeks wrote:
>
>>void
>>AccessibleText_getSelection (AccessibleText *obj,
>> long int selectionNum,
>> long int *startOffset,
>> long int *endOffset);
>>
>> I'm guessing this should return an SPIBoolean to be
consistant
>> with the
>>rest of the API ?
This is a "get" method and in general we are not returning booleans for
them, we only use the boolean convention for "set" methods.
"get" selection should always return something, even if it's an empty
string without useful start and stop offsets.
Why was it suggested that returning a boolean would be consistent?
-Bill
>> mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
>>
>>_______________________________________________
>>Gnome-accessibility-devel mailing list
>>Gnome-accessibility-devel gnome org
>>http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
>
------
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]