From: David Botton <david@botton.com>
Subject: Re: Gnoga Callback Handlers with user data
Date: Sun, 22 Nov 2015 07:42:23 -0800 (PST)
Date: 2015-11-22T07:42:23-08:00 [thread overview]
Message-ID: <5f76d6a8-f733-4f36-89df-56eefcd795f8@googlegroups.com> (raw)
In-Reply-To: <a9594ffb-7548-48f5-9e77-0230202a5aa5@googlegroups.com>
The handler will be receiving Object a class-wide object as its parameter which contains the actual Ada Object (in this case the My_Button instance) bound to the button. So you can just check to see if Object is My_Button or any other button using Ada or you can compare Unique_IDs (if My_Button.Unique_ID = Object.Unique_ID).
You should join the Gnoga list https://lists.sourceforge.net/lists/listinfo/gnoga-list
next prev parent reply other threads:[~2015-11-22 15:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-22 11:53 Gnoga Callback Handlers with user data slos
2015-11-22 15:42 ` David Botton [this message]
2015-11-22 21:44 ` slos
2015-11-23 0:50 ` David Botton
2015-11-23 10:44 ` slos
2015-11-23 17:24 ` David Botton
2015-11-23 22:12 ` slos
2015-11-23 23:34 ` David Botton
2015-11-25 8:00 ` slos
2015-11-23 17:41 ` Jeffrey R. Carter
2015-11-23 22:19 ` slos
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox