add a wizard attribute pos="after" to <code> to execute code after a step is finished
[enigma2.git] / data / tutorialwizard.xml
1 <wizard>
2                 <step number="1">
3                         <text value="By pressing the OK Button on your remote control, the info bar is being displayed." />
4                         <code>
5 from Screens.InfoBar import InfoBar
6 self.infobardialog = self.session.instantiateDialog(InfoBar)
7 self.infobardialog.hideTimer.stop()
8 self.infobardialog.instance.show()
9                         </code>
10                         <code pos="after">
11 self.infobardialog.instance.hide()
12 del self.infobardialog
13                         </code>
14
15                 </step>
16                 <step number="2">
17                         <text value="This is step number 2." />
18                 </step>
19 </wizard>