Hey all - I asked something like this once a couple of years ago but we
solved the problem a different way. Perhaps the same can be done here...

I have a script that loads using nukescripts.panels.registerWidgetsAsPanel
and when the user starts the tool it loads a modal panel, then when closed
it starts a thread with its own progress pane. All should be closed when
the script is done.

My problem is that the original Panel only closes if it's still under the
mouse; otherwise it closes whatever tab is foremost under the mouse, and it
can take a while for the threaded part to finish.

I currently run tabClose() as a function of the class that creates the
Panel, and call it after everything is done, though it doesn't seem to
matter - there's no way to specify the tab in the tabClose() function, and
I can't find a way to ensure the focus is on the tab I want.

Thanks for the help!

Den Serras
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to