It’s basically used to wrap arbitrary PyQt widgets for integration into Nuke’s 
UI.

http://docs.thefoundry.co.uk/nuke/63/pythondevguide/custom_panels.html#pyqt-knobs

There’s a pretty comprehensive code example on there, that also ships with 6.3.

-Nathan



From: villain749 
Sent: Tuesday, August 02, 2011 9:30 PM
To: [email protected] 
Subject: [Nuke-python] The Python Custom Knob

I know that this subject has come up before, but I don't feel it has ever been 
completely answered. My Question is :

What exactly is the "Python Custom Knob"?

I believe it is the same as this "nuke.PyCustom_Knob" right?

I have seen the demo where they used it to link an openGL image into the knob 
panel, but I haven't seen much else. I was hoping they would cover it in the 
nuke6.3 dev guide, but It doesn't seem to be in there either.

Has anyone here ever actually used this knob?
Could you please give a simple of example of how it works?

I have some tools, where I could really benefit from being able to attach 
arbitrary python code to them. I think that is what this knob does right?

A thousand thank you's
-scott-


--------------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to