Piet van Oostrum wrote:
>> Asterix (A) a écrit:
>
>> A> Hi,
>> A> Here is a small class I use in my GTK application, to do some job in a
>> A> thread.:
>
>> A> class ThreadInterface:
>> A>def __init__(self, func, func_args, callback, callback_args):
>> A> '''Call a function in a th
> Asterix (A) a écrit:
>A> Hi,
>A> Here is a small class I use in my GTK application, to do some job in a
>A> thread.:
>A> class ThreadInterface:
>A>def __init__(self, func, func_args, callback, callback_args):
>A> '''Call a function in a thread and then call callback'''
>A>
Hi,
Here is a small class I use in my GTK application, to do some job in a
thread.:
class ThreadInterface:
def __init__(self, func, func_args, callback, callback_args):
'''Call a function in a thread and then call callback'''
def thread_function(func, func_args, callback, callback_