comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: GtkAda using Glade
Date: Wed, 18 May 2011 23:54:10 +0200
Date: 2011-05-18T23:54:10+02:00	[thread overview]
Message-ID: <87mxijeku5.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 266ef531-1873-4fae-8214-b743e30c7c9f@22g2000prx.googlegroups.com

Gary <gedumer@gmail.com> writes:
>>> BTW... through experimentation, I have learned that Gate seemingly
>>> does not correctly convert the "delete_event" signal to a complete
>>> Ada function. I had to add the "Gtk.Main.Main_Quit" code manually to
>>> get the app to terminate properly.
>>
>> I don't think you can blame glade or gate for that.  Neither knows
>> the semantics of every signal; they emit only a skeleton
>> implementation for the signal handler; it is always up to you to make
>> the signal handlers actually do anything like, in this case, leaving
>> the GTK+ main loop.
>
> One of the docs I read stated that a directory named ".gate" is
> created when Gate is first executed which maintains a record of the
> changes you make to the generated Gate source code. Supposedly, this
> allows you to make modifications to the generated source and it will
> be re-inserted into the source files each time you modify your Glade
> output. However, I can not find such a directory on my Windows XP
> machine, and every time I rerun Glade and Gate, my changes are gone.
> Any thoughts on that?

Gate needs diff and patch to do that.  Make sure you have them
installed.  Normally, the configure script of GtkAda tries to detect the
presence of diff and patch; check the configure log to see what it
found.  If not, install diff and patch and re-run configure and the
installation procedure of GtkAda.

-- 
Ludovic Brenta.



  reply	other threads:[~2011-05-18 21:54 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 23:58 GtkAda using Glade Gary
2011-05-18  1:14 ` John B. Matthews
2011-05-18 11:56 ` J-P. Rosen
2011-05-18 13:58   ` Gary
2011-05-18 17:25     ` Dmitry A. Kazakov
2011-05-18 18:24       ` Gary
2011-05-18 18:27         ` Ludovic Brenta
2011-05-18 18:42           ` Gary
2011-05-18 21:54             ` Ludovic Brenta [this message]
2011-05-18 22:09               ` Gary
2011-05-18 23:15                 ` Ludovic Brenta
2011-05-19  1:52                   ` Gary
2011-05-19  5:25               ` J-P. Rosen
2011-05-19  9:23                 ` Manuel Collado
2011-05-19  9:57                   ` J-P. Rosen
2011-05-18 20:19         ` Dmitry A. Kazakov
2011-05-18 20:45           ` Gary
2011-05-19  7:36             ` Dmitry A. Kazakov
2011-05-19 10:02               ` J-P. Rosen
2011-05-19 10:28                 ` Dmitry A. Kazakov
2011-05-19 15:53                   ` J-P. Rosen
2011-05-19 22:57                     ` Gary
2011-05-20  0:54                 ` Yannick Duchêne (Hibou57)
2011-05-20  1:41                 ` Nasser M. Abbasi
2011-05-20  7:19                   ` Dmitry A. Kazakov
2011-05-20  7:34                     ` Nasser M. Abbasi
2011-05-20  7:45                       ` Dmitry A. Kazakov
2011-05-20  0:26               ` Gautier write-only
2011-05-20  7:25                 ` Dmitry A. Kazakov
2011-05-20  9:50                   ` Yannick Duchêne (Hibou57)
2011-05-22  6:22                   ` Gautier write-only
2011-05-22  7:04                   ` Gautier write-only
2011-05-22  8:16                     ` Dmitry A. Kazakov
2011-05-20  0:49               ` Yannick Duchêne (Hibou57)
2011-05-20  7:36                 ` Dmitry A. Kazakov
2011-05-20  8:01                 ` Georg Bauhaus
2011-05-20 10:00                   ` Yannick Duchêne (Hibou57)
2011-05-20 12:55                     ` Georg Bauhaus
2011-05-19  5:18         ` J-P. Rosen
2011-05-19  5:12     ` J-P. Rosen
2011-05-18 23:31 ` Rick
2011-05-19  1:52   ` Gary
replies disabled

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