comp.lang.ada
 help / color / mirror / Atom feed
From: Oliver Doerler <oliver.doerler@novatek.de>
Subject: GtkAda Problem
Date: Sat, 17 Jul 2004 18:05:38 +0200
Date: 2004-07-17T18:05:38+02:00	[thread overview]
Message-ID: <cdbipf$aus$07$1@news.t-online.com> (raw)

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



             reply	other threads:[~2004-07-17 16:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-17 16:05 Oliver Doerler [this message]
2004-07-17 16:11 ` Sorry wrong Def.! Oliver Doerler
2004-07-17 17:38 ` GtkAda Problem Björn Persson
2004-07-17 20:00   ` Nick Roberts
2004-07-17 22:40     ` Jeffrey Carter
2004-07-18  0:01       ` Nick Roberts
2004-07-18 11:29         ` Simon Wright
2004-07-18 14:17           ` Nick Roberts
2004-07-19 19:55             ` Warren W. Gay VE3WWG
2004-07-19 21:58               ` Ludovic Brenta
2004-07-19 22:59                 ` Ed Falis
2004-07-20 16:58                 ` Warren W. Gay VE3WWG
2004-07-20 18:14               ` Nick Roberts
2004-07-19 23:55         ` Randy Brukardt
2004-07-17 17:44 ` Nick Roberts
2004-07-21 20:15 ` Oliver Doerler
  -- strict thread matches above, loose matches on Subject: below --
2003-01-07 11:45 gtkada problem Evangelista Sami
2003-01-07 18:46 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox