control.SetName question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

control.SetName question

Nathan Smith
Hi,

So recently I discovered a problem to something I posted on hear about
regarding what screen readers announced.

Basically, to fix the problem I was having, I used control.SetName(name).

I was wondering, in wx python classic, was this done automatically, and
if it was, why was that feature removed?

Furthering to that point, doescontrol.SetName show anything on the
screen? Because if not, great!

thanks for a response.

Nathan

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/8ef6084e-9d6c-457f-fd6b-04bdadfa3451%40gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: control.SetName question

Robin Dunn
Nathan,

In my very limited understanding of screen readers and accessibility options in general, using control.SetName(name) is the correct thing to do. There was always a default name applied to widgets, it's usually the last parameter of the widget class constructors. There have been some other changes within wxWidgets, but probably the main thing that has changed since Classic is that I turned on the wxWidgets compilation flags for including the wxAccessible class and also related code in the builds. 

--
Robin


On Wednesday, August 28, 2019 at 5:19:42 AM UTC-7, Nathan smith wrote:
Hi,

So recently I discovered a problem to something I posted on hear about
regarding what screen readers announced.

Basically, to fix the problem I was having, I used control.SetName(name).

I was wondering, in wx python classic, was this done automatically, and
if it was, why was that feature removed?

Furthering to that point, doescontrol.SetName show anything on the
screen? Because if not, great!

thanks for a response.

Nathan

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/7078c466-ea41-46d6-9314-39a8a712b408%40googlegroups.com.