Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4880

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

Date 2011-05-07 13:02 +1100
Subject PyGTK, Glade/libglade. What am I doing wrong?
From Даниил Рыжков <daniil.re@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1280.1304733749.9059.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | Next | Find similar


Thread

PyGTK, Glade/libglade. What am I doing wrong? Даниил Рыжков <daniil.re@gmail.com> - 2011-05-07 13:02 +1100

csiph-web