From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: GTk3 without the Gtkbuilder and Glad Date: Mon, 13 Jun 2016 08:50:30 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <575b0403$0$12046$e4fe514c@news.kpn.nl> <575bcceb$0$28281$e4fe514c@news.kpn.nl> <575d15b6$0$28284$e4fe514c@news.kpn.nl> <575e6384$0$12013$e4fe514c@news.kpn.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 13 Jun 2016 15:50:35 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="48b46be33beed75863f69afa437f956b"; logging-data="20221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eG/Cs1EB/+hZ3luFHAtQsploKKg1YNmM=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <575e6384$0$12013$e4fe514c@news.kpn.nl> Cancel-Lock: sha1:SNogwi2dI9nJE0dOKfym2TMnnw0= X-Enigmail-Draft-Status: N1110 Xref: news.eternal-september.org comp.lang.ada:30715 Date: 2016-06-13T08:50:30-07:00 List-Id: On 06/13/2016 12:40 AM, ldries46 wrote: > You are correct, this worked. > I thought that because Main_Window_Record was an instantation of > Gtk_window_record that should also do the trick and was more clear for the reader. Gtk_Window_Record isn't a generic, so I presume you mean "extension" rather than "instantiation". I gave you what Mine_Detector has because it works. It might also work to instantiate Return_Callback with Main_Window_Record and make the Object parameter of the callback function be "access Main_Window_Record'Class". I haven't tried that and so don't know for sure. -- Jeff Carter "One day he told me he was a gynecologist. He couldn't speak no foreign languages." Take the Money and Run 147