From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac39a12d5faf5b14 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-23 10:29:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsin.iconnet.net!feed.tor.primus.ca!feed.nntp.primus.ca!newsfeed.torontointernetxchange.net!radon.golden.net!news1.tor.metronet.ca!nnrp1.tor.metronet.ca!not-for-mail Message-ID: <3CC5997E.4040904@home.com> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Wish List : Ada95 to FOX References: <3CB46975.90408@snafu.de> <5ee5b646.0204121930.64733eeb@posting.google.com> <5wTt8.15598$C21.3515342@news6-win.server.ntlworld.com> <5ee5b646.0204130620.114953ae@posting.google.com> <4519e058.0204180615.150e4bef@posting.google.com> <357f0f4aab2ac8ef39234c96f0ab6311.48257@mygate.mailgate.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 23 Apr 2002 17:27:27 GMT NNTP-Posting-Host: 198.96.47.195 NNTP-Posting-Date: Tue, 23 Apr 2002 11:27:27 MDT Organization: MetroNet Communications Group Inc. Xref: archiver1.google.com comp.lang.ada:22996 Date: 2002-04-23T17:27:27+00:00 List-Id: rc211v wrote: > On Thu, 18 Apr 2002 18:35:28 +0000 (UTC), "Kent Paul Dolan" > wrote: >>Java is by design OS >>independent, contributing to breaking the stranglehold of MS-Windows on >>the market of "things needed to run applications". > > Java is _by_design_ a marketing product in search of a real problem to > solve. > > I've recently discovered a very nice portable graphics library, FOX. > > The goal of it's designer is: "Write Once, Compile Anywhere" ... > > For those who want to take a look go to http://fox-toolkit.org . Just > download the calculator demo. You will be impressed. I like the fact that FOX does not use the precompiler MOC approach that Qt did. It would be reeeeaaal nice (hint) to have an Ada95 binding to this. I havn't looked at it in detail, so I don't know how practical this is (written in C++). One area that has traditionally been a sore point in Ada and GUIs is the client_data parameter in callbacks. Gtk kind of hacks around this, but I'd like to see a more perfect (Ada95) solution to this problem. I like the idea of requiring a base tagged type as the client data parameter (classwide?), which defaults to an dummy instance base type when none is provided. To actually provide user data, the user would derive from the base type, and pass that instead when establishing the callback. Within the callback, the user would re-cast the base_type to the type that the callback was actually expecting to get. This way, if the tagged type provided was not correct for the "cast", an exception would occur and type safety is maintained. I think FOX might permit this type of a binding to be accomplished. I also like the fact that FOX is designed to permit dynamic messaging between widgets. Qt and MFC for example, are fixed at compile time by MOC/macros AFAI know. -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg