comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Where to find Ada GTK example programs to try?
Date: Fri, 8 May 2020 09:52:56 -0000 (UTC)
Date: 2020-05-08T09:52:56+00:00	[thread overview]
Message-ID: <r93a5o$jvj$1@dont-email.me> (raw)
In-Reply-To: 87r1vv2vg6.fsf@samuel

On Fri, 08 May 2020 01:10:01 +0200, Ludovic Brenta wrote:

> "Nasser M. Abbasi" <nma@12000.org> 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

  reply	other threads:[~2020-05-08  9:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 22:21 Where to find Ada GTK example programs to try? Nasser M. Abbasi
2020-05-07 23:10 ` Ludovic Brenta
2020-05-08  9:52   ` Brian Drummond [this message]
2020-05-08  6:19 ` Dmitry A. Kazakov
2020-05-08 20:02   ` Nasser M. Abbasi
2020-05-08 21:18     ` Ludovic Brenta
2020-05-08 21:39     ` Dmitry A. Kazakov
2020-05-09  0:38       ` Game programming in Ada (was: Where to find Ada GTK example programs to try?) Ludovic Brenta
2020-05-10 19:40     ` Where to find Ada GTK example programs to try? Optikos
2020-05-09  9:47 ` Jeffrey R. Carter
2020-05-09 14:59 ` mgr
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox