File: specific_tips.adb

package info (click to toggle)
libgtkada2 2.8.1-6lenny3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,496 kB
  • ctags: 3,886
  • sloc: ada: 103,189; ansic: 45,411; perl: 5,500; sh: 2,812; makefile: 1,169; xml: 19
file content (21 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

--  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;