comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Andersson <a98mican@ida.his.se>
Subject: Ada newbie!
Date: Mon, 16 Apr 2001 21:59:24 +0200
Date: 2001-04-16T19:57:01+00:00	[thread overview]
Message-ID: <3ADB4F1C.AA362C9E@ida.his.se> (raw)

Hi!
Can somebody please help me convert the following c statement to Ada?
gtk_widget_draw(GTK_WIDGET(glarea), NULL);

I tried
Gtk.Widget.Draw(glarea, NULL);
but I get the following error:
expected type access to "Gtk_Widget_Record" defined at
gtk-widget.ads:226
setup_gl.adb:88:26: found type "MyGLArea" defined at line 15


Need your help please!
/Micke




             reply	other threads:[~2001-04-16 19:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-16 19:59 Michael Andersson [this message]
2001-04-16 20:58 ` Ada newbie! 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