comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Closing a program with GTK
Date: Thu, 22 Sep 2011 09:20:11 +0200
Date: 2011-09-22T09:20:11+02:00	[thread overview]
Message-ID: <ec116uy7j718$.1urzzp7i6tpth$.dlg@40tude.net> (raw)
In-Reply-To: 4e7a8d90$0$5570$703f8584@news.kpn.nl

On Thu, 22 Sep 2011 03:21:00 +0200, ldries46 wrote:

See:

http://rosettacode.org/wiki/Simple_windowed_application#Ada

for proper handling of application exiting. In particular,
Gtk.Main.Main_Quit must be called from Destroy handler. Delete event
handler must return False.
 
> When debugging in GPS I found that the message is generated in the 
> gtk_object package in the Destroy routine at the moment that you enter the 
> Internal routine with the Step button

You cannot debug Gtk applications in the debugger. Use tracing and error
Glib logging.
 
-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-09-22  7:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22  1:21 Closing a program with GTK ldries46
2011-09-22  7:20 ` Dmitry A. Kazakov [this message]
2011-09-22 10:24   ` ldries46
2011-09-22 12:07     ` Dmitry A. Kazakov
2011-09-22 12:36       ` ldries46
2011-09-22 13:48         ` Dmitry A. Kazakov
2012-07-26 21:59           ` Jack Mitchell
2011-09-22 23:06         ` Randy Brukardt
replies disabled

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