Difference between revisions of "AVWizard script based user callable events"

From LinuxMCE
Jump to: navigation, search
Line 1: Line 1:
 
<table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table>At events the possible actions that user may do:
 
<table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table>At events the possible actions that user may do:
  - '''$default''': do the same as default asks
+
  - '''$default''': do the same as default asks;
  - '''$previous''': close the current screen and go to the previous
+
- '''$skip''': does nothing, skipping the default event. To call it after, you must expressly call $default code;
  - '''$next ['FileName']''': save the current items on the selected page. FileName is used to skip some steps in the wizzard. If the wizard is in “One-Page mode” will finish the settings right here.
+
  - '''$previous''': close the current screen and go to the previous;
  - '''$call 'scriptname' ''': calls one system command
+
  - '''$next ['FileName']''': save the current items on the selected page. FileName is used to skip some steps in the wizzard. If the wizard is in “One-Page mode” will finish the settings right here;
  - '''$next_item''': focus on next focus-able item
+
  - '''$call 'scriptname' ''': calls one system command;
  - '''$previous_item''': focus on the previous focus-able item
+
  - '''$next_item''': focus on next focus-able item;
  - '''$refresh 'FileName' ''' : reload the description form in file FileName
+
  - '''$previous_item''': focus on the previous focus-able item;
  - '''$call_event [Object.]Event''': call the event of one specified control
+
  - '''$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.
 
  - '''$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.

Revision as of 11:06, 11 April 2006

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 and go to the previous;
- $next ['FileName']: save the current items on the selected page. FileName is used to skip some steps in the wizzard. 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.