On 05/12/2013 at 21:10, xxxxxxxx wrote:
I have a command Data PlugIn with an Icon assigned within the RegisterCommandPlugin.
This PlugIn works as a toggle for a message Data PlugIn. Now I want the icon to be switched to a new one, when I press the PlugIn Button. Found some information on how to toggle Menu Buttons but no idea for the the plugin icon...
Btw, is it a save and proper way to store settings of a plugin (in this case the toggle state) within the Document Container with the PluginID? So it gets loaded with the scene file...
doc.GetDataInstance().SetData(PLUGIN_ID, 1)
For more settings to be saved, I would create a new SubContainer at the Plugin Id?