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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,408b62d6800b8830,start X-Google-Attributes: gid103376,public From: toni@andercheran.aiind.upv.es (Antonio Villalon) Subject: Ada libs to X11 Date: 1998/12/06 Message-ID: <74d2jm$2ss$1@polaris.cc.upv.es>#1/1 X-Deja-AN: 419136821 X-Complaints-To: news@news.upv.es X-Trace: polaris.cc.upv.es 912919990 2972 158.42.22.41 (6 Dec 1998 04:53:10 GMT) Organization: ETSII - Universidad Politecnica de Valencia NNTP-Posting-Date: 6 Dec 1998 04:53:10 GMT Newsgroups: comp.lang.ada Date: 1998-12-06T04:53:10+00:00 List-Id: Hello all, I'm trying to develop a RT control system for the temperature and level of a tank. I have to develop also the graphical interface to the control system using Ada and X11, and here come the problems. I'v tried to write this GUI using two libraries: first, with AdaTk (tash800), I have not been able to draw a simple rectangle on a toplevel window. I've tried using the 'Button' widget, but I think it's not a good solution. Second, with GtkAda, I'm on the same problem. I discarded X11Ada for other reasons, so I have to use GtkAda or AdaTk. I really don't believe there is no way to draw a simple rectangle changing its level when calling functions, because I've seen both libraries are flexible and, well, let's call them 'powerful' (for example, writing the code for a sophisticated group of buttons packed all together is very easy). I really think my problem is only due to my inexperience with Ada. Does someone know of a good reference for AdaTk or GtkAda? The only documentation I've seen is the source code for .ads's, and some small examples for AdaTk. I'm looking desesperately for a book, an URL, an article... explaining the use of both libraries , or at least for more source code using some of them. Any answer would be appreciated. Thanks in advance, Toni -- ############################################################################# # Toni Villalon # # TELNET andercheran.aiind.upv.es 2895 for PGP Public Key # ############################################################################# # 'When you say "I wrote a program that crashed Windows", people just stare # # at you blankly and say "Hey, I got those with the system, *for free*".' # # Linus Torvalds # ############# This .signature is written in 100% recycled bytes #############