...All right, I found out a way to make a closable group:
#CREATE KNOBS...
begin = nuke.Tab_Knob('begin', 'Stuff :', nuke.TABBEGINGROUP)
...other knobs here…
end = nuke.Tab_Knob('', None, nuke.TABENDGROUP)
#ADD KNOBS…
addKnob(begin)
...other knobs here…
addKnob(end)
Now, ...how do I make the group come up as initially closed…?
Thanks,
Rich
On Apr 30, 2013, at 6:10 PM, Richard Bobo <[email protected]> wrote:
> BTW -
> For anyone who's paying attention, that should say... "EndTabGroup_Knob" at
> the end of the knob creation section…. It was just a typo when I wrote the
> email.
>
> Rich
>
>
>
> Begin forwarded message:
>
>> From: Richard Bobo <[email protected]>
>> Subject: How to create a Tab Group that's closed...?
>> Date: April 30, 2013 6:04:14 PM EDT
>> To: Nuke-Users Mailing List List Postings
>> <[email protected]>
>>
>> Hi,
>>
>> I'm stumped. I can't find any examples of how to create a closed tab group…
>>
>> I'm using Python_Panel and I have my UI knobs enclosed between group
>> begin/end knobs, with a tab knob in-between:
>>
>> #CREATE KNOBS...
>> begin = nuke.BeginTabGroup_Knob('', '')
>> tab = Tab_Knob('begin', "Stuff : ")
>> …other knobs here…
>> end = nuke.EndGroup_Knob('', '')
>>
>> #ADD KNOBS…
>> addKnob(begin)
>> addKnob(tab)
>> …other knobs here…
>> addKnob(end)
>>
>> I've tried using setFlag(nuke.CLOSED) after each of the addKnobs, but none
>> of them like it (AttributeError)...
>>
>> If someone can steer me to a solid example of how to do this the right way,
>> I'd be elated (and grateful)!
>>
>>
>> Thanks,
>> Rich
>>
>> Rich Bobo
>> Senior VFX Compositor
>> Armstrong-White
>> http://armstrong-white.com/
>>
>> Email: [email protected]
>> Mobile: (248) 840-2665
>> Web: http://richbobo.com/
>>
>> "Truth in our ideas means their power to work."
>> - William James
>>
>>
>>
>>
>>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users