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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: hreba Newsgroups: comp.lang.ada Subject: Re: GTK and tasking (GNAT) Date: Sun, 04 May 2014 18:57:11 -0300 Message-ID: References: <1db3ntu987ypk$.6zu9ghm9azm0.dlg@40tude.net> <14ydfwlh6wfe4$.1rv26jm958z.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net xY2BnQDN4Db0sbvaYOvuFA7ABDLofN9tEGWH2SOOsr9G5LETjN Cancel-Lock: sha1:kFQxBh50ZloRnWSTWGKgCpCvyx0= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:19676 Date: 2014-05-04T18:57:11-03:00 List-Id: On 05/04/2014 06:44 PM, Shark8 wrote: > On 04-May-14 15:32, hreba wrote: >> >> I am talking about calculations that can be broken down, as in my >> example at the beginning of this thread: I count from 1 to 10, update a >> text box and call delay at each iteration, but the display changes only >> after the termination of the loop. > > Then it may be a weakness of GTK*; I would expect it to have a > progress-bar object w/ such parameters as Minimum, Maximum, and Current. > > * -- I haven't ever used GTK though, so I don't know if it does or not. GTK has a progress bar, but this is not my point. I want to give feedback to the user during lengthy processing, as in my example, by updating a display element of the GUI. One choice is updating the contents of a text box. If this doesn't work then I am pretty sure that updating a progress bar wouldn't work either. -- Frank Hrebabetzky +55 / 48 / 3235 1106 Florianopolis, Brazil