From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: GtkAda and timeout
Date: Thu, 16 Sep 2021 20:17:59 +0200 [thread overview]
Message-ID: <si01on$1ud0$1@gioia.aioe.org> (raw)
In-Reply-To: a7b21594-91bb-4137-b3ea-f9f14fe62cb8n@googlegroups.com
On 2021-09-16 20:07, AdaMagica wrote:
> Dmitry A. Kazakov schrieb am Donnerstag, 16. September 2021 um 15:05:36 UTC+2:
>> 2. A timer queued to the GTK loop.
>> For the option #2 see GLib.Main, the function Timeout_Add and generic
>> package Generic_Sources queue a timer. When timer triggers you do your
>> stuff and then remove the timer.
>
> It's this second option I'm trying. Doing slight progress...
#1 is actually based on #2. It installs is a timer that periodically
checks if an Ada task requested some GTK action.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2021-09-16 18:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 11:18 GtkAda and timeout AdaMagica
2021-09-16 13:05 ` Dmitry A. Kazakov
2021-09-16 18:07 ` AdaMagica
2021-09-16 18:17 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox