Optional arguments in TCL are positional: in order to provide a particular argument, all arguments to the left MUST be provided as well. This must be called before any other auto refresh procedures.
When passed as an argument to
SaAutoRefresh, SaAutoRefreshIntervalCB
must appear in a list along with min and
max values (in seconds):
{SaAutoRefreshIntervalCB min max}
proc RefreshCB {cbs}
Auto Refresh -> on off ---- Interval Refresh NowNote the Interval menu option only appears if the application supplies the intervalCB to SaAutoRefresh.
If menu must be provided as a positional parameter but an actual menu is not used, it may be null: ``{}''.