Jump to content

Recommended Posts

Posted

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.

Posted

Thanks. I worked around this by just disabling the buttons which actually works even better for my use case, so there's no hurry on this from my side. But of course it still should be looked at :)

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...