Re: [g-a-devel]A better solution ...



> 
> 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]