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

2011-05-07 Thread Alister Ware
On Sat, 07 May 2011 15:14:07 +1100, Даниил Рыжков wrote: Thanks, Cristian! It works. List of Pygtk: http://www.daa.com.au/mailman/listinfo/pygtk Thanks again. Subscribed :) 2011/5/7 craf pyclut...@gmail.com: Hi. Try this: #!/usr/bin/env python import gtk.glade class TestPyGtk:    

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

2011-05-06 Thread Даниил Рыжков
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,

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

2011-05-06 Thread Benjamin Kaplan
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,

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

2011-05-06 Thread Даниил Рыжков
I haven't used gtk before, but is there a show method or something similar you need, to actually make the window appear? I don't know. I think self.wTree = gtk.glade.XML(self.gladefile) should do this. For example, author of this tutorial

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

2011-05-06 Thread craf
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,

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

2011-05-06 Thread Даниил Рыжков
Thanks, Cristian! It works. List of Pygtk: http://www.daa.com.au/mailman/listinfo/pygtk Thanks again. Subscribed :) 2011/5/7 craf pyclut...@gmail.com: Hi. Try this: #!/usr/bin/env python import gtk.glade class TestPyGtk:    This is an Hello World GTK application    def __init__(self):