Hi,

is there a way to add a knob outside/below a Tab_Knob? In the attached
example I would like to have the button called "button" appear below the
tab knob. Currently it ends up in the second tab.

I've searched for a way to end a tab but haven't found anything. I realise
I could use groups, but I'm not that excited about that solution.


class tmp_Panel(nukescripts.PythonPanel):

def __init__(self):
nukescripts.PythonPanel.__init__(self, "tmp")

self.first_tab = nuke.Tab_Knob("first", "first")
self.a = nuke.String_Knob("a", "a")
self.second_tab = nuke.Tab_Knob("second", "second")
self.b = nuke.String_Knob("b", "b")

self.btn = nuke.PyScript_Knob("btn", "button")

for i in [self.first_tab, self.a, self.second_tab, self.b, self.btn]:
self.addKnob(i)


p = tmp_Panel()
p.showModalDialog()


-------------------------------
Simon Björk
Compositor/TD

+46 (0)70-2859503
www.bjorkvisuals.com
_______________________________________________
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