[gtkada] Addressing external data in a GUI

Emmanuel Briot briot at adacore.com
Tue May 31 10:00:46 CEST 2005


> The only solution apparent to me is to pass aliased access types to the 
> relevant
> packages and to access them globally from the callbacks.  This does not 
> appear
> to me to be sound Ada practice, but I cannot see any other way.

There is not a single global variable in GPS used for that purpose, so I 
am sure you are not using the right technics.


> What I _would_ appreciate is direction to the relevant part of the UG - 
> which I
> have obviously overlooked - and, perhaps, an accessible example of how the
> technique is employed.

Start with "4.3 Handling user data".



More information about the gtkada mailing list