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 X-Google-Attributes: gid103376,public From: toni@andercheran.aiind.upv.es (Antonio Villalon) Subject: Re: Ada libs to X11 Date: 1998/12/09 Message-ID: <74kn40$r6t$1@polaris.cc.upv.es>#1/1 X-Deja-AN: 420280165 References: <74d2jm$2ss$1@polaris.cc.upv.es> <74f6g3$3nf$2@polaris.cc.upv.es> <74gu1c$n5h$1@nnrp1.dejanews.com> X-Complaints-To: news@news.upv.es X-Trace: polaris.cc.upv.es 913170368 27869 158.42.22.41 (9 Dec 1998 02:26:08 GMT) Organization: ETSII - Universidad Politecnica de Valencia NNTP-Posting-Date: 9 Dec 1998 02:26:08 GMT Newsgroups: comp.lang.ada Date: 1998-12-09T02:26:08+00:00 List-Id: Hello, dennison@telepath.com wrote: : What you may want to do is use a Canvas. Canvases allow you to place and : manipulate things like rectangles, circles, oval, polygons, custom bitmaps, : etc. From those primitives you can make displays and controls look pretty : much any way you want. In your case, a rectangle with a filled rectangle : inside sounds like it would foot the bill. You can dynamicly change the : height of the inner rectangle when you need to. Yes, I've tried a canvas...Creating and using a canvas with Tk is very easy... the problem comes when trying it with AdaTk... we return to the same, the lack of documentantion about the libraries : If you need to do a lot of custom stuff like this, I'd highly suggest you get : one of the many TK GUI builders available. I'd also suggest you invest in a : good TK reference book. A TK GUI is something I hadn't thought about...I'll take a look to find one and try to use it, many thanks... And about a Tk book, I have some and also on-line tutorials...but return to the same: creating and using a canvas is easy under Tk, but not under AdaTk :( Thanks very much, 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 #############