On Mon, 2010-11-15 at 12:21 +0100, MD or MD wrote:
Hi.
I am a spanish programmer and I start with pyGtk.
And I try to make a example that it is a simple window that blink a
button with two colours, for test events and threads. But I don't know
how to send custom event.
Calling GTK code
Ok, thanks ( ^ _ ^ ) . At the end I create a example that run fine:
import pygtk
pygtk.require('2.0')
import gtk
import gobject
import threading
import time
gobject.threads_init()
class Test(threading.Thread):
def __init__(self):
super(Test, self).__init__()