[wxPython] enable/disable Button

Hi there!

I'm a newbie to wxPython and I am still trying out things. Is there a way
to enable and disable buttons in wxPython as I can do in Delphi (for
example: button1.disabled := true)? I looked through the references, but
I couldn't find information about that.

Oliver

MATFORSK - Norwegian Food Research Institute
www.matforsk.no

button1.Enable( FALSE )

See the docs for wxWindow::Enable.

HTH,
Mike

ยทยทยท

oliver.tomic@matforsk.no wrote:

Hi there!

I'm a newbie to wxPython and I am still trying out things. Is there a way
to enable and disable buttons in wxPython as I can do in Delphi (for
example: button1.disabled := true)? I looked through the references, but

...