wxbutton

Robert Amesz sheershion at mailexpire.com
Sun Oct 13 00:48:41 CEST 2002


hellprout wrote:

> hi i just want to know what can i do to have a wxbutton disabled
> and after you can have a wxbutton enabled 

use
    YourButton.Enable(true)
or
    YourButton.Enable(false)

If you're wondering why this isn't documented you'd be jumping to a 
wrong conclusion: it _is_ documented, but you need to look in the docs 
for the wxWindow base class.

Also note that the Disable() method - supposedly the exact equivalent 
of Enable(false) - was broken last time I used it, so beware.


Robert Amesz



More information about the Python-list mailing list