gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] final re: gmBackendListener


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] final re: gmBackendListener
Date: Mon, 2 Feb 2004 14:09:54 +0100
User-agent: Mutt/1.3.22.1i

> so how would the ui update its display when the data it's displaying 
> changes, if it isn't
> via the thread that changes the data?
def on_data_updated(self):
    wxCallAfter(self._update_ui())

> It should be in the 
> documentation of gmDispatcher
> that any listener must do something like (wxCallAfter or wxPostEvent)  
> if it is a custom widget and using gmDispatcher to receive notifications 
> about model changes, in order to be thread safe;
No, it should be in *our* documentation. Feel free to add
it where appropriate.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]