comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Finalization of static package variables - summary
Date: Tue, 15 May 2007 19:49:48 -0500
Date: 2007-05-15T19:49:48-05:00	[thread overview]
Message-ID: <f2dkbi$9jc$1@jacob-sparre.dk> (raw)
In-Reply-To: 46461336@news.upm.es

"Manuel Collado" <m.collado@lml.ls.fi.upm.es> wrote in message
news:46461336@news.upm.es...
...
> To gain the possibility of declaring modal dialogs as static package
> variables, I've patched the JEWL sources to add a 'close()' procedure
> for modal dialogs.

As I mentioned previously, this really doesn't work: if your program has a
bug and raises an unhandled exception, it will deadlock again (and probably
not even tell you what happened!). You could try to put handlers all over
the place, but that is an amazing pain and quite fragile.

I think you either have to use JEWL as it was intended (with modal dialogs
declared in subprograms; I can't think of any good reason to declare a modal
dialog in a package anyway: it can't live very long, since it prevents
everything else from working) or switch to a different GUI library. (I'm
partial to Claw, but any of them would work.)

                                  Randy.





      reply	other threads:[~2007-05-16  0:49 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 21:55 Finalization of static package variables Manuel Collado
2007-05-09  8:13 ` Alex R. Mosteo
2007-05-09  8:20 ` Stephen Leake
2007-05-09 15:15   ` Adam Beneschan
2007-05-09 16:01     ` Markus E Leypold
2007-05-09 22:00     ` Manuel Collado
2007-05-09 23:27       ` Adam Beneschan
2007-05-10  4:52         ` Jeffrey R. Carter
2007-05-16  0:41           ` Randy Brukardt
2007-05-10  8:16         ` Alex R. Mosteo
2007-05-16  0:36         ` Randy Brukardt
2007-05-16 14:06           ` Adam Beneschan
2007-05-16 16:47             ` Jeffrey R. Carter
2007-05-16 19:10             ` Randy Brukardt
2007-05-22  4:41               ` christoph.grein
2007-05-22  6:25                 ` tmoran
2007-05-22 22:19                   ` Randy Brukardt
2007-05-10 10:57       ` Stephen Leake
2007-05-09 22:19   ` Manuel Collado
2007-05-10  5:38     ` AW: " Grein, Christoph (Fa. ESG)
2007-05-10 10:55     ` Stephen Leake
2007-05-11 18:12       ` Manuel Collado
2007-05-11 18:26         ` Robert A Duff
2007-05-12 19:17           ` Finalization of static package variables - summary Manuel Collado
2007-05-16  0:49             ` Randy Brukardt [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox