From 94b43d41ed928724d17930dad808f592e731d615 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 24 Oct 2023 14:28:59 +0200 Subject: [PATCH] add double click in process list to get status, add Simulation menu entries to display data and stderr of last completed job --- src/xschem.tcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xschem.tcl b/src/xschem.tcl index 016a18f2..1bb38e9d 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -463,6 +463,7 @@ proc list_running_cmds {} { pack $frame2.xscroll -side bottom -fill x pack $lb -side bottom -fill both -expand true + bind $lb [list $frame3.b3 invoke] 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.b3 -width 16 -text {View status} -command "view_process_status $lb" -bg PaleGreen @@ -6732,6 +6733,12 @@ proc build_widgets { {topwin {} } } { 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 { simuldir inutile [xschem get current_dirname]/stimuli.[file rootname [file tail [xschem get schname]]]