Previous | Next | ||
activated
|
||
Home ▸ Documentation ▸ Smile ▸ Smile's objects ▸ Programming an object ▸ Writing an object's script ▸ activated | ||
When a window is activated (e.g. when you click on a non-front window), Smile sends a deactivated event to the object's script. of the former front window and a activated event to the object's script of the new front window. You handle activated (or deactivated) with a handler such as:on activated the_windowthe_window contains a reference to the window being activated, the owner of the script. |
Version française | ||
Copyright ©2008 Paris, Satimage |