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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c3ac3ec6cab20c9,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-12 16:42:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc03.POSTED!not-for-mail From: Caffeine Junky Subject: Xlib and X11R6 bindings Newsgroups: comp.lang.ada User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: ALL Message-ID: NNTP-Posting-Host: 12.241.145.39 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc03 1031874147 12.241.145.39 (Thu, 12 Sep 2002 23:42:27 GMT) NNTP-Posting-Date: Thu, 12 Sep 2002 23:42:27 GMT Organization: AT&T Broadband Date: Thu, 12 Sep 2002 23:42:27 GMT Xref: archiver1.google.com comp.lang.ada:28889 Date: 2002-09-12T23:42:27+00:00 List-Id: Recently I've been spending some time learning to use the Xlib that comes with XFree86(version 4.1.0). I know theres a an Ada binding for X11R5, but I havent found one for X11R6. I dont have a problem with importing the C libs into my Ada program, but I was curious if there exists an Ada95 binding to X11R6. Or if there isn't a binding, if anyone would be interested in such a thing? Fankly, I dont find Xlib very difficult to use at all. However, it would be much simpler for me if there was an Ada95 binding to Xlib. Nonetheless I wouldn't go so far as creating an entirely new widget library.(There are tons of those already. Qt, GTK/GTKAda, Athena, Motif, etc...) However I might consider creating a few widgets at a somewhat more asbtract level than just as a binding to Xlib so as to take advantage of some of Ada's more useful features.(GLADE distributed objects, Protected Objects, the Safety Annex for those who might have a use for such a thing.) If I was just creating it for myself, I wouldn't care. But since I plan on making it available to others(if it turns out to be of decent quality) I'm wondering what things I should keep in mind when designing the binding. Of course I'm assuming that theres a need for such a thing.(I'm not aware of any bindings to X11R6). I know about GTKAda and the QT/Ada projects, and since I use neither GTK or QT, it would be rather pointless for me to work on such a project. Then again, maybe I shoul just forget about the project all together. Any advice from the more experienced among us? NiCad aka Caffiene Junky org/The Caffinated Corps