[g-a-devel]Atk Interfaces for Ghost View (ggv)



Hi, 

Am trying to implement accessibility for ghost-view (ggv). 

Widget hierarchy is pretty huge and therefore pushed to the end of the
mail.

Beware: Custom widgets in the app are prefixed Gtk :-) GtkScrollPane,
GtkCheckList, GtkGs.

The GtkScrollPane is used to adjust the view of the text (Document)
displayed and it cn be dragged to to adjust the view-port. 
Do we need to implement an AtkInterface at all ? I feel setting a
tooltip for the ScrollPane will serve the purpose. The user can be
guided by this tooltip to drag the Scrollpane. Whenever the mouse
scrolls over the Scrollpane, the AT can querry the tooltip and the user
can drag the Scrollpane. Note that the scroll pane comprise a scroll bar
that's confined within a window. The area outside the bar doesn't
respond to user events. Hence the tooltip for just the scroll-bar. 

Here's my initial thoughts for GtkGs (the area that displays text). Have
AtkTextInterface exposed without worrying about the text that's
currently displayed in the viewport. In other words, pass the whole text
(page) to the AT, including (if any) what's in the clipped portion
(hidden). Now, some of my doubts are:
(1) Should this text be exposed as a child AtkObject (child of GtkGs) ?
(2) What if the document contains an image ? 
(3) The text that gets displayed aren't ASCII buffer but appears to be
HEX coded. I will post this to a different forum but in case you have an
idea of how to get the ASCII text out of this buffer, please let me
know.

Finally, GtkCheckList is all stock widgets (GTK) so I feel very little
to be done here.

Please pour in your comments..

Regards,
Raj.


----------------
Widget Hierarchy:
----------------

 |-GnomeApp
    |
    |-GtkVBox
       |
       |-GtkHBox
       |  |  
       |  |-GnomeAppBar 
       |     | 
       |     |-GtkFrame
       |        |
       |        |-GtkLabel          
       |   
       |-BonoboDock
          |   
          |-GtkHBox
          |  |
          |  |-GtkVBox
          |  |  |  
          |  |  |-GtkHbox
          |  |     |
          |  |     |-GtkButton
          |  |     |  |
          |  |     |  |-GtkGtkImage 
          |  |     |
          |  |     |-GtkButton
          |  |     |  |
          |  |     |  |-GtkGtkImage 
          |  |     |
          |  |     |-GtkButton
          |  |     |  |
          |  |     |  |-GtkGtkImage 
          |  |     |
          |  |     |-GtkButton
          |  |     |  |
          |  |     |  |-GtkGtkImage 
          |  |     |
          |  |     |-GtkScrollPane
          |  |     |
          |  |     |-GtkScrolledWindow
          |  |     |  |
          |  |     |  |-GtkVScrollbar
          |  |     |  |
          |  |     |  |-GtkHScrollbar
          |  |     |  |
          |  |     |  |-GtkCheckList
          |  |     |     |
          |  |     |     |-GtkButton
          |  |     |
          |  |     |-GtkLabel
          |  |
          |  |-GtkFrame
          |     |
          |     |-GtkGs
          |
          |-BonoboDockBand
          |  |
          |  |-BonoboDockItem 
          |      |
          |      |-GtkMenuBar
          |         |
          |         |-GtkImageMenuItem
          |         |  |
          |         |  |-GtkAccelLabel 
          |         |
          |         |-GtkImageMenuItem
          |         |  |
          |         |  |-GtkAccelLabel 
          |         |
          |         |-GtkImageMenuItem
          |         |  |
          |         |  |-GtkAccelLabel 
          |         |
          |         |-GtkImageMenuItem
          |            |
          |            |-GtkAccelLabel 
          |
          |-BonoboDockBand
             |
             |-BonoboDockItem
                |  
                |-GtkToolBar
                   |
                   |-GtkButton
                   |   |
                   |   |-GtkVBox
                   |     |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |      
                   |-GtkButton
                   |  |
                   |  |-GtkVBox
                   |    |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |
                   |-GtkButton
                   |   |
                   |   |-GtkVBox
                   |     |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |      
                   |-GtkButton
                   |  |
                   |  |-GtkVBox
                   |     |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |
                   |-GtkButton
                   |   |
                   |   |-GtkVBox
                   |     |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |      
                   |-GtkButton
                   |  |
                   |  |-GtkVBox
                   |    |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |
                   |-GtkButton
                   |   |
                   |   |-GtkVBox
                   |     |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |      
                   |-GtkButton
                   |  |
                   |  |-GtkVBox
                   |    |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |
                   |-GtkButton
                   |   |
                   |   |-GtkVBox
                   |     |
                   |     |-GtkImage
                   |     |
                   |     |-GtkLabel
                   |      
                   |-GtkButton
                      |
                      |-GtkVBox
                         |
                         |-GtkImage
                         |
                         |-GtkLabel
**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]