WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-03-2005, 07:00 AM
Gilliard Gilliard is offline
Member
 
Join Date: Jul 2005
Location: Switzerland
Posts: 7
Question Tk with Vizard abnormal behaviour

You have published how to use Tk with Vizard (farshizzo, "Tk with Vizard", 06-23-2003 06:27PM , and sled, follwing days).
I have loaded tkinter.zip as indicated.
Difference : it contains now tcl84.dll / tk84.dll instead 83 as in indicated in the forum. (I use Vizard 2.51c Trial)

Behaviour : The attach example "weiganggui" , (loaded from forum, sled 06-23-2003 08:16PM) doesn't work correctly as soon as viz is called : Instead of a single dialog window, it opens then TWO windows, whose only the second has an effect ! (entries in the other seems to be ignored)

Notes :
1) I have had the same behaviour with all of my trials to use Tk (e.g. tkFileDialog.askopenfilename() ) as soone as vis.go() is called .
2) This happens ONLY when the program is started FROM WITHIN Vizard, not when I double-click on the .py file !!


Where is the trick ?
__________________
Bertrand Gilliard
Reply With Quote
  #2  
Old 08-03-2005, 07:36 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Please have a look at the following post, I believe it will help you with the problem you are experiencing.

http://www.worldviz.com/forum/showth...ht=viz.running

Let me know if this doesn't help you.
Reply With Quote
  #3  
Old 08-04-2005, 01:14 AM
Gilliard Gilliard is offline
Member
 
Join Date: Jul 2005
Location: Switzerland
Posts: 7
OK, thanks, this solve the problem !

Please, don't forgett to answer my previous question (subject "Use Vizard 2.5 with Python 2.4.1 / IDLE 1.1.1"), now with IDLE 1.0 + Python 2.3 : It could be the same problem, but where could I put the test "if viz.running(): " ?
__________________
Bertrand Gilliard
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:47 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC