Debian Codegraph @

Docs/src/reboot.but

raw
1 \S{rebootinst} Reboot Instructions
2
3 \S2{reboot} Reboot
4
5 Reboots the computer. Be careful with this one. If it fails, \R{onrebootfailed}{.onRebootFailed} is called. In any case, this instruction never returns, just like \R{quit}{Quit}.
6
7 \c MessageBox MB_YESNO|MB_ICONQUESTION "Do you wish to reboot the system?" IDNO +2
8 \c Reboot
9
10 \S2{setrebootflag} SetRebootFlag
11
12 \c true|false
13
14 Sets the reboot flag to either true or false. The flag's value can be read using \R{ifrebootflag}{IfRebootFlag}.
15
16 \c SetRebootFlag true
17 \c IfRebootFlag 0 +2
18 \c MessageBox MB_OK "this message box will always show"