[gtkada] Contribution: using GtkAda from Ada tasks

Emmanuel Briot briot at adacore.com
Mon Jul 17 09:56:25 CEST 2006


On Monday 17 July 2006 09:51, Dmitry A. Kazakov wrote:
>    -- Standard GTK stuff
>    package Handlers is new Gtk.Handlers.Callback (Gtk_Widget_Record);
>
>    package Return_Handlers is
>       new Gtk.Handlers.Return_Callback
>           (  Widget_Type => Gtk_Widget_Record,
>              Return_Type => Boolean
>           );

Just a quick comment on the example: the above too packages are already 
instantiated in GtkAda.Handlers. This might simplify your code somewhat if 
you want.

Emmanuel



More information about the gtkada mailing list