hi,<br>You forgot to show the window.So in init method of py file and add <br><br>self.window = self.wTree.get_widget("window_calculator")<br>self.window.show()<br><br><br><br>Njoy the share of Freedom,<br>Anusha Kadambala<br>
<div class="gmail_quote">On Tue, Sep 1, 2009 at 2:04 PM, Raji Seetharaman <span dir="ltr"><<a href="mailto:sraji.me@gmail.com">sraji.me@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>i tried to develop a calculator using glade and python.<br>When i run the script(python calculatorglade.py), i didn't get any errors. <br>A calculator gui is supposed to be displayed. But no window appears.<br>
With Ctrl + C, i killed it. I got the following response from the terminal<br><br>^CTraceback (most recent call last):<br> File "calculatorglade.py", line 106, in <module><br> gtk.main()<br>KeyboardInterrupt<br>
<br>The Python program is available here, <a href="http://pastebin.com/m44d2c1cb" target="_blank">http://pastebin.com/m44d2c1cb</a><br><br>The corresponding Glade xml file is available here,<a href="http://pastebin.com/m46beaac5" target="_blank">http://pastebin.com/m46beaac5</a><br>
<br>What should i do to display the gui window?<br><br>Regards<br>Raji. S<br>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br>