PyGTK, Glade/libglade. What am I doing wrong?

Даниил Рыжков daniil.re at gmail.com
Fri May 6 22:02:26 EDT 2011


Sorry for my English (I could not find help in the Russian community)
I'm trying to learn PyGTK and Glade. I made test window in Glade and
saved it as "test.glade" (attached). Then I wrote script
"test.py"(attached, http://pastebin.com/waKytam3). I tried to run it.
While the script was executed, console did not show anything and
window wasn't displayed. When I pressed CTRL+С console displayed
trackback:
---
CTraceback (most recent call last):
  File "test.py", line 32, in <module>
    gtk.main()
KeyboardInterrupt
---
So what am I doing wrong?

-- 
Best wishes,
Daniil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 547 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20110507/0f974255/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.glade
Type: application/x-glade
Size: 385 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20110507/0f974255/attachment.bin>


More information about the Python-list mailing list