Thread: wxPython Help
View Single Post
Old May 28th, 2006, 8:04 PM   #10
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Wow, all I did was dir() the button and found a method called disable. Apparently all wxWidgets support this method:

        but_cancel   = wx.Button(panel, ID_CANCEL, "Cancel")
        but_cancel.Disable()

I'm having other difficulties, but I won't bother asking.
Sane is offline   Reply With Quote