Groups | Search | Server Info | Login | Register


Groups > comp.lang.ada > #49536

Re: GtkAda and timeout

From "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Newsgroups comp.lang.ada
Subject Re: GtkAda and timeout
Date 2021-09-16 20:17 +0200
Organization Aioe.org NNTP Server
Message-ID <si01on$1ud0$1@gioia.aioe.org> (permalink)
References <b58495a7-5134-4b51-962f-d197d4cdaa2dn@googlegroups.com> <shvfet$hl1$1@gioia.aioe.org> <a7b21594-91bb-4137-b3ea-f9f14fe62cb8n@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.ada | Previous | NextPrevious in thread | Find similar


Thread

GtkAda and timeout AdaMagica <christ-usch.grein@t-online.de> - 2021-09-16 04:18 -0700
  Re: GtkAda and timeout "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-16 15:05 +0200
    Re: GtkAda and timeout AdaMagica <christ-usch.grein@t-online.de> - 2021-09-16 11:07 -0700
      Re: GtkAda and timeout "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-09-16 20:17 +0200

csiph-web