Hi, wx.CheckListBox is there, but I remember @jcsteh saying something about it. Also, I can see this being applicable for #3208 when users will select which add-ons to update, and I can use a more accessible version of wx.CheckListBox in one of my add-ons. Thanks.
It would also be helpful for #7232 to have such a control.
Use cases with an issue
#1271: Enable and disable braille displays for auto detection. If a user has two braille displays with two separate drivers, NVDA should only try to autodetect these two.
#3208: Allowing users to select which add-ons to update
#6305: A list with checkable items for add-ons to copy to the system config
#7232: Allowing users to enable/disable showing certain object properties in a list view, such as for position information, object shortcut keys, etc.
Use cases without an issue
Show all the items for the formatting dialog in a list. However, this would break accelerator shortcuts, so we probably not want this. Just wanted to bring it up
Show the add-ons in the add-ons manager in a list with check boxes, so we can get rid of the separate enable/disable button. This might be confusing for add-ons which are marked for deletion, though. But we probably can force disable the check box in that case.
Add-on authors might be interested
The text was updated successfully, but these errors were encountered:
@leonardder I understand that in a general sense this added support would be useful. However, if there is some application in particular that is using the wx.CheckListBox, or some development that is blocked by this support could you please mention it in the description of this issue?
Implements an accPropServer for NVDA to be able to use checkableLists. accPropServer is a base class users can inherit from to implement accpropServers on wx widgets.
This commit introduces
- an accessible check list box, so that each item is a checkbox. This list box only supports one column
- CheckableAutoWidthColumnListCtrl, which is a multi column supporting list control with accessible check boxes. From an accessibility perspective, this control behaves similar to the list control in Windows disk cleanup (cleanmgr).
- an abstract AccPropServer we can make other servers from. This helps with fixing accessibility, but wraps the callback you provide with exception handling code (Since comtypes seems to squelch errors).