
20 Dec
2010
20 Dec
'10
3:57 p.m.
On Mon, Dec 20, 2010 at 10:14 AM, Yu-Chung Wang wrote:
Is there any API which can prevent the group from editing by the users?
My situation is that I add some elements in the python extension. However, I don't want them to be changed by the users. I know that it's impossible to prevent user to delete them from the XML editor. However, I hope want to limit it from editing in the UI.
Just add a sodipodi:insensitive attribute to the group, with a value of true. This is what locks and objects (accessable through the GUI under Object Properties).
Of course, these can be unlocked via the XML editor or by Object->Unlock All.
-Rob A>