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=0.3 required=5.0 tests=BAYES_00,STOX_REPLY_TYPE, STOX_REPLY_TYPE_WITHOUT_QUOTES,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,136d550bc630ca91,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.190.104 with SMTP id gp8mr16451pbc.4.1340292962670; Thu, 21 Jun 2012 08:36:02 -0700 (PDT) Path: l9ni3645pbj.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!feeder2.ecngs.de!ecngs!feeder.ecngs.de!border1.nntp.ams.giganews.com!nntp.giganews.com!feed.xsnews.nl!ramfeed-1.ams.xsnews.nl!post-feeder-02.xsnews.nl!frontend-F10-06.ams.news.kpn.nl From: "ldries46" Newsgroups: comp.lang.ada Subject: Drawing in a Gtk Ada window. Date: Thu, 21 Jun 2012 17:35:12 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 Message-ID: <4fe33f9f$0$3796$703f8584@news.kpn.nl> Organization: KPN.com NNTP-Posting-Host: 77.168.179.107 X-Trace: 1340293023 news.kpn.nl 3796 77.168.179.107@kpn/77.168.179.107:49839 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Date: 2012-06-21T17:35:12+02:00 List-Id: I want to draw a number of lines in an Gtk Window with Ada. which kind of View should I use (Textview??, doesn't look logical). I need to create the basic User interface with Glade. I looked at Cairo as was suggested in a Gtk forum but I thank that is shooting with a canon at a fly. I just need to create some elementary figures like straight lines in different thickness and characters, randomly positioned, in different colors. Furthermore I need to read the exact position of the mouse. L. Dries