contents   index   previous   next



interface: SEPutCallback

 

   public boolean put(SEContext se, int prop);

 

This callback is used whenever any of the object’s members is being put to. Like the get callback, the parameter prop indicates the property being updated. The value being put to that property is the first (and only) parameter to the callback, SE.ARGS,SE.NUM(0). Also like get, you return true if you've handled the put operation and false if you still want ScriptEase to update its internal storage for the object in the regular way.

 

Like the other dynamic callbacks, the put callback for your object is turned off while inside of it. However, it is usually better to make this behavior irrelevent by always using the Direct versions of the ScriptEase API calls inside a dynamic callback.

 


interface: SEHasPropCallback