Hello: 
I want to change the icon for a menu under the Nodes menu, but Nuke doesn't 
seem to want to update it using the setIcon command. 
Here's what I've tried: 


nodes=nuke.menu('Nodes') 
menu = nodes.menu('Image') 
menu.setIcon('/my/new/icon.png') 
menu.icon() 
# Result: '/my/new/icon.png' 
Yet, the image is still the same. I've tried setting the visibility true/false, 
enable/disabling it, removing the panel from the gui and adding it back, 
calling nodes.updateMenuItems()... just about anything I could think of to 
refresh that icon but it still is the old one. Is there some other way to set 
that icon that I'm just not grasping? This is in nuke 8.0v6 and 9.0v4 in linux. 

Thanks ! 
Jake 


-- 

-- 
-------------------------------------------- 
tru...@blueskystudios.com 203-992-6319 
LTD Blue Sky Studios 
-------------------------------------------- 
_______________________________________________
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