Re: [g-a-devel]GKB Applet - Accessibility



> To: "Padraig O'Briain" <Padraig Obriain sun com>, 
<gnome-accessibility-devel gnome org>
> Subject: Re: [g-a-devel]GKB Applet - Accessibility
> MIME-Version: 1.0
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
> 
> Padraig,
> 
> 1) The GKB applet can certainly be used with just the keyboard using the
> properties dialog. The mandatory need here is in the "Options" tab of the
> Properties  dialog one needs to grab a hotkey by pressing the "Grab hotkey"
> button. Then a user can change the country by just using this key. I think
> an AtkAction interface would be required here only if  a  user needs to be
> provided the facility of using the GKB applet directly without navigating to
> the Properties dialog.
> 2)When the country is changed a visble-data-changed  is emitted by
> accessible object corresponding to label (GailLabel). I think a signal
> handler can be provided for this signal in the accessible object for GKB
> applet wherein the Accessible Name for GKB could be set to its tooltip.
> 3) The context menu needs to be displayed through Shift+F10. But right now
> it's not happening. The context menu is displayed only on right clicking the
> mouse. Is this because the GKB applet is not recieving focus?
> 

I will investigate why this is happening.

Padraig

> Please comment on the above
> Regards,
> Parag
> 
> ----- Original Message -----
> From: "Padraig O'Briain" <Padraig Obriain Sun COM>
> To: <gnome-accessibility-devel gnome org>; <parag kabra wipro com>
> Sent: Wednesday, February 20, 2002 8:16 PM
> Subject: Re: [g-a-devel]GKB Applet - Accessibility
> 
> 
> > Parag,
> >
> > I have had difficulty running the applet as, due to a bug in my panel, I
> do not
> > have a "Properties ..." menu item in the context menu.
> >
> > I have also had difficulty figuring out what is going on as when I launch
> the
> > applet from the panel it runs in a separate process from the panel and I
> have
> > not been able to get it to run standalone.
> >
> > My first concern is whether the applet can be used with just the keyboard.
> We
> > need a way to change the country using just the keyboard. Can this be done
> using
> > the properties dialog?
> >
> > >
> > > Hi All,
> > >     I have done a study of GKB Applet from an accessibility perspective.
> > > Your comments are invited regarding the same.
> > >
> > >  Applet Name : GKB Applet
> > >  Description : This is an "International Keyboard Switcher" applet which
> > > provides switching between keymaps of different languages.
> > > Custom Widgets :
> > > GnomeMessageBox, GnomeAbout, GnomeHRef, GnomeIconEntry. -- All these
> custom
> > > widgets are made accessible through libgnomeui.
> > > ATK interfaces inherited and provided:
> > >        Accessible Name  -- Implementation inherited from GailWidget
> > >        Accessible Description --  Implementation inherited from
> GailWidget
> > > (ToolTip)
> > >        Accessible Role  -- Implementation inherited from GailWidget
> > >        AtkAction Interface  -- Accelerator support inherited from
> > > GailWidget.
> > >        AtkComponent Interface -- Implementation inherited from
> GailWidget.
> > > Clarification Required
> > >    AtkImage Interface -- Accessible Implementation Provided by
> GailImage.
> > > This is for the country's flag that is displayed in the GKB applet. But
> this
> > > is not displayed in Ferret. The reason that I can think of is that
> GtkImage
> > > displaying the flag  is finally contained in a GtkEventBox which is not
> a UI
> > > element.
> > > ATK interfaces required :
> > >      AtkAction Interface  --  Atk Implementation needs to be provided
> for
> > > handling the "button_press_event" emitted by the GtkEventBox that serves
> as
> > > a container for the country's flag and label. When the GKB applet is
> clicked
> > > ( pressed ) the next keymap and label in the list  is displayed.
> > >          But there still is a possibility that even after implementation
> it
> > > may not be displayed in Ferret for the same reasons that AtkImage is not
> > > being shown?
> >
> > It seems to me from looking at the code that a new image is set and label
> is
> > changed when country is changed and this should cause a
> visble-data-changed
> > signal to be emitted for the accessible object corresponding to the label.
> >
> > I suspect that the problem with Ferret is because widgets are noit
> receiving
> > focus.
> >
> > >          A hot key can be grabbed and use for switching between keymaps
> > > thereby providing accessibility to switching but this is done only after
> > > setting in
> > > "GKB Properties". Hence I think an AtkAction interface is required.
> > >     AtkRelation Interface -- In GKB Properties - Options - Atk
> > > Implementation needs to be provided for relating the "Appearance" and
> > > "Applet size" labels to their corresponding menus.
> > >
> >
> > I think that gtk_label_set_mnemonic_widget() can be used instead of
> defining an
> > AtkRelation. See comments for gtk_label_set_mnemonic_widget() in
> > gtk+/gtk/gtklabel.c and gail_label_ref_relation_set in
> gail/gail/gaillabel.c.
> >
> > Padraig
> > > Regards,
> > > Parag.
> > >
> > >
> >
> > _______________________________________________
> > 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]