ogl onclick action ?

hello,

I want to connect an action to the "onclick" event of an ogl shape,
to create a push button.
How can that be done ?

thanks,
Stef Mientki

Stef Mientki wrote:

hello,

I want to connect an action to the "onclick" event of an ogl shape,
to create a push button.
How can that be done ?

Derive a new class and override the OnLeftClick method.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Stef Mientki wrote:

hello,

I want to connect an action to the "onclick" event of an ogl shape,
to create a push button.
How can that be done ?

Derive a new class and override the OnLeftClick method.

ah, so simple, indeeds works like a charm !

thanks very much Robin !

cheers,

Stef Mientki

Kamer van Koophandel - handelsregister 41055629 / Netherlands Chamber of Commerce - trade register 41055629