add double click in process list to get status, add Simulation menu entries to display data and stderr of last completed job

This commit is contained in:
stefan schippers 2023-10-24 14:28:59 +02:00
parent 82387c7f2f
commit 94b43d41ed
1 changed files with 7 additions and 0 deletions

View File

@ -463,6 +463,7 @@ proc list_running_cmds {} {
pack $frame2.xscroll -side bottom -fill x pack $frame2.xscroll -side bottom -fill x
pack $lb -side bottom -fill both -expand true pack $lb -side bottom -fill both -expand true
bind $lb <Double-Button-1> [list $frame3.b3 invoke]
button $frame3.b1 -width 16 -text {Terminate selected} -command "kill_running_cmds $lb -15" -bg yellow button $frame3.b1 -width 16 -text {Terminate selected} -command "kill_running_cmds $lb -15" -bg yellow
button $frame3.b2 -width 16 -text {Kill selected} -command "kill_running_cmds $lb -9" -bg red button $frame3.b2 -width 16 -text {Kill selected} -command "kill_running_cmds $lb -9" -bg red
button $frame3.b3 -width 16 -text {View status} -command "view_process_status $lb" -bg PaleGreen button $frame3.b3 -width 16 -text {View status} -command "view_process_status $lb" -bg PaleGreen
@ -6732,6 +6733,12 @@ proc build_widgets { {topwin {} } } {
list_running_cmds list_running_cmds
} }
} }
$topwin.menubar.simulation.menu add command -label {View last job data} -command {
viewdata $execute(data,last)
}
$topwin.menubar.simulation.menu add command -label {View last job errors} -command {
viewdata $execute(error,last)
}
$topwin.menubar.simulation.menu add command -label {Utile Stimuli Editor (GUI)} -command { $topwin.menubar.simulation.menu add command -label {Utile Stimuli Editor (GUI)} -command {
simuldir simuldir
inutile [xschem get current_dirname]/stimuli.[file rootname [file tail [xschem get schname]]] inutile [xschem get current_dirname]/stimuli.[file rootname [file tail [xschem get schname]]]