liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Liberty-eiffel] Timers on Liberty Eiffel


From: Paolo Redaelli
Subject: Re: [Liberty-eiffel] Timers on Liberty Eiffel
Date: Sun, 17 Apr 2016 22:33:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0

Il 17/04/2016 21:41, Germán A. Arias ha scritto:
> El sáb, 16-04-2016 a las 23:39 +0200, Raphael Mack escribió:
>> Hi,
>>
>> take a look at the sequencer. There you'll find the possibility to add
>> events some time in future...
>>
>> It is not trivial to use, but in tutorial you'll find some examples on
>> it.
>>
>> Regards,
>> Rapha
>>
>>
> Thanks Rapha. My intention is create an example to show the use of
> IUP_PROGRESS_BAR in eiffel-iup. Initially I thought in a kind of timer
> to show the progress of the bar. I adapted one of the examples in
> sequencer directory, but don't work :( The progress bar is updated only
> after all the jobs has finished. I try also with a loop "from .. until..
> loop .. end", but the same. The progress bar is updated only after the
> loop has finished. Then I try calling an agent in each item in an array,
> but same result.
>
> Any advice about what I'm doing wrong? Or how solve this?
I'm not an IUP expert but I have been studying Gtk over the years.
Gtk has its own loop underneath.
Where you update the progress bar? If your sequencer jobs are "buried"
into a callback you may have the sequencer "fight" the loop of UIP.
I'm sorry I cannot be more precise without seeing the actual code.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]