[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

GDK event motion resolution



Is there a way to set the minimum interval between
GDK_EVENT_MOTION type events?

I have a system where the pointer is dragged and a window
is redrawn, this redrawn is cpu intensive so I was wondering
if there was a way to discard motion events that occure too
frequently?

I tried to use the (GdkEventMotion *)motion->time but I needed
to know the time *AFTER* my function handled the event. Is there
a way to get a GDK time value of the current time?

-- 
--
Sincerely,		    ,"-_			 \|/
-Capt. Taura M. 	    ,	O=__			--X--
.__			     ,_JNMNNEO=_		 /|\
OMNOUMmnne.		     {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 	      'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe	       '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.		   "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.		  __  7EMMMNNNNNWWWEEEEEEEOO.	  " .
NNMMMMWWWMMMWEINMMMNn		 "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
		  http://furry.ao.net/~learfox/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]