mini-application |
19/11/2009 |
Ceci est exemple simple de lanceur d'applications.
#!/usr/bin/wish
frame .launchpad
button .launchpad.button1 -text "studiosqlite" -command {exec /usr/local/bin/tksqlite &}
pack .launchpad.button1 -side top -fill x
button .launchpad.button2 -text "ToDo List" -command {exec cmd /c "C:\\prog\\todo-manager-0.75.1\\todo-manager.pyw" &}
pack .launchpad.button2 -side top -fill x
button .launchpad.button3 -text "console" -command {exec cmd /c c:\\winnt\\system32\\cmd.exe &}
pack .launchpad.button3 -side top -fill x
button .launchpad.button4 -text "quitter" -command { exit }
pack .launchpad.button4 -side top -fill x
pack .launchpad -side top
#console hide
fonctions