From: Emmanuel Briot <briot@act-europe.fr>
Subject: Re: Getting started with GtkAda & Glade
Date: Mon, 03 Sep 2001 07:48:04 GMT
Date: 2001-09-03T07:48:04+00:00 [thread overview]
Message-ID: <m3ofosvhqo.fsf@lyon.act-europe.fr> (raw)
In-Reply-To: e7ebd224.0108310437.23eaeee7@posting.google.com
karlran1234@yahoo.com (Karl Ran) writes:
> Hi there,
>
> I'm trying to created a GUI with GtkAda and Glade(the RAD tool).
> It's just one window with one horizontal scale widget (Class
> GtkHScale);
> Glade create this file (window1_pkg-callbacks.adb) for me:
[...]
> -----------------------------------------------------------------
>
> What I like to accomplish is to print the current value(position) of
> the slider
> while the user is moving it.
Yes, try something like:
declare
Scale : Gtk_Scale := Gtk_Scale (Object);
begin
Put_Line ("Current_Value is "
& Gdouble'Image (Get_Value (Scale)));
end;
Emmanuel
next prev parent reply other threads:[~2001-09-03 7:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-31 12:37 Getting started with GtkAda & Glade Karl Ran
2001-09-03 7:48 ` Emmanuel Briot [this message]
2001-09-03 18:47 ` Karl Ran
2001-09-05 8:43 ` Emmanuel Briot
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox