Hello sir,
After i start GUI from icc_shell, "package require Tk" command shows 8.4. So it means Tk is there. But when i execute the following script :
#!/opt//opt/ActiveTcl-8.6/lib/libtk8.6.a
package require Tk
proc push_button {} {
exec gui_set_flat_hierarchy_color -color 8 # This is ICC synopsys command
}
button .but -text "Push Me" -command "push_button"
pack .but
it shows the following error :
couldn't execute "gui_set_flat_hierarchy_color": permission denied
couldn't execute "gui_set_flat_hierarchy_color": permission denied
while executing
"exec gui_set_flat_hierarchy_color -color 8"
(procedure "push_button" line 2)
invoked from within
"push_button"
invoked from within
".but invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
"tk::ButtonUp .but"
(command bound to event)