Thanks. This has been much better.
2010/12/20 Rob Antonishen <rob.antonishen@...400...>:
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>
Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel