Thread
:
wxPython Help
View Single Post
May 28th, 2006, 8:04 PM
#
10
Sane
Programming Guru
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power:
5
Wow, all I did was dir() the button and found a method called disable. Apparently all wxWidgets support this method:
(
Toggle Plain Text
)
but_cancel = wx.Button(panel, ID_CANCEL, "Cancel") but_cancel.Disable()
but_cancel = wx.Button(panel, ID_CANCEL, "Cancel") but_cancel.Disable()
I'm having other difficulties, but I won't bother asking.
Sane
View Public Profile
Find More Posts by Sane