info-inventor
[Top] [All Lists]

SoXt::mainLoop();

To: info-inventor@xxxxxxxxxxx
Subject: SoXt::mainLoop();
From: Jarek Rzepecki <jarekr@xxxxxxxx>
Date: Tue, 20 Aug 2002 16:11:00 -0500 (CDT)
Sender: owner-inventor@xxxxxxxxxxx
Hello!,
        I have the following problem. I want to lunch standard OIV viewer
(SoXtExaminerViewer) from an application that uses tcl/tk. I would like
to be able to press tk button that would open OIV window. That is quite
easy to do but after Viewer window is created the SoXt::mainLoop(); is
called and it runs forever. So I can not give back control to tcl/tk main
function (Tk_Main) Is there a way to solve this problem. I can for example
use tcl/tk to view OIV scene but I would like to have
SoXtExaminerViewer... May be there is something I can replace
SoXt::mainLoop
with?

 thank you,
 cheers,
        Jarek


                                        Jaroslaw Rzepecki
                                        Fermilab
                                        Dorm 4 / 48
                                        P O Box 500
                                        Batavia, IL 60510
                                        USA

                                        BD/Beam Physics Dept.
                                        630-840-3976 (office)
                                        630-840-4906 (home)
                                        e-mail: jarekr@xxxxxxxx
                                        or    : jarekr@xxxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>