[nvda-addons] wx.TextCtrl label

  • From: Alberto Buffolino <a.buffolino@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Wed, 14 Aug 2013 00:37:30 +0200

Hi all,
I'm a absolute noob about GUI and wxPython, I just created two checkboxes, and (surprisingly) they work. But now I need to an edit field, and I have a problem. Ah, obviously all in a globalPlugin context.
I chose wx.TextCtrl, and created the control, then set its max length:
self._control=wx.TextCtrl(self, name="controlTextCtrl")
self._control.SetMaxLength(1)
The problem is that I have no label on the field. I tried also SetLabel method:
self._control.SetLabel("controlLabel")
but nothing changes.
I suspect this is a problem of NVDA or of wxPython accessibility. Is there a solution or a workaround?
Thanks in advance.
Alberto
----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts: