Python and glade program - without errors but didn't display anything
anuhacks at gmail.com
Tue Sep 1 12:13:35 CEST 2009
You forgot to show the window.So in init method of py file and add
self.window = self.wTree.get_widget("window_calculator")
Njoy the share of Freedom,
On Tue, Sep 1, 2009 at 2:04 PM, Raji Seetharaman <sraji.me at 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>
> The Python program is available here, http://pastebin.com/m44d2c1cb
> The corresponding Glade xml file is available here,
> What should i do to display the gui window?
> Raji. S
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list