Browsing into gdk event queue
- From: Mario Motta <mmotta guest net>
- To: gtk-list redhat com
- Subject: Browsing into gdk event queue
- Date: Mon, 7 Sep 1998 22:49:41 +0200
hi,
here a strange (for me) behaviour:
1. install a timeout with an interval of about 200 msec.
2. Into timeout callback function:
- use event = gdk_event_get() to get an event
- if event not null copy it with copy = gdk_event_copy (event)
- put againg the event into the queue with gdk_event_put(event);
- check if the copied event is interesting and eventually let something happen..
- free the copied event
this seems to work well but suddenly all toolitips into your program will
disappear unless you set an interval greater than waiting time of a tooltip !
There is someone that has any idea about ?
--
Mario Motta
===========
AI Research Group - Rimini
mmotta@guest.net
http://www.guest.net/homepages/mmotta/index.htm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]