Re: rebuilding wx widgets with accessible addons

Dietmar Schwertberger <[email protected]> Sun, 17 Nov 2024 23:15:29 +0100
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hi Nathan,

the accessibility flag should be set by default for wxPython on Windows.
For basic accessibility of standard Windows controls, this probably does 
not have an influence, as this is handled by Windows.

Could you please try whether a call to SetLabel does work for you?
It seems that wxListCtrl is calling MSWCreateControl with an empty 
argument for the label.
For other controls like checkboxes, the label is supplied.
SetLabel is calling the Windows function SetWindowText, which modifies 
this label property.
SetName on the other hand does seem to set only the internal name property.

I have checked the sources for 4.0.7post2, but could not find where 
SetName would do anything else than setting the wx internal name property.

Regards,

Dietmar

-- 
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wxpython-users/7400bc94-2042-4eb6-8bcc-9508d7ed0ef7%40schwertberger.de.