Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Stepping
Last updated at 2:10 pm UTC on 16 April 2005
Morphic's stepping mechanism is used to make morphs lively. Simply implement a step method in your morph class, and that method will run once per second. If you implement stepTime, you can cause it to execute at a rate other than once per second. See class Morph for other stepping methods that are available.

If you want to enliven an application that is not using custom subclasses of Morph, you can also use the ability of SystemWindow's to step their model. Set your application as a model of some system window on the display, implement wantsStepsIn: to return true, and then implement a step method and possible a stepTimeIn: method.