Bug 2731 - Tracking bug - to track changes to custom widget to enable Dogtail to view accessibility information
Summary: Tracking bug - to track changes to custom widget to enable Dogtail to view ac...
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-06-06 20:35 UTC by Len DiMaggio
Modified: 2006-11-28 16:43 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Screen shot (86.12 KB, image/png)
2006-06-06 20:40 UTC, Len DiMaggio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Len DiMaggio 2006-06-06 20:35:41 UTC
Tracking bug - to track changes to custom widget to enable Dogtail to view
accessibility information. At present - see attachment - this information is not
available.

Note from Chris Moller:

=================================
That said, if there's something that needs doing in the C code that
implements the actual widget
(frysk-gtk/tlwidgets/src/widgets/ftkeventviewer.[ch] at the moment) or
the wrapper for it
(frysk-gtk/tlwidgets/src//java/com/redhat/ftk/EventViewer.java and
frysk-gtk/tlwidgets/src//jni/com_redhat_ftk_EventViewer.c)
=================================

Note from Dave Malcolm:
=================================
Apparently Frysk has a custom widget class which currently appears as a
black box to dogtail.

To implement a11y hooks you need to implement GtkWidget::get_accessible
for the class:
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-get-accessible

You will need to construct an AtkObject that can be queried to get the
necessary information representing that widget.

See libgail for the default implementation for most standard Gtk
widgets:
http://cvs.gnome.org/viewcvs/gail/gail/

See the implementation of GtkIconView for an example that does it
directly:
http://cvs.gnome.org/viewcvs/gtk%2B/gtk/gtkiconview.c?rev=1.98&view=markup
=================================
Comment 1 Len DiMaggio 2006-06-06 20:40:45 UTC
Created attachment 1063 [details]
Screen shot