[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] problem with UI/logic separation
From: |
Horst Herb |
Subject: |
Re: [Gnumed-devel] problem with UI/logic separation |
Date: |
Mon, 16 Feb 2004 11:27:07 +1100 |
User-agent: |
KMail/1.5.93 |
On Mon, 16 Feb 2004 09:28, Karsten Hilbert wrote:
> What's the "best"/accepted way to deal with this: non-GUI code
> needs to make GUI functions run but has no good way of simply
> returning with an error so that the (GUI level) caller can
> take appropriate action ?
Use messages via gmDispatcher. It is GUI independent and can be used by all
modules.
Just register interest in certain events, and let the modules react if such
event happens.
Horst
Re: [Gnumed-devel] problem with UI/logic separation, Hilmar Berger, 2004/02/23