On Mon, Nov 14, 2005 at 09:56:36AM +0800, [EMAIL PROTECTED] wrote: > Point is, it's worth coming up with a general solution for non-modal popups. Definitely.
> Probably a case for the SOAP widget responding to a > gmDispatcher event to add notes. That's a very hard case to crack cleanly (or I lack the insight, of course). > However popups still need to know > which episode was active when they were instantiated (not when they issue the > event) I tried passing it through the stack but you didn't like this, I agree > it's ugly but I can't think of a better way. Yep, that's the misery. One *could* use custom listeners, that are keyed by the instance of the popup, eg during popup generation a unique dispatcher queue is generated which is -- something like a named pipe ... :-) The popup would issue *that* event, only the generating progress note widget would listen to *that* event. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 _______________________________________________ Gnumed-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnumed-devel
