Re: [g-a-devel]grabFocus ...



On Mon, 2002-08-26 at 14:58, Padraig O'Briain wrote:
> I know that it is over three months since the question was asked but better late 
> than never...
> 
> The problem with the grab focus button in at-poke is that the underyling 
> implementation, i.e. gail_widget_grab_focus() which implements 
> atk_component_grab_focus() does call gtk_window_present() to make sure that the 
> window contaiing the widget has keyboard focus.
> 
> It just call gtk_widget_grab_focus() on the widget.

Hmm, I wonder what is correct here, should we return FALSE if the window
doesn't have focus, or should we take a call to atk_component_grab_focus
as license to call gtk_window_present?

-Bill

> > Hi Bill,
> > 
> > 	Another odd thing about at-poke, is that while we expose a 'Grab Focus'
> > button, and this calls the method just fine - it has never (AFIACS) done
> > anything remotely useful :-) I'm just wondering if something has become
> > dis-connected inside gail/at-spi that should do the focus grabbing ? -
> > or whether it's because the toplevel focus is owned by at-poke [ in
> > which case perhaps we can do some X magic to point out that we don't
> > want our app to ever get the focus - just the events ? ].
> > 
> > 	Any ideas ?
> > 
> > 		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]