Index: [thread] [date] [subject] [author]
  From: BERNARD Sebastien <sebastien.bernard@cegetel.fr>
  To  : 'Developement GGI' <ggi-develop@eskimo.com>
  Date: Mon, 10 May 1999 11:15:33 +0200

Troubles with ggiSetEvent

I was playing with input events last night. The aims was easy, wait for a
keypress.

This is completed with then following code :
	ggiEventRead(vis,&MyEv,emKeyPress);
Then I wanted to do the opposite, wait for a key release then I did :
	ggiEventRead(vis,&MyEventKeyRelease);

This does not work reliabily. I was using the X target.
For times it does the expected thing, sometimes the program exited
immediately, I had to press 4 or 5 times the keyboard.

Could someone explain this to me ?

Next, why should one call the ggixxxx Event function while the giixxx Event
exists and accepts a visual.
Instead or using giiEventRead, one has to use ggiEventRead which has the
only purpose to call giiEventRead with the
same parameters and the visual set to vis-input (could one still talk about
visual in the gii case ?).
Will it be doable to use indiferently a visual ggi instead of a visual gii
with the exepected behaviour ?

	Seb

Index: [thread] [date] [subject] [author]