On dimanche 17 août 2008, John Ehresman wrote:
Threads in gtk+ on Windows have significant limitations -- please see
http://faq.pygtk.org/index.py?req=showfile=faq21.003.htp
As I said in another discussion, I had problems with my papywizard app -
that's why I was looking for windows
on Windows. They run only on
Linux.
FWIW My Threading applications work fine on Windows when I follow the
procedure described at
http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/
I prefer this approach over the threads_enter/leave approach anyway.
John
Do you
Vláďa wrote:
... I'm absolutely new to threads, I understand what are they good for, but
unfortunately I have
almost no idea about the consequences and the problems they bring. ...
Seeing as you're absolutely new to threads, I'll just make sure that
you are aware of the inherent
/page0.html freeze for me
right after start on Windows. They run only on Linux.
FWIW My Threading applications work fine on Windows when I follow the
procedure described at
http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/
I prefer this approach over the threads_enter
Hello,
I'm looking for an up to date information about threading in PyGTK. I
found some tutorials on net, but they look outdated to me. The one
example which worked after some modifications is this:
[code]
import pygtk
pygtk.require('2.0')
import gtk
from threading import *
import time
import
Vláďa wrote:
[...]
However the are some things which are unclear to me. First I read that I
have to use gtk.gdk.threads_enter() and gtk.gdk.threads_leave() whenever
I want to modify something in main GUI. But if I remove these commands I
don't see any change. It still works. What exactly
,m;for(;c15;c++)for
(m=-1;m7;putchar(m++/6c%3/2?10:s[c]-311m?42:32));}
#!/usr/bin/env python
# PyGTK 1.99.13 threading bug workaround
# (c) 2002 William R Sowerbutts [EMAIL PROTECTED]
import pygtk
pygtk.require(2.0)
import gtk
import os
import fcntl
import threading, thread
import
Hi.
This discussion has inspired me to create a PyGTK Threading/Networking
example.
Basically it's a chat application. It's comprised of two windows, the
first lets you choose two ports, the one you'll be listening on, and the
one you'll be sending on. The next window is a label, a text