<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>HI,</FONT></DIV>
<DIV><FONT face=Arial size=2>I have searched through the mailing list for this 
problem. and its been asked numerous times. But hasn't been answered. THe only 
answer I found was for Tcl. And it doesn't seem to work for python.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm using python and vtk 4.4 and using the 
tkrenderwidget in my program. i have a button to stop the rendering. when i 
press this i get the message:</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>A TkRenderWidget is being destroyed before it 
associated vtkRenderWindow is destroyed. This is very bad and usually due to the 
order in which objects are being destroyed. Always destroy the vtkRenderWindow 
before destroying the user interface components.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have tried to delete the render window. by doing 
tkrenwidget.GetRenderWindow().Delete() but there is an attribute error. I'm not 
sure how to delete objects in python anyway. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>can anyone help me out?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Rohan</DIV></FONT></BODY></HTML>