From: randhol+abuse@pvv.org (Preben Randhol)
Subject: Re: Newbie again!
Date: Tue, 17 Apr 2001 10:49:18 +0000 (UTC)
Date: 2001-04-17T10:49:18+00:00 [thread overview]
Message-ID: <slrn9do7us.de.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 3ADC1B69.44A391C8@ida.his.se
On Tue, 17 Apr 2001 12:31:05 +0200, Michael Andersson wrote:
>Hi!
>I've looked at the c-code from the zktor.c examples that comes with
>gtkglarea and I want to convert the following c-statements to Ada:
>gtk_idle_add((GtkFunction)animate, glarea);
>
>and
>gtk_widget_draw(GTK_WIDGET(glarea), NULL);
>
>When trying to do this I get the following error message from gnatmake:
>expected type "Gdk_Rectangle" defined at gdk-rectangle.ads:34
>found an access type
>"Idle_Add" not declared in "Gtk"
What is in line 34 ?
Can you please post the Ada source so it is easier to see what you are
doing? :-)
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
�For me, Ada95 puts back the joy in programming.�
prev parent reply other threads:[~2001-04-17 10:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-17 10:31 Newbie again! Michael Andersson
2001-04-17 10:49 ` Preben Randhol [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox