Re: [g-a-devel]A better solution ...
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: michael ximian com
- Cc: otaylor redhat com, gnome-accessibility-devel gnome org
- Subject: Re: [g-a-devel]A better solution ...
- Date: Thu, 21 Mar 2002 17:45:42 +0000 (GMT)
>
> On Thu, 2002-03-21 at 16:08, Michael Meeks wrote:
> > After some thought, and pacing up and down,
>
> After talking to Owen, it seems that by far the best way is to avoid
> the AtkObjectFactory by overriding GtkWidget's get_accessible, and leave
> the ObjectFactory stuff for Gtk+ accessibility implementations only.
>
If you encounter an object, which is not a GtkWidget but is a GObject, for which
you want to provide an AtkObject you may need to revisit this.
Padraig
> The alternative would be to register the same factory multiple times,
> and then based on the type we get from the GObject we're passed
> work out which accessible we want to instantiate.
>
> As for Gail - I sent Padraig a big macro to kill the cut and paste, but
> I'm less interested in fixing that now. I think we should avoid that
> approach in new code, and put the a11y code close to the widget impl.
> itself.
>
> Does that seem reasonable ?
>
> Regards,
>
> Michael.
>
> --
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]