From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: GTk3 without the Gtkbuilder and Glad
Date: Sun, 12 Jun 2016 10:10:50 -0700
Date: 2016-06-12T10:10:50-07:00 [thread overview]
Message-ID: <njk52u$jmg$1@dont-email.me> (raw)
In-Reply-To: <575d15b6$0$28284$e4fe514c@news.kpn.nl>
On 06/12/2016 12:50 AM, ldries46 wrote:
>
> package Windows_Callback is new
> Gtk.Handlers.Return_Callback (Main_Window_Record, boolean);
>
> Windows_Callback.Connect(MainWindow, "delete_event",
> Windows_Callback.To_Marshaller(On_Window_Destroy'Access));
>
> function On_Window_Destroy (Object : access Gtk_Window_Record'Class;
> Event : Gdk.Event.Gdk_Event) return Boolean;
The only remaining difference I can see is that Mine_Detector instantiates
Return_Callback with Gtk_Window_Record, while you instantiate it with
Main_Window_Record.
--
Jeff Carter
"What I wouldn't give for a large sock with horse manure in it."
Annie Hall
42
next prev parent reply other threads:[~2016-06-12 17:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 18:16 GTk3 without the Gtkbuilder and Glad ldries46
2016-06-10 18:38 ` Jeffrey R. Carter
[not found] ` <575bcceb$0$28281$e4fe514c@news.kpn.nl>
2016-06-11 17:38 ` Jeffrey R. Carter
2016-06-12 7:50 ` ldries46
2016-06-12 17:10 ` Jeffrey R. Carter [this message]
2016-06-13 7:40 ` ldries46
2016-06-13 15:50 ` Jeffrey R. Carter
2016-06-10 19:55 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox