When I try to add a menu to the Nuke menu, I can either have the text, or
the icon, but not both together.

It is not a problem of finding the icon as the icon loads fine, but
unfortunately, when I specify an icon as part of the command, it seems to
drop the menu name.  If I add the icon after creating the menu, it replaces
the menu text as well.

I've tried the following on v7, v8:

nuke.menu('Nuke').addMenu('Foo', icon='foo.png')

and

foo = nuke.menu('Nuke').addMenu('Foo')
foo.setIcon('foo.png')


I want to believe I'm missing something very obvious.  Any pointer is
welcome.

Thanks.
nico

-- 
"Attention, attention. Here and now, boys," the mynah repeated. "Here and
now, boys."
_______________________________________________
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