comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: A community Windows binding
Date: Thu, 07 Oct 2004 17:37:41 GMT
Date: 2004-10-07T17:37:41+00:00	[thread overview]
Message-ID: <F9f9d.5205$UP1.1607@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <Rde9d.31929$HO1.1294033@news20.bellglobal.com>

Warren W. Gay VE3WWG wrote:

> JEWL when I looked at it last (>= yr) was nice and simple. As a
> GUI training vehicle, I don't think you can beat it (unless you
> insist on training on callbacks). I don't believe that JEWL's
> design goals were such that it ever should be a General Purpose
> interface for GUI. Problems such as the inability to redirect a
> focus to a specific widget limits its wider use.

JEWL is very nice for its purpose, which is instruction and fairly 
simple windowing on Windows. It was never intended to be complete, and 
is pure GPL.

> There was a thread on the GUIs & callbacks sometime ago, where I
> believe MDC was quite vocal. Callbacks are a pain, but there aren't
> too many practical alternatives. The big main loop that JEWL uses, is
> one such alternative, but I am not convinced this scales well to
> larger projects.

Between callbacks and the single queue of events for all windows of JEWL 
is an approach more suited to concurrent languages: multiple queues, one 
per top-level window, with the assumption of one task per queue/window. 
There should be the ability to select what events will be put in the 
queue, and the possibility to combine queues when a window doesn't merit 
its own task. Such an approach should scale better than JEWL's single 
queue, and be more readable than callbacks.

What would be ideal would be an Ada-centric windowing library, with 
implementations based on Win32, X, and the like.

-- 
Jeff Carter
"Run away! Run away!"
Monty Python and the Holy Grail
58




  reply	other threads:[~2004-10-07 17:37 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <usm8shkul.fsf@acm.org>
2004-10-05 23:28 ` A community Windows binding Stephen Leake
2004-10-06  4:26   ` David Botton
2004-10-06 17:42     ` Jeffrey Carter
2004-10-07 16:33       ` Warren W. Gay VE3WWG
2004-10-07 17:37         ` Jeffrey Carter [this message]
2004-10-08  2:39           ` Alexander E. Kopilovich
2004-10-08  2:43           ` Nick Roberts
2004-10-08  4:56             ` tmoran
2004-10-08 23:17             ` chris
2004-10-09  1:31             ` Jeffrey Carter
2004-10-09  1:36             ` Jeffrey Carter
2004-10-09  3:15               ` Steve
2004-10-09  6:23                 ` tmoran
     [not found]                 ` <z7ybd.26154$hk6.998363@news20.bellglobal.com>
2004-10-15  1:12                   ` Stephen Leake
2004-10-15 20:36                     ` David Botton
2004-10-17 13:25                       ` Stephane Riviere
2004-10-09 13:20               ` Stephen Leake
2004-10-10  9:04                 ` CBFalconer
2004-10-10 14:39                   ` Stephen Leake
2004-10-14 16:54                     ` Warren W. Gay VE3WWG
2004-10-14 16:53                   ` Warren W. Gay VE3WWG
2004-10-10  3:38               ` David Botton
2004-10-14 16:46             ` Warren W. Gay VE3WWG
     [not found]           ` <rSftVP19_F@VB1162.spb.edu>
2004-10-08  8:18             ` Marius Amado Alves
2004-10-08  1:36         ` Stephen Leake
2004-10-06  4:28   ` CBFalconer
2004-10-06  6:02     ` tmoran
2004-10-06 11:35     ` Georg Bauhaus
2004-10-06 14:04       ` Steve
2004-10-06  6:22   ` Fionn mac Cuimhaill
2004-10-06 17:18   ` Nick Roberts
2004-10-07  6:38   ` Frank Piron
2004-10-07  9:44   ` Ross Higson
2004-10-07 16:39     ` Warren W. Gay VE3WWG
2004-10-07 22:27       ` Ross Higson
     [not found] <41664D4E.7040405@netcabo.pt>
2004-10-08 21:38 ` Alexander E. Kopilovich
     [not found] <uacv0hhj0.fsf_-_@acm.org>
2004-10-10 18:05 ` Stephen Leake
2004-10-10 18:17   ` Andre
2004-10-10 20:55     ` tmoran
2004-10-11  0:34   ` David Botton
2004-10-11  0:39   ` David Botton
replies disabled

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