Sophie

Sophie

distrib > Fedora > 15 > x86_64 > by-pkgid > 0d2c760c00774fa1d350bb3c66520f68 > files > 74

GtkAda-doc-2.14.1-4.fc15.noarch.rpm


--  See own_marshallers.ads for an explanation on this package.
--
--  This demonstrates how to use the new Marshallers we created.

with Own_Marshaller;
with Gtk.Tips_Query;    use Gtk.Tips_Query;

procedure Specific_Tips is
   Tips : Gtk_Tips_Query;
begin

   --  Should create an application
   --  Should also create Tips.

   Own_Marshaller.Tips_Handlers.Connect
     (Tips, "widget_entered",
      Own_Marshaller.My_Tips_Marshaller_Pkg.To_Marshaller
      (Own_Marshaller.My_Specific_Tips'Access));

end Specific_Tips;