GtkAda Problem
From: Oliver Doerler (oliver.doerler_at_novatek.de)
Date: 07/17/04
- Next message: Oliver Doerler: "Sorry wrong Def.!"
- Previous message: Robert I. Eachus: "Re: reading a text file into a string"
- Next in thread: Oliver Doerler: "Sorry wrong Def.!"
- Reply: Oliver Doerler: "Sorry wrong Def.!"
- Reply: Björn Persson: "Re: GtkAda Problem"
- Reply: Nick Roberts: "Re: GtkAda Problem"
- Reply: Oliver Doerler: "Re: GtkAda Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 17 Jul 2004 18:05:38 +0200
Hi!
Problem with GtkAda in Gtk.Main...
Def. from http://libre.act-europe.fr/GtkAda/docs/gtkada_rm_102.html#SEC444
---------------------------------
type Idle_Callback is access function return Boolean;
function Timeout_Add
(Interval : in Guint32;
Func : Timeout_Callback)
return Timeout_Handler_Id;
---------------------------------
My Code:
---------------------------------
function fidle return boolean is
begin
Gtk.Fixed.Move (Container, Lkw, 40, 40);
return true;
end fidle;
fidle_id := Gtk.Main.Idle_Add (fidle'access);
----------------------------------
gnatmake Message:
=>subprogram must not be deeper than access type
I can't see my misstake... help?! :)
Thanks!
Oliver Doerler
- Next message: Oliver Doerler: "Sorry wrong Def.!"
- Previous message: Robert I. Eachus: "Re: reading a text file into a string"
- Next in thread: Oliver Doerler: "Sorry wrong Def.!"
- Reply: Oliver Doerler: "Sorry wrong Def.!"
- Reply: Björn Persson: "Re: GtkAda Problem"
- Reply: Nick Roberts: "Re: GtkAda Problem"
- Reply: Oliver Doerler: "Re: GtkAda Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]