hi,
You forgot to show the window.So in init method of py file and add

self.window = self.wTree.get_widget("window_calculator")
self.window.show()



Njoy the share of Freedom,
Anusha Kadambala
On Tue, Sep 1, 2009 at 2:04 PM, Raji Seetharaman <sraji...@gmail.com> wrote:

> Hi all,
> i tried to develop a calculator using glade and python.
> When i run the script(python calculatorglade.py), i didn't get any errors.
> A calculator gui is supposed  to be displayed. But no window appears.
> With Ctrl + C, i killed it. I got the following response from the terminal
>
> ^CTraceback (most recent call last):
>   File "calculatorglade.py", line 106, in <module>
>     gtk.main()
> KeyboardInterrupt
>
> The Python program is available here, http://pastebin.com/m44d2c1cb
>
> The corresponding Glade xml file is available here,
> http://pastebin.com/m46beaac5
>
> What should i do to display the gui window?
>
> Regards
> Raji. S
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to