oh, duh, i just had to put something after root.mainloop()<br><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 6:42 PM, inhahe &lt;<a href="mailto:inhahe@gmail.com">inhahe@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I tried doing root.bind(&quot;&lt;Destroy&gt;&quot;,onquit)<br>but i don&#39;t get why onquit is called *18* times when I exit the app.<br>what&#39;s the ideal way to execute something *once* when the app is exited?<br>Thanks,<br>
<font color="#888888">
inhahe<br><br><br>
</font></blockquote></div><br>