[gtkada] Addressing external data in a GUI

Rick Duley 30294025 at student.murdoch.edu.au
Tue May 31 08:41:33 CEST 2005


Hi folks

I think the penny might just have dropped.

GtkAda imports C routines.  Therefore: the only way to address data from (say)
callbacks is to have a public (global in C) access type (pointer in C) to the
data visible to the callback.  In other words, write Ada code to pull C tricks!

Is this right?
-------------------------------------------
"Professional qualitative judgement
   consists in knowing the rules
     for using (or occasionally breaking)
       the rules."
                            D. Royce Sadler
-------------------------------------------
Rick Duley
Murdoch University
School of Engineering Science
Perth, Western Australia
http://eng.murdoch.edu.au/~rick
aussie : 040 910 6049                .-_|\
o'seas : + 61 40 910 6049           /     \
                              perth *_.-._/
                                         v






More information about the gtkada mailing list