AVWizard script based user callable events

From LinuxMCE
Revision as of 10:11, 11 April 2006 by Wikiadmin (Talk | contribs)

Jump to: navigation, search
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.
At events the possible actions that user may do:
 - $default
 Do the same as default asks;
 - $skip 
 Does nothing, skipping the default event. To call it after, you must expressly call $default code;
 - '$previous
 Close the current screen (page) and go to the previous one
 - $next ['FileName']
 Save the current items on the selected page. FileName is used to skip some 

steps in the wizard. If the wizard is in “One-Page mode” will finish the settings right here.

 - $call 'scriptname' 
 Calls one system command;
 - $next_item
 Focus on next focus-able item;
 - $previous_item
 Focus on the previous focus-able item;
 - $refresh 'FileName'  
 Reload the description form in file FileName;
 - $call_event [Object.]Event 
 Call the event of one specified control;
 - $set_property [Object].Property [= Value] 
 Set a value to one item. If there is no value written, the control will get the defaults. After that, will be called the OnPaint event, except if the control is in skipping state (given by command $skip)