Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedding windows

Status
Not open for further replies.

Vinx76

Programmer
Jan 26, 2007
5
ES
Hi all
I've some problems in embedding a ds9 application (ds9 is a software for visualize astronomical images) into a window tcl/tk.
My script is :

package require BLT
namespace import blt::*
toplevel .ds9
wm title .ds9 "QuickLook DS9"
wm geometry .ds9 800x860
set Ds9 "/usr/local/bin/ds9 -view buttons no"
pack [frame .ds9.fr1] -anchor nw -fill y
container .ds9.fr1.c -takefocus 1 -width 620 -height 860 -bg white
eval bgexec MyVar $Ds9 &
.ds9.fr1.c find -command "$Ds9"
update
.ds9.fr1.c configure -relief raised -bd 0 -name "SAOImage ds9"
pack .ds9.fr1.c -fill both

Sometime this procedure work without problems and some other the ds9 result not docked.
I don't know how to solve this!
Help me please!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top