I tried to use label on a text control, but it's not one of its parameters,
and an error message is shown. My line of code was something like this:
tc = wx.TextCtrl(pnl, label="First name")
On Sat, Oct 5, 2019 at 12:53 PM <ntsiklauri2@xxxxxxxxx> wrote:
how about read only text boxes? How to make them receive the focus from
the keyboard when I press the tab key?
Thanks in advance
Nick.
Sent from my iPhone
On Oct 5, 2019, at 12:58, <sonfire11@xxxxxxxxx> <sonfire11@xxxxxxxxx>
wrote:
When you create controls, use label = ‘display text’. You should use GTK+
on linux because WX is not always accessible there.
Andy Borka
Accessibility Engineer
*From:* program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> *On
Behalf Of *Meisam Amini
*Sent:* Saturday, October 5, 2019 2:37 AM
*To:* program-l@xxxxxxxxxxxxx
*Subject:* [program-l] Question about accessibility in wxPython
Hello everyone.
I have learned wxPython to some degree, but the problem is that I don't
know what to do to make my program accessible. For example, how to make it
so when I move on controls using my screen reader it automatically read the
static text for each control. The only way I can think of is using SetName
method on each control and give them the same text that is written in the
static text for the control. Is there a resource that teaches the best
practices for accessibility in wxPython?
Another question is, I know that wxPython apps are accessible on Windows.
But how about Mac and Linux?
Thanks in advance.