Examples
Screen "My
Collection of python scripts" : center, color blue, border
item "Admin Section" menu 1 : color red
item "Email Bug Report" action execute "./mail_report.py"
: color red
item "Quit" action quit
.
Screen "Admin
Section" : center, color red, bold, border
item "Change password" display action execute "./change_pw.py"
item "Do some stuff" action execute "some_stuff.py"
: color red
item "Main Menu" menu 0
item "Quit" action quit
.
Screen
"Call some C functions, used in partial mode" : center, border
item "Check the stats" action call "check_stats()"
item "Check network" display action call "check_network()"
item "Query Server" action call "query_server(\"localhost\")"
item "Quit" action quit
.
Screen
"For future use, soon to come input!" : bold, border
item "Soon well have input" input action call "get_input()"
item "Not here yet though" display action call "lazy_bastard()"
item "Exit" action quit
|