Thread
:
Multitasking and GTK with python
View Single Post
McLightning
2010-04-03 , 12:25
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 :/
__________________
Mplayer Full ShortCut List
http://www.keyxl.com/aaa2fa5/302/MPl...-shortcuts.htm
Mclightning.com
DegCal - Right Triangle Degree Calculator
Quote & Reply
|
McLightning
View Public Profile
Send a private message to McLightning
Find all posts by McLightning