Disabling button:
abutton = wxButton(self, -1)
abutton.Enable(FALSE)
or
abutton.Disable()
wxWindow class has this methods(Disable and Enable). (wxButton is
a subclass of wxWindow)
Atti
Disabling button:
abutton = wxButton(self, -1)
abutton.Enable(FALSE)
or
abutton.Disable()
wxWindow class has this methods(Disable and Enable). (wxButton is
a subclass of wxWindow)
Atti
abutton.Disable()
wxWindow class has this methods(Disable and Enable). (wxButton is
a subclass of wxWindow)
Last time I tried Disable it didn't work. You had to use Enable(false).
(I think it just wasn't implemented in the wxPython wrapper.)
Roger
Roger Binns wrote:
abutton.Disable()
wxWindow class has this methods(Disable and Enable). (wxButton is
a subclass of wxWindow)Last time I tried Disable it didn't work. You had to use Enable(false). (I think it just wasn't implemented in the wxPython wrapper.)
Oops! I thought it was. It is now.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!