comp.lang.ada
 help / color / mirror / Atom feed
From: Stefan Skoglund <stetson@ebox.tninet.se>
Subject: Re: GtkAda or Ada or a binding?  Keys
Date: Sat, 29 Sep 2001 00:41:48 +0200
Date: 2001-09-28T22:37:00+00:00	[thread overview]
Message-ID: <3BB4FCAC.BB116704@ebox.tninet.se> (raw)
In-Reply-To: 0onr7.9325$Ck.1581110@news6-win.server.ntlworld.com

"chris.danx" wrote:
> spreadsheet or something).  I need a way to check if there are any key
> presses pending, if there are then I need to get them and do the appropriate
> action.

1. You should pick up some gtk+ book for example dev. linux apps with
gtk+ and gdk.

   What i'm saying is straight from the book.

2. you must create event handlers for key_press_event and
key_release_event.
   remember that gtk+ by default doesnt emits key_release_event's . read
up
   on gtk_widget_set_events

  hmm, i missunderstand you a little , that i said is mostly for games
ie run
 along a path while blasting any poor enemies.


3. creating handlers for key_press_release will be enough.



  parent reply	other threads:[~2001-09-28 22:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-23 15:36 GtkAda or Ada or a binding? Keys chris.danx
2001-09-24  7:26 ` Jacob Sparre Andersen
2001-09-24 13:43   ` Ted Dennison
2001-09-24  9:23 ` Emmanuel Briot
2001-09-24 20:14 ` David Botton
2001-09-24 20:27   ` Preben Randhol
2001-09-25 18:41     ` David Botton
     [not found]     ` <00af01c145f1$a9cd8d60$0100a8c0@DBINSPIRON>
2001-09-25 20:10       ` David Botton
2001-09-24 20:51   ` chris.danx
2001-09-28 22:43     ` Stefan Skoglund
2001-09-29 11:39       ` Aidan Skinner
2001-09-25 18:09   ` tmoran
2001-09-25 19:48   ` chris.danx
2001-09-25 20:09     ` David Botton
2001-09-25 20:59       ` chris.danx
2001-09-26 17:23       ` Sergey Koshcheyev
2001-09-25  4:48 ` Bobby D. Bryant
2001-09-28 22:32 ` Stefan Skoglund
2001-09-28 22:41 ` Stefan Skoglund [this message]
2001-09-28 22:45 ` Stefan Skoglund
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox