Hi Li,

to change the context menu of an object you can override the method "morphMenu".
By changing it in the WorldMorph, you can change the default world menu.

You can override methods per instance, by subclassing or by adapting the behavior in the base classes.

I made a little documentation page for you, I hope it explains your questions:

http://lively-kernel.org/repository/lively-wiki/documentation/classes.xhtml


Best,

Jens


Am 14.10.10 13:09, schrieb Li Zhou:

How to change the popup menu, I would like to add some help information on the popup menu.!!! On Thu, Oct 14, 2010 at 4:23 AM, Li Zhou <[email protected] <mailto:[email protected]>> wrote:

    Hi there

    How to add event handle to element like double click an object?
    How to write javascript code on lively kernel?

    Li



_______________________________________________
lively-kernel mailing list
[email protected]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

Reply via email to