[gtkada] CONSTRAINT_ERROR

manuel.op.de.coul at eon-benelux.com manuel.op.de.coul at eon-benelux.com
Wed Jan 23 14:47:12 CET 2002


I was thinking the same. It's easy to forget that the
parameter of the Initialize procedure is not the same
as the pointer in the package spec because they have
the same name and are in the same scope.
In some cases I copy it inside Initialize to be able
to call a subprogram in the Callbacks child package.
Like this

   My_Dialog_Pkg.My_Dialog := My_Dialog_Access(My_Dialog);
   -- Now connect callbacks which may execute immediately.

Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20020123/718727b9/attachment.htm 


More information about the gtkada mailing list