could you post a working minimal example? If I remember corectly I have
once tried this and it worked....
On 03/30/2012 12:26 AM, adamchryDTS wrote:
Hi all,
I have a pyside GUI which works fine if i run it from Nuke's script
editor.
So i placed it in a nuke menu and when executed from the menu, the GUI
appears but all the signal/slot code is ignored.
Here is how i call the gui in the menu.py . Is there another method?
m.addCommand("Make Sequence Based Nuke File", "gui().show()",
icon="test_icon.png")
If i change my gui script so that gui executing is not wrapped in a
function, then my signals/slots do work when gui is executed from the
menu but, i can only run the GUI once. If i try again, the GUI won't
appear.
Anyone else experienced this?
Nuke 6.3v6 on Windows
------------------------------------------------------------------------
-A
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Sebastian Elsner - pipeline td - r i s e | fx
t: +49 30 20180300 [email protected]
www.risefx.com
r i s e | fx GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python