Hi,
if I'm using tm_dialog showing a NIB with enabled close button (red button), how can a script controlling the NIB be notified about that event?
E.g. the GetBundles script: It makes usages of some threads. If the user closes that window these threads should be killed safely. I only can do this by defining a separate button sending this event to the script and disabling the red close button.
Any suggestions?
I do not know whether this would be a way but maybe one can overwrite the 'close' method within tm_dialog which sends a message to stdout before calling super::close.
--Hans