From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3af4bf9fdc8875b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-03 00:48:05 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!oleane.net!oleane!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mail Sender: briot@lyon.act-europe.fr Newsgroups: comp.lang.ada Subject: Re: Getting started with GtkAda & Glade References: From: Emmanuel Briot Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Sep 2001 07:48:04 GMT NNTP-Posting-Host: 213.228.58.160 X-Complaints-To: abuse@proxad.net X-Trace: nnrp4.proxad.net 999503284 213.228.58.160 (Mon, 03 Sep 2001 09:48:04 CEST) NNTP-Posting-Date: Mon, 03 Sep 2001 09:48:04 CEST Organization: Guest of ProXad - France Xref: archiver1.google.com comp.lang.ada:12647 Date: 2001-09-03T07:48:04+00:00 List-Id: 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