On May 6, 2011 7:05 PM, "Даниил Рыжков" <daniil...@gmail.com> wrote: > > 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? >
I haven't used gtk before, but is there a show method or something similar you need, to actually make the window appear? The KeyboardInterrupt is normal. That's how control-c works. > -- > Best wishes, > Daniil > > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list