From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:1190:: with SMTP id d16mr4379131qtj.391.1631791117491; Thu, 16 Sep 2021 04:18:37 -0700 (PDT) X-Received: by 2002:a25:7e46:: with SMTP id z67mr6132905ybc.166.1631791117356; Thu, 16 Sep 2021 04:18:37 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 16 Sep 2021 04:18:37 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=94.31.101.123; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.101.123 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: GtkAda and timeout From: AdaMagica Injection-Date: Thu, 16 Sep 2021 11:18:37 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62753 List-Id: Example: a ticket automaton When a ticket is selected (button press), the user has to insert coins (button press). If no coins are inserted within a certain time, the ticket selection is aborted. Thus, I need a timeout that starts each time a button is pressed. I'm struggling with the GtkAda RM and UG - no help. Also testgtk is no real help. Christoph