RE: [g-a-devel]GtkNotebook ...
- From: Michael Meeks <michael ximian com>
- To: mukund rajagopalan wipro com
- Cc: 'Padraig O'Briain' <Padraig Obriain Sun COM>, accessibility mailing list <gnome-accessibility-devel gnome org>
- Subject: RE: [g-a-devel]GtkNotebook ...
- Date: 19 Mar 2002 19:38:05 +0000
Hi Mukund,
On Tue, 2002-03-19 at 10:21, Mukund wrote:
> When widget->name is NULL, the call to accessible_getName() doesn't
> return a NULL pointer. But pointer[0] is NULL. Am I missing something
> here ?
That's quite correct CORBA has no concept of a NULL pointer wrt.
strings, so we'll always return an empty string "" at the other side,
that is unless an exception is fired, this is safe to print it:
printf ("%s", txt && txt [0] ? txt : "<empty>");
eg.
> Going through the GTK code, it looks like this will return the widget's
> 'type' name when name is not set. I think this will send not-quite-clear
> information to the user - AT would report type names as GTKxxx or
> GTKyyy, etc.
Yes - true, it's not useful - I think an empty name is more useful -
otherwise we're at risk of deluging the AT with information which it is
difficult to determine whether it is truly interesting.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]