comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gtkada3 callback function & failure : subprogram must not be deeper than access type
Date: Fri, 1 Nov 2019 19:57:15 +0100
Date: 2019-11-01T19:57:15+01:00	[thread overview]
Message-ID: <qphv68$19fm$1@gioia.aioe.org> (raw)
In-Reply-To: eaff9b38-2379-476b-ac3e-67e756b10dbf@googlegroups.com

On 2019-11-01 19:30, Alain De Vos wrote:
> For callback functions there are 3 methods and one with data.
> For the first method I try a program with one button
> Connecting the button with the handler fails with the error :
>>>>> subprogram must not be deeper than access type

You can convert the access type. But I will not post how to do this, 
because it is bad style and idea.

Move On_Button_Click to a package and it will compile.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

      parent reply	other threads:[~2019-11-01 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-01 18:30 gtkada3 callback function & failure : subprogram must not be deeper than access type Alain De Vos
2019-11-01 18:47 ` Shark8
2019-11-01 18:57 ` Dmitry A. Kazakov [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