[gtkada] Initialize_Widget() of Gtk_Dial.adb in the Tutorial
Ben Fisk
ben_fisk at hotmail.com
Fri Dec 28 23:10:46 CET 2007
Dmitry;
Thanks for your response, but please wait a minute before you dismiss my work.
The site from which I downloaded the tutorial is as follows:
https://libre.adacore.com/GtkAda/
About 2/3rds down the page is the link for the public to pick up the tutorial:
"Gtkada tutorial examples."
In there, under the "gtkdial" directory is the "gtk_dial.adb" file. If you go to line 131 there is a line:
Initialize_Widgets(). Is it possible that you are using a version that is not the one that is published through the Libre site?
This one does not compile for me, but I have been able to compile a number of other Gtkada applications.
I am new to Gtkada, but not to programming. Please take a look at this to see if it is the same version that you are using.
Thanks.
Ben
----------------------------------------
> From: mailbox at dmitry-kazakov.de
> To: gtkada at lists.adacore.com
> Date: Fri, 28 Dec 2007 22:33:53 +0100
> Subject: Re: [gtkada] Initialize_Widget() of Gtk_Dial.adb in the Tutorial
>
> On Fri, 28 Dec 2007 11:52:17 -0800, you wrote:
>
>> The Gtk_Dial application did not compile. I traced part of the problem to a mysterious function:
>>
>> Initialize_Widget()
>>
>> which shows up on line 131 of Gtk_Dial.adb.
>
> With GtkAda 2.10.0 it compiles and works just fine.
>
> BTW, the line 131 is
>
> Gtk_New (Adj, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
>
> there.
>
> Happy New Year!
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
> _______________________________________________
> gtkada mailing list
> gtkada at lists.adacore.com
> http://lists.adacore.com/mailman/listinfo/gtkada
_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007
More information about the gtkada
mailing list