comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder)
Date: Tue, 18 Aug 2015 23:05:28 +0100
Date: 2015-08-18T23:05:28+01:00	[thread overview]
Message-ID: <lyr3n01cd3.fsf@pushface.org> (raw)
In-Reply-To: tqudnSbtRZu0-E7InZ2dnUVZ5rmdnZ2d@giganews.com

Norman Worth <nworth@comcastNOSPAM.net> writes:

> Somebody mentioned using Tcl/Tk for the GUI.  A decent binding does
> exist.  I was at the conference where it was introduced several years
> ago.  The results are nice, and Tk is a nice interface to work with,
> but the code for the Ada/Tk combination is pretty ugly.

See https://sourceforge.net/projects/tcladashell/.

Personally I'd write the HCI in Tcl/Tk and run it from an interpreter
which has been extended to support the application.

Writing Ada code that supports Tcl commands to provide input to the
application is straightforward, as it is for commands to get output from
the application.

For a long time I put up with polling the application to detect changes,
but in January 2014 I wrote Tcl.Async:

   Tcl.Async supports writing Tcl variables from Ada. This is especially
   important if the Ada code isn't running in the same thread as the Tcl
   interpreter.

   You can use the 'trace' facility in Tcl to detect when such a write
   has taken place.


      reply	other threads:[~2015-08-18 22:05 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10 10:24 GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder) Trish Cayetano
2015-08-10 12:17 ` Dmitry A. Kazakov
2015-08-11 11:15   ` Stephen Leake
2015-08-11 11:52     ` Dmitry A. Kazakov
2015-08-10 14:36 ` Maciej Sobczak
2015-08-12 21:00   ` erlo
2015-08-12 21:48     ` Jeffrey R. Carter
2015-08-13 19:45       ` erlo
2015-08-13  8:58   ` sjaniska
2015-08-13 11:59     ` Dmitry A. Kazakov
2015-08-13 12:09       ` sjaniska
2015-08-13 12:50         ` Dmitry A. Kazakov
2015-08-13 12:56           ` sjaniska
2015-08-13 13:42             ` Dmitry A. Kazakov
2015-08-14 12:59               ` brbarkstrom
2015-08-14 13:26                 ` Dmitry A. Kazakov
2015-08-15  9:17                   ` Trish Cayetano
2015-08-15  9:32                     ` Dmitry A. Kazakov
2015-08-15 10:21                       ` ryne rico
2015-08-15 10:29                         ` Trish Cayetano
2015-08-15 10:58                         ` Dmitry A. Kazakov
2015-08-15 11:47                           ` ryne rico
2015-08-15 11:51                             ` Pascal Obry
2015-08-15 12:21                               ` ryne rico
2015-08-15 12:41                                 ` Pascal Obry
2015-08-15 12:54                                 ` Dmitry A. Kazakov
2015-08-15 13:03                                   ` ryne rico
2015-08-15 13:07                                   ` ryne rico
2015-08-15 13:34                                     ` Dmitry A. Kazakov
2015-08-15 17:41                                       ` Anh Vo
2015-08-15 19:27                                         ` Dmitry A. Kazakov
2015-08-16 15:37                                           ` ryne rico
2015-08-16 16:08                                             ` Dmitry A. Kazakov
2015-08-17  8:23                                             ` AdaMagica
2015-08-18  0:14 ` isaac1.0
2015-08-18  7:12   ` Dmitry A. Kazakov
2015-08-18  8:45   ` Jerry
2015-08-19 14:36   ` David Botton
2015-08-27 10:43     ` gautier_niouzes
2015-08-18 17:02 ` Norman Worth
2015-08-18 22:05   ` Simon Wright [this message]
replies disabled

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