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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9451537593407b7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-28 15:31:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail From: Stefan Skoglund Newsgroups: comp.lang.ada Subject: Re: GtkAda or Ada or a binding? Keys Date: Sat, 29 Sep 2001 00:32:03 +0200 Organization: Telenordia Message-ID: <3BB4FA63.FACDBB82@ebox.tninet.se> References: <0onr7.9325$Ck.1581110@news6-win.server.ntlworld.com> NNTP-Posting-Host: du169-153.ppp.algonet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: cubacola.tninet.se 1001716040 4949 195.100.153.169 (28 Sep 2001 22:27:20 GMT) X-Complaints-To: abuse@algo.net NNTP-Posting-Date: 28 Sep 2001 22:27:20 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: sv,en,en-US Xref: archiver1.google.com comp.lang.ada:13497 Date: 2001-09-28T22:27:20+00:00 List-Id: "chris.danx" wrote: > Does GtkAda have any support for getting key presses from the user? The > problem I've got is to use GtkAda to make Tetris like game (in order to Most books about Gtk+ has some treaties on game programming. Including Harlow's prgramming linux with gtk+ or something like that. > improve my understanding of GtkAda. What? It's less boring than making a > spreadsheet or something). I need a way to check if there are any key You need to pick up the key down and key up events. You must also deal with enter notify.