[Tutor] how to temporarily disable a function
Alan Gauld
alan.gauld at btinternet.com
Thu Jul 28 09:52:47 CEST 2011
Pete O'Connell wrote:
> Hi I was wondering if there is a way to disable a function.
> Hi have a GUI grid snapping function that I use in a program called Nuke
> (the film compositing software)
simply change the binding of widget to function.
Then change it back to re-enable it.
You don't say which GUI framework you are using so we can't give sample
code but most GUIs offer a way to dynamically modify event bindings.
HTH,
Alan G.
More information about the Tutor
mailing list