[gtkada] Handle signals inside a tagged record

Preben Randhol randhol at pvv.org
Wed Feb 19 08:46:37 CET 2003


Martin Klaiber <martinkl at zedat.fu-berlin.de> wrote on 19/02/2003 (08:45) :
> Preben Randhol <randhol at pvv.org> wrote:
> 
> > So you must do something like this:
> 
> >    package Example_Handler is new
> >       Gtk.Handlers.User_Callback (Gtk_Button_Record,
> >                                   Examine_Record);
>                                     ^^^^^^^
> is this a typo and should be Example_Record instead?

yes a typo.

> 
> Anyway, I still get the same error-message at exactly the same point
> in the code. Is it possible on this Mailinglist that I attach an *.adb
> and *.ads-file with the code and you try to compile it? They are
> together only about 1.7kB.

yes


-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»



More information about the gtkada mailing list