--
To unsubscribe, send email to wxPython-user...@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
To enable or disable a text control, use Enable() or Disable() methods of wx.TextCtrl, respectively.
They do. It's inherited from wx.Window just like Enable is.
$ pydoc wx.Window.Disable
Help on method Disable in wx.Window:
wx.Window.Disable = Disable(*args, **kwargs) unbound wx._core.Window method
Disable(self) -> bool
Disables the window, same as Enable(false).
--
Robin Dunn
Software Craftsman
http://wxPython.org
I propose using the Disable() method.
I propose using the Disable() method.
--
To unsubscribe, send email to wxPython-user...@googlegroups.com
The classes wx.Menu and wx.MenuItem should also have the .Disable() method. Robin, can you implement it in wxWidgets and thus in wxPython?
The classes wx.Menu and wx.MenuItem should also have the .Disable() method. Robin, can you implement it in wxWidgets and thus in wxPython?