[pygtk] Re: Glade Application Examples?

2005-10-14 Thread Chris Spencer
Steve McClure wrote: On Fri, 2005-10-14 at 01:25 -0400, Chris Spencer wrote: I've been using Glade to design some Gnome applications. However, I've been having an extremely difficult time trying to load the glade file with pyGTK. The few examples I've found only cover extremely simple GTK progr

Re: [pygtk] Problem during installation of pygtk 2.8.1-error: could not find Python headers

2005-10-14 Thread Carol Spears
On Fri, Oct 14, 2005 at 04:22:43PM +0200, Massimiliano Malloni wrote: > When I make the ./configure I receive this message : > > checking for python script directory... ${prefix}/lib/python2.4/site-packages > checking for python extension module directory... > ${exec_prefix}/lib/python2.4/site-pac

Re: [pygtk] Problem during installation of pygtk 2.8.1-error: could not find Python headers

2005-10-14 Thread Le Boulanger Yann
Massimiliano Malloni wrote: checking for python... /usr/bin/python checking for python version... 2.4 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.4/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.4

[pygtk] Problem during installation of pygtk 2.8.1-error: could not find Python headers

2005-10-14 Thread Massimiliano Malloni
When I make the ./configure I receive this message : [EMAIL PROTECTED] pygtk-2.8.1]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of

Re: [pygtk] idle_add and source_remove combination can cause freeze.

2005-10-14 Thread Dave Aitel
Antoon Pardon wrote: On Fri, Oct 14, 2005 at 08:28:46AM -0400, Dave Aitel wrote: Make sure you're not on debian using the 2.6 kernel - their threading library is totally hosed, and pyGTK and heavy threads does manage to freeze up or crash when using it. (As would any heavily threaded app I

Re: [pygtk] idle_add and source_remove combination can cause freeze.

2005-10-14 Thread Antoon Pardon
On Fri, Oct 14, 2005 at 08:28:46AM -0400, Dave Aitel wrote: > Make sure you're not on debian using the 2.6 kernel - their threading > library is totally hosed, and pyGTK and heavy threads does manage to > freeze up or crash when using it. (As would any heavily threaded app I > imagine) Switchin

Re: [pygtk] idle_add and source_remove combination can cause freeze.

2005-10-14 Thread Dave Aitel
Make sure you're not on debian using the 2.6 kernel - their threading library is totally hosed, and pyGTK and heavy threads does manage to freeze up or crash when using it. (As would any heavily threaded app I imagine) -dave Antoon Pardon wrote: In experimenting with threads I found that a

[pygtk] idle_add and source_remove combination can cause freeze.

2005-10-14 Thread Antoon Pardon
In experimenting with threads I found that a combination of gobject.source_remove and gobject.idle_add can freeze the application. The program below will freeze on my machine if it is running long enough. It does seem very sensitive to the sleeptime value. Increasing that to 0.01 makes it less li

Re: [pygtk] Glade Application Examples?

2005-10-14 Thread Steve McClure
On Fri, 2005-10-14 at 01:25 -0400, Chris Spencer wrote: > I've been using Glade to design some Gnome applications. However, I've > been having an extremely difficult time trying to load the glade file > with pyGTK. The few examples I've found only cover extremely simple GTK > programs. When I try t