View Single Post
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#3
class gui(threading.Thread):
__def __init__(self):
____......
____.....
____self.window.show_all()
____threading.Thread.__İnit__(self)
__def run(self):
____gtk.main()

while 1:
__print 'a'
__gui().start()

it supposed to print 'a' forever
but after the gtk window showed up it stopped
please help :/