Re: Setting accessible name for SpinButton and ComboButton in pygtk2

Alex ARNAUD <[email protected]> Thu, 29 Mar 2018 16:50:57 +0200
Newsgroups gmane.comp.gnome.accessibility.general
Organization Hypra
Message-ID <[email protected]>
Could you provide us simple steps to reproduce the issue you have? Or a 
function or ui file that generate the spinbutton or combobox?

Best regards,
Alex.

Le 28/03/2018 à 18:49, Nolan Darilek a écrit :
> Hello,
> 
> 
> I'm trying to learn a bit about GTK/GNOME accessibility development.
> Recently I began dipping my toes into amateur radio, and while the Chirp
> radio programming software is highly accessible, there are some rough
> edges. The biggest of these is that programatically-created radio
> settings screens don't associate labels with their widgets.
> 
> 
> Chirp uses pygtk2. After it creates the widget, I use the following:
> 
> 
>                  print("Setting name", element.get_shortname(), widget)
>                  widget.get_accessible().set_name(element.get_shortname())
> 
> 
> And this correctly sets the accessible name for checkboxes, text areas,
> everything but SpinBoxes and ComboBoxes.
> 
> 
> Am I on the right track with this? How do I associate a label with a
> Combo/Spin box such that tabbing onto it speaks the associated label?
> This works with checkboxes/text areas, so I don't know if I'm doing
> something incorrectly, or if this is an Orca issue.
> 
> 
> Thanks.
> 
> 
> _______________________________________________
> gnome-accessibility-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
> 
_______________________________________________
gnome-accessibility-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list