Synthesizing a GdkEvent



Hi,

Is there a way to synthesize a GdkEvent? I would only need the position of
the mouse pointer (if possible, relative to a given GdkWindow) and the
current X timestamp.
What does gdk_event_get return? I tried to use it from the handler of a
pop-up menu, but somehow the X and Y fields don't seem right.

Thanks,
	Cactus

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Ha paranoiásokkal akarsz megismerkedni, kezdd el követni ôket.





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