|
Home
FAQ
Mail
Directory
|
|
|
|
Callbacks
Radio UserLand's Instant Outliner supports callbacks, that hook into existing functionality, allowing you to customize the way it works. Callbacks are scripts that you put in well-known places that are called at well-defined times, with parameters that let your scripts know what's happening.
Each section on this page describes a callback. Right now, there's only one, but as more are added, they will be documented here.
user.radio.outliner.callbacks.subscriptionChanged 
Called by: radio.outliner.poll
Parameters: adrsub, the address of a table in user.radio.outliner.subscriptions, which contains information about the outline.
How it works: Scripts in this table are called when an outline that you've subscribed to has changed. You can use the callbacks to do customized notification, or take some action based on which outline was updated. The return value is ignored.

|