![]() |
![]() |
![]() |
![]() |
$notify
Synopsis
Description
$notify lists details about all notifications on an object. A notification contains a list of events that a method has requested on an object.
If a notification has a value changed event, it indicates that the method will be executed when the value of this object is changed.
If a notification has an instance or de-instance event, it indicates that the method will be executed when the object is created or destroyed.
If a notification has a read or write event, it indicates this method has specified the read or write attributes for this object. If one method reads this object, and another writes this object, the read method is given a dependency on the write object.
For each notification, AVS/Express prints the following information:
The pathname of the context argument of that method. This is usually the object that the method is associated with.
Notifications are often modified by a template object that indicates which subobjects of the current object are involved in this notification.
This is a list of the names of the events this method requested for this object. The events are:
This indicates whether or not there are special modes associated with this notification. Modes are:
Examples
OM(SingleWindowApp) -> UIbutton button;
OM(SingleWindowApp) -> $notify button.label
------ object: Root.Applications.SingleWindowApp.button.label will notify:
function : SingleWindowApp.button.update
with context : SingleWindowApp.button
using template: <null>
on events : value changed
with mode : (keep refcnt)
![]() |
![]() |
![]() |
![]() |