Jump to content

gwinDetachToggle bug


Steffen

Recommended Posts

Hi,

i tried using gwinDetachToggle to temporarily disable some buttons. While that does work fine i'm not able to enable the same button again with gwinAttachToggle despite the return code indicating success. The affected button no longer sends its button event after attaching again and the "pressed" graphic also does not show.

Only if i comment out the call to geventDetachSource in the gwinDetachToggle implementation it will work as expected, so i guess something gets messy with the listener there. I suppose the person in the linked post below ran into the same issue.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...