Re: [g-a-devel]EditableText exported when keyboard and mouse edit doesn't work



Hi Padraig,

> I had naively assumed that not editable meant that none of the AtkEditable
> interfaces should apply. This seems to be wrong.
> 
> I have had a look at the AtkEditable interface and the copy method seems to 
> be the only one which we would want to work.

Yah, that's my sense as well.  I dimly remember a conversation with Bill
about this, and we were trying to figure out if the best answer was to
always allow Copy, or whether to try to determine if keyboard/mouse
selection of text was possible, and only allow Copy in those circumstances
(e.g. if a mainstream user can select and copy the text, then the API
should support it too).


Peter

> > Hi Padraig,
> >
> > > > > The EditableText interface is exported for the Info and Source tab
> > > > > (right hand side of gtk-demo) and I've been able to exercise all the
> > > > > methods in the AccessibleEditableText interface successfully.
> > > > >
> > > > > What's intriguing is that this area is not editable via keyboard (or
> > > > > mouse) whereas the methods allow me to cut, copy, paste, insert text
> > > > > into the area!
> > >
> > > What we have is a GtkTextView for which gtk_tree_view_set_editable(...,
> > > FALSE) has been called.
> > >
> > > I will change the implementation of AtkEditableText in gailtextview.c to
> > > check that the underlying widget is editable before allowing these
> > > functions to run.
> > >
> > > I will also check the other implementations of AtkEditableText that we
> > > have.
> >
> > Do we still want some of the AtkEditableText methods to work - e.g. Copy?
> >
> >
> > Peter Korn
> > Sun Accessibility team
> > _______________________________________________
> > Gnome-accessibility-devel mailing list
> > Gnome-accessibility-devel gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> 
> _______________________________________________
> 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]