K. K. Subramaniam wrote:
For adding a new button called BBB, you need to
1. add a halospec for addBBBHandle to Preferences class (see senders of addScriptorHandle: for the list)
How can I do (and undo) this programmatically?

  2. add wantsBBBHaloHandle to Morph (returning false)
3. add method addBBBHandle to HaloMorph (see addScriptorHandle: for an example). 4. Add wantsBBBHaloHandle method (returning true) and a event handler to your Morph
What do you mean by "event handler", and how do I create one for this?


See senders and implementors of addScriptorHandle: for an example.
There does not seem to be any such method.  Did you mean addScriptHandle:?

Thanks,
Aidan

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to