[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] inter-module communication
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] inter-module communication |
Date: |
Thu, 5 Sep 2002 00:26:21 +0200 |
User-agent: |
Mutt/1.3.22.1i |
> To go back to your question regarding "initial state": the initial state of a
> widget is usually blank, or otherwise defined in the widgets constructor.
> When constructed, a widget simply registers it's interest in certain data
> with the dispatcher. On notification by dispatcher, it then either queries
> the backend directly or an abstract cache object in order to get the data to
> update itself.
Or it does same without waiting for notification. Which only
works for the abstract cache object approach, though, since a
widget need not have a way to know which, say, patient to get
from the backend.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346