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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Where to find Ada GTK example programs to try? Date: Fri, 8 May 2020 09:52:56 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <87r1vv2vg6.fsf@samuel> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 8 May 2020 09:52:56 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="33a9fd48514ba6d091b219ef7ba8ac03"; logging-data="20467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HQJryprtwy/22gYCXNtNzYJ+ZmDE0dRw=" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Cancel-Lock: sha1:6+Qcz67+cjvL/JDks8fDgPQ2CnU= Xref: reader01.eternal-september.org comp.lang.ada:58631 Date: 2020-05-08T09:52:56+00:00 List-Id: On Fri, 08 May 2020 01:10:01 +0200, Ludovic Brenta wrote: > "Nasser M. Abbasi" writes: >> I'd like to try to make GUI with Ada. I assume the best choice is to >> use GTK? >> >> http://docs.adacore.com/live/wave/gtkada/html/gtkada_ug/ getting_started.html >> http://docs.adacore.com/live/wave/gtkada/html/gtkada_ug/index.html >> >> Any one knows of an actual Ada GUI applications, ready to run, >> that I can download, install, and run just to see how they look and >> feel? > > GtkAda comes with testgtk which is intended both as a test program for > all widgets and as a demo. If you use the Debian package, do > > tar xzf /usr/share/doc/libgtkada*-dev/examples/testgtk.tgz > > in a source directory that you create. A while back I put together a little harness intended to help me get started with features extracted from TestGTK. Having found something useful (e.g. na example of a scrolling text window), this harness lets you extract that one feature from testgtk and build it as a simple standalone application, focussing ONLY on the selected feature. It's a starting point for working with it and incorporating it into your own code. Probably no interest to experienced Gtkada programmers, but I found it helpful as a beginner. https://github.com/Brian-Drummond/testgtk_harness -- Brian