Bug 2731

Summary: Tracking bug - to track changes to custom widget to enable Dogtail to view accessibility information
Product: frysk Reporter: Len DiMaggio <ldimaggi>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 1632    
Attachments: Screen shot

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