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,bfb0b9f73a13c53e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-18 02:00:31 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.stueberl.de!news-FFM2.ecrc.net!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Xlib Binding or Re-implementation? Date: Thu, 18 Mar 2004 10:00:30 +0000 (UTC) Organization: PVV Message-ID: References: <985cbdf6.0403161320.7d1e090c@posting.google.com> <985cbdf6.0403171511.15aa1cfc@posting.google.com> NNTP-Posting-Host: k-083152.nt.ntnu.no X-Trace: tyfon.itea.ntnu.no 1079604030 29346 129.241.83.152 (18 Mar 2004 10:00:30 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 18 Mar 2004 10:00:30 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:6394 Date: 2004-03-18T10:00:30+00:00 List-Id: On 2004-03-17, Ben Atkin wrote: >> X11 binding: >> >> http://www.adapower.com/lab/adax.html > > I'll check it out, thanks. > >> What is it that you don't like about Gtk? > > It isn't Gtk in particular. It's that GUI libraries for 'nix, other > than Qt, don't encourage good GUI design principles. In fact, if you > compile their examples on GTK's website, you will get a broken GUI. By > broken I mean that pressing Esc doesn't close a dialog box, and > pressing Enter in a single-line text field doesn't cause the default > button to be pressed and the appropriate action to be taken. It would be very nice if you report the problems. At least I would be interested. > Plus, GTK programs are full of other types of bugs, many of which > could be prevented by using something other than type-unsafe macros, > leading to spaghetti code. And GtkAda programs? Don't look at GTK programs programmed in C. C program will crash regardless of the GUI. Of course I would also like to have all libraries written in Ada, the problem is that then everybody else must use Ada. I don't see this happing. Of course I could only use the Ada library, but to introduce a new GUI which does things differently than the others makes things inconsistent. Now this said. I would rather have Gwindow or Claw ported to work on Linux and Mac OS, than a new library. I don't want to put you off what you want to do, but it is a huge task. > Part of me wants to jump on the GTK bandwagon, and help things > progress toward a standard. But what I really want to progress toward > is having well-designed GUI's. That would be great. -- Preben Randhol -------- http://www.pvv.org/~randhol/ () "Violence is the last refuge of the incompetent" /\ - Isaac Asimov